@extends('layouts.admin') @php $currencySymbol = App\Models\AppSetting::getValue('currency_symbol', '?'); @endphp @section('title', 'Tax & Charges Settings') @section('content')
Add New Tax/Charge
@csrf
GST and delivery tax are percentage-based.
Active Taxes & Charges
{{ $taxes->count() }} Total
@forelse($taxes as $tax) @empty @endforelse
Name Type Rate / Amount Description Status Actions
{{ $tax->name }} @if($tax->type == 'gst') GST @elseif($tax->type == 'service_charge') Service Charge @elseif($tax->type == 'packaging_charge') Packaging @else Delivery Tax @endif @if(($tax->calculation_type ?? 'percentage') === 'fixed') {{ $currencySymbol }}{{ number_format((float) $tax->rate, App\Models\AppSetting::currencyDecimals()) }} @else {{ rtrim(rtrim($tax->rate, '0'), '.') }}% @endif {{ Str::limit($tax->description, 30) ?? '-' }}
@csrf @method('PUT')
@csrf @method('DELETE')
No Taxes Configured

Add your first tax using the form.

Tax Calculation Preview
{{ $currencySymbol }}0

@endsection