| {{ __('Invoice') }} @if($sortColumn === 'no') @else @endif | {{ __('Tanggal') }} @if($sortColumn === 'created_at') @else @endif | {{ __('Jam') }} | {{ __('User') }} @if($sortColumn === 'users_name') @else @endif | {{ __('Staff') }} @if($sortColumn === 'sales_name') @else @endif | {{ __('Qty') }} | {{ __('Item Name') }} @if($sortColumn === 'item_name') @else @endif | {{ __('Item Code') }} @if($sortColumn === 'item_code') @else @endif | {{ __('Item Barcode') }} @if($sortColumn === 'item_barcode') @else @endif | {{ __('Brand') }} @if($sortColumn === 'item_brand') @else @endif | {{ __('Supplier') }} @if($sortColumn === 'item_supp') @else @endif | {{ __('Price') }} @if($sortColumn === 'price') @else @endif | {{ __('Total Price') }} | {{ __('Cost') }} @if($sortColumn === 'cost') @else @endif | {{ __('Margin') }} @if($sortColumn === 'margin') @else @endif |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $invoice->no }} | {{ \Carbon\Carbon::parse($invoice->created_at)->format('d/m/y') }} | {{ \Carbon\Carbon::parse($invoice->created_at)->format('H:i') }} | {{ $invoice->users_name }} | {{ $invoice->sales_name }} | {{ $invoice->total_qty }} | {{ $invoice->item_name }} | {{ $invoice->item_code }} | {{ $invoice->item_barcode }} | {{ $invoice->item_brand ? $invoice->item_brand : '-' }} | {{ $invoice->item_supp ? $invoice->item_supp : '-' }} | Rp. {{ number_format($invoice->price, 0, ',', '.') }} | Rp. {{ number_format($invoice->price * $invoice->total_qty, 0, ',', '.') }} | Rp. {{ number_format($invoice->cost, 0, ',', '.') }} | Rp. {{ number_format($invoice->margin, 0, ',', '.') }} |
| No records found | ||||||||||||||