Pick the items you need and say roughly what you want to spend. Quantities are allocated in full boxes and stay editable before anything is saved.
abs($totals['variance_pct']) <= 2, 'text-amber-600 dark:text-amber-400' => abs($totals['variance_pct']) > 2, ])> {{ $totals['variance'] >= 0 ? '+' : '−' }}₹{{ number_format(abs($totals['variance']), 2) }} ({{ number_format(abs($totals['variance_pct']), 2) }}%) against target
@endif| Product | Box | GST | Rate | Boxes | Quantity | Value | |
|---|---|---|---|---|---|---|---|
|
{{ $line['name'] }}
{{ $line['sku'] }}
|
{{ $line['box_quantity'] ?: '—' }} | {{ rtrim(rtrim(number_format($line['gst_rate'], 2), '0'), '.') }}% | {{ number_format($line['rate'], 2) }} | $line['whole_boxes'], 'text-amber-600 dark:text-amber-400 font-medium' => ! $line['whole_boxes'], ]) title="{{ $line['whole_boxes'] ? '' : 'Not a whole number of boxes' }}"> {{ $line['whole_boxes'] ? (int) $line['boxes'] : number_format($line['boxes'], 2) }} |
|
{{ number_format($line['inclusive_total'], 2) }} |
Saves the purchase order and downloads the sheet. You can edit it afterwards.