← Back to sales
@if (session('error'))
{{ session('error') }}
@endif

Quick Invoice

@if ($this->tierLabel())

Priced at {{ $this->tierLabel() }} rates @if ($this->totals()['inter_state']) · inter-state (IGST) @else · intra-state (CGST + SGST) @endif

@endif
@php $priced = collect($this->lines())->keyBy(fn ($l) => $l['product']->id); @endphp @forelse ($this->products() as $product) @php $line = $priced->get($product->id); $available = $this->stockFor($product->id); @endphp $line && $line['short']])> @empty @endforelse
Product Box GST Rate In stock Qty Amount
{{ $product->name }}
{{ $product->sku }}
{{ $product->box_quantity ?: '—' }} {{ rtrim(rtrim(number_format((float) $product->gst_rate, 2), '0'), '.') }}% {{ $line ? number_format($line['unit_price'], 2) : '—' }} $line && $line['short'], 'text-gray-500 dark:text-gray-400' => ! ($line && $line['short'])])> {{ $available }} {{ $line ? number_format($line['taxable'], 2) : '—' }}
@if (! $warehouseId) Select a warehouse to see stock levels. @else No products match these filters. @endif
@if ($this->lines())

Invoice summary

@if ($this->shortages())
{{ count($this->shortages()) }} line(s) exceed available stock and are highlighted above.
@endif @php $totals = $this->totals(); @endphp
@if ($totals['inter_state']) @else @endif @foreach ($totals['buckets'] as $bucket) @if ($totals['inter_state']) @else @endif @endforeach
GST rate Taxable valueIGSTCGST SGST
{{ rtrim(rtrim(number_format($bucket['rate'], 2), '0'), '.') }}% {{ number_format($bucket['taxable'], 2) }}{{ number_format($bucket['igst'], 2) }}{{ number_format($bucket['cgst'], 2) }} {{ number_format($bucket['sgst'], 2) }}
Total quantity
{{ $totals['quantity'] }} PCS
Taxable value
{{ number_format($totals['taxable'], 2) }}
@if ($totals['inter_state'])
IGST
{{ number_format($totals['igst'], 2) }}
@else
CGST
{{ number_format($totals['cgst'], 2) }}
SGST
{{ number_format($totals['sgst'], 2) }}
@endif
Round off
{{ number_format($totals['round_off'], 2) }}
Grand total
₹{{ number_format($totals['total'], 2) }}
@endif