@extends('layouts.app', ['title' => $invoice->exists ? 'Edit '.$invoice->number : 'New invoice']) @section('content')

{{ $invoice->exists ? 'Edit invoice '.$invoice->number : 'New invoice' }}

@if ($errors->any())
@foreach ($errors->all() as $e)
{{ $e }}
@endforeach
@endif @if (! $account->state)
Add your business state under Settings → Business profile so GST is split correctly into CGST + SGST or IGST.
@endif
@csrf @if ($invoice->exists) @method('PUT') @endif
Bill to
@foreach (['Andhra Pradesh', 'Assam', 'Bihar', 'Chhattisgarh', 'Delhi', 'Goa', 'Gujarat', 'Haryana', 'Himachal Pradesh', 'Jammu and Kashmir', 'Jharkhand', 'Karnataka', 'Kerala', 'Madhya Pradesh', 'Maharashtra', 'Odisha', 'Punjab', 'Rajasthan', 'Tamil Nadu', 'Telangana', 'Uttar Pradesh', 'Uttarakhand', 'West Bengal', 'Chandigarh', 'Puducherry'] as $st)
Items
@if ($products->isNotEmpty()) @endif
DescriptionHSN/SACQtyRateGSTAmount
Subtotal0.00
CGST + SGST0.00
IGST0.00

Total0.00
Your state: {{ $account->state ?: 'not set' }}. Final amounts are worked out again when you save.
@endsection @push('scripts') @endpush