@lang('dashboard_sidebar.taxes')

@include('dashboard.components.errors') @if (session()->has('message'))

{{ session()->get('message') }}

@endif

@lang('dashboard_taxes.fast_operations')

@lang('dashboard_taxes.add_tax')

@lang('dashboard_taxes.add_tax')

@csrf

@lang('dashboard_taxes.from')

@lang('dashboard_taxes.to')

@lang('dashboard_sidebar.taxes')

@lang('dashboard_taxes.manage_taxes')

@foreach ($taxes as $tax) @endforeach
@lang('dashboard_taxes.tax_name') @lang('dashboard_taxes.account_number') @lang('dashboard_taxes.tax_percentage') @lang('buttons.process')
{{ $tax->name }} {{$tax->account->account_number}} {{ $tax->percentage }}%

@lang('dashboard_taxes.submit_tax_return')

@lang('dashboard_taxes.submit_tax_return')

@lang('buttons.edit') @lang('dashboard_taxes.tax')

@csrf @method('PUT')
{{--

{{ $tax->percentage }}

--}}

@lang('dashboard_taxes.from')

@lang('dashboard_taxes.to')

@lang('dashboard_taxes.previous_edits')

{{-- --}} @foreach ($tax->history as $history) {{-- --}} {{-- --}} @endforeach
@lang('dashboard_taxes.date') @lang('dashboard_taxes.from_date') @lang('dashboard_taxes.to_date') @lang('dashboard_taxes.tax_name') @lang('dashboard_suppliers.Status')
{{ $history->created_at->toDateString() }} {{ $history->start_date }} {{ $history->end_date }} {{ $history->name }} @lang('dashboard_taxes.balance') @lang('dashboard_suppliers.Status')

@lang('dashboard_projects.filter')

@lang('dashboard_sidebar.taxes')

@lang('dashboard_sidebar.tax_manage')

{{-- --}} @foreach ($taxReturns as $taxReturn) {{-- --}} @endforeach
@lang('dashboard_taxes.date') @lang('dashboard_taxes.from_date') @lang('dashboard_taxes.to_date') @lang('dashboard_taxes.apply_date') @lang('dashboard_taxes.deserved_amount') @lang('dashboard_taxes.paid_amount') @lang('dashboard_taxes.balance') @lang('dashboard_suppliers.Status') @lang('dashboard_taxes.presented_or_not') @lang('buttons.process')
{{ $taxReturn->submitted_at }} {{ $taxReturn->from_date }} {{ $taxReturn->to_date }}{{ $tax->apply_date }} {{ $tax->due_price }} {{ $tax->paid_price }}{{ $taxReturn->due_price }} {{ $taxReturn->status }} @if ($taxReturn->is_presented) @lang('dashboard_taxes.presented') @else @lang('dashboard_taxes.not_presented') @endif
@endsection @section('custom_script') @endsection