@include('includes.sidebar')
| Kode SO |
Tgl. SO |
Merchant |
Discount |
Total |
Status |
Tgl. Pembuatan |
|
@foreach($sales_order as $idx => $item)
| {{ $item->so_code }} |
{{ strftime('%d %b %Y', strtotime($item->so_date)) }} |
{{ @$item->merchant_so->name }} |
{{ number_format($item->discount) }} |
{{ number_format($item->total) }} |
{{ $so_status[$item->status] }} |
{{ strftime('%d %b %Y %H:%M', strtotime($item->created_at)) }} |
@if($item->status == 0 && $item->total > 0 && $can_send_so_to_finance && count($item->so_invoice)>0) @endif
@if($item->status == 1 && !empty($item->id_campaign)) @endif
@if($item->status == 1 && empty($item->id_campaign)) @endif
@if($item->status == 2 && !empty($item->id_campaign)) @endif
|
@endforeach
| {{ $sales_order->links() }} |
@include('includes.footer')