@extends('layouts.app') @section('content')
@csrf

{{ __('VAT & Tax Configuration') }}

@foreach ($types as $type) @endforeach
@php use App\Enums\DeductionType; $deductions = DeductionType::cases(); @endphp @foreach ($deductions as $deduction) @endforeach
@hasPermission('admin.vatTax.order.update')
@endhasPermission

{{ __('All Taxes') }}

@hasPermission('admin.vatTax.create') @endhasPermission
@hasPermission('admin.vatTax.toggle') @endhasPermission @forelse($vatTaxes as $key => $vatTax) @php $serial = $vatTaxes->firstItem() + $key; @endphp @hasPermission('admin.vatTax.toggle') @endhasPermission @empty @endforelse
{{ __('SL') }} {{ __('Name') }} {{ __('Percentage') }}{{ __('Status') }}{{ __('Action') }}
{{ $serial }} {{ $vatTax->name }} {{ $vatTax->percentage }}%
@hasPermission('admin.vatTax.edit') @endhasPermission @if ($vatTax->products?->isEmpty()) @hasPermission('admin.vatTax.destroy') @endhasPermission @endif
{{ __('No Data Found') }}
{{ $vatTaxes->withQueryString()->links() }}
@csrf
@csrf @method('PUT')
@endsection @push('scripts') @endpush