@php $isEdit = isset($tax) && $tax->exists; $tenant_id = session('tenant_id'); @endphp
@csrf @if($isEdit) @method('PATCH') @endif @if($show_tenant_dropdown ?? false)
@error('tenant_id')
{{ $message }}
@enderror
@else @endif
@error('title')
{{ $message }}
@enderror
Enter a descriptive title for the tax (max 120 characters)
@error('tax_type')
{{ $message }}
@enderror
Choose whether the tax is a percentage or fixed amount
@if(old('tax_type', $isEdit ? $tax->tax_type : '') == 'Percentage' || !$isEdit) % @else $ @endif
@error('tax_rate')
{{ $message }}
@enderror
@if(old('tax_type', $isEdit ? $tax->tax_type : '') == 'Percentage') Enter percentage (0-100) @else Enter fixed amount @endif
@error('service_id')
{{ $message }}
@enderror
Leave empty to apply to all services, or select a specific service
@error('sort_order')
{{ $message }}
@enderror
Lower numbers appear first in lists
is_active : true) ? 'checked' : '' }}>
Active taxes are available for use in calculations
Cancel
@push('page_script') @endpush