@include('Partials.sidebar')
@include('Partials.header')

Invoice Settings

Company details, tax configuration, fees and invoice numbering for worldwide use

  1. Invoice Settings
@foreach(['success','error'] as $t) @if(session($t))
{{ session($t) }}
@endif @endforeach
@csrf
{{-- ── Company Details ── --}}
Company / Seller Details
{{-- ══ Logo Upload — rich design with drag-and-drop + live preview ══ --}}
{{-- Drop Zone --}}
{{-- Live / existing preview --}} {{-- Empty-state placeholder --}}
Click or drag & drop your logo
PNG · JPG · SVG · WEBP  ·  Max 2 MB
{{-- Hover overlay (shows when image is loaded) --}} {{-- Remove ✕ button --}}
{{-- Hidden inputs --}} {{-- Status bar below the drop zone --}}
Recommended: transparent PNG, min 200 × 60 px {{ $s->company_logo ? 'Saved ✓' : '' }}
{{-- ══ End Logo Upload ══ --}}
{{-- ── Tax + Invoice Numbering ── --}}
{{-- Tax System --}}
Tax System
Enable Tax on Invoices
GST, VAT, Sales Tax, IVA — whatever applies in your country
tax_enabled ? 'checked' : '' }}>
tax_inclusive ? 'checked' : '' }}>
{{-- Invoice Numbering --}}
Invoice Numbering
Tokens: {PREFIX} {YEAR} {MONTH} {SEQ}
Preview:
{{-- ── Additional Fees ── --}}
Additional Fees
@foreach([ ['processing_fee', 'Processing Fee', '#3b82f6'], ['stamp_duty', 'Stamp Duty', '#ef4444'], ['registration_fee', 'Registration Fee', '#f59e0b'], ['maintenance_charge', 'Maintenance Charge', '#22c55e'], ['custom_fee1', 'Custom Fee 1', '#8b5cf6'], ['custom_fee2', 'Custom Fee 2', '#64748b'], ] as [$key, $defaultLabel, $color]) @php $enabled = $s->{$key.'_enabled'} ?? false; $label = old($key.'_label', $s->{$key.'_label'} ?? $defaultLabel); $rate = old($key.'_rate', $s->{$key.'_rate'} ?? 0); $fixed = old($key.'_fixed', $s->{$key.'_fixed'} ?? 0); @endphp
{{ $defaultLabel }}
Fixed overrides %
@endforeach
{{-- ── Currency ── --}}
Currency (Invoice Display)
These are pulled from your Global Settings automatically. Only override here if your invoices use a different currency.
{{-- ── Email & Document ── --}}
Email Automation
Send on Booking Confirmed
Auto-email invoice when booking confirmed
send_on_booking_confirmed ? 'checked' : '' }}>
Send on Milestone Paid
Auto-email receipt each time a milestone is paid
send_on_milestone_paid ? 'checked' : '' }}>
Tokens: {INVOICE_NUMBER} {UNIT} {APP_NAME}
Tokens: {INVOICE_NUMBER} {MILESTONE_LABEL} {APP_NAME}
Document Content
@include('Partials.footer')