{{ isset($data) ? 'Edit Sales Invoice' : 'Create Sales Invoice' }}

is_packing) ? ($data->is_packing == 1 ? 'checked' : '') : 'checked' }}>

{{-- ================= DETAIL ITEMS ================= --}}
@if (!empty($details)) @foreach ($details as $item) @endforeach @else {{-- DEFAULT EMPTY ROW --}} @endif
Product Qty Price Discount Tax Subtotal
{{ $item->product_code }} - {{ $item->product_name }} {{ $item->qty }} {{ $item->price }} {{ $item->discount }} {{ $item->tax_amount }} {{ $item->subtotal }} @if($item->flag_cancel == '1') Dibatalkan oleh Driver, Saat Kirim @else @endif
Grand Total: {{ isset($data->subtotal) ? $data->subtotal : 0 }}
@include('web.general_ledger.list_general_ledger')
@if (isset($id)) @if ($data->status == 'DRAFT')   @endif @endif @if (!isset($id)) @endif