Invoice List
Filter
Batch List
| ID | Created At | Approval Date | Last Sent Date | Batch Number | Merchant | Total Nominal | Sent Status | Print Invoice | ||
|---|---|---|---|---|---|---|---|---|---|---|
| {{ $list->id }} | @php $total = App\Models\Partner_voucher_merchant_transaction_detail_model::where('transaction_id', $list->id)->get(); $is_sent_all = App\Models\Partner_voucher_merchant_transaction_detail_model::where('transaction_id', $list->id) ->where('status', '!=', (App\Models\Partner_voucher_merchant_transaction_detail_model::STATUS['3']['TEXT'])) ->get(); $count_not_sent = count($is_sent_all); $count_total = count($total); $sent = $count_total - $count_not_sent; @endphp @if($sent < $count_total) @else @endif | {{ $list->first_created_at }} | {{ $list->approval_date }} | {{ $list->last_sent_at }} | {{ $list->po_number }} | {{ $list->sponsor->name }} | @if($list->campaign->grand_total > 0)Rp. {{ number_format($list->campaign->grand_total, 2) }} | {{-- @else @php $total_gramasi = App\Models\Campaign_voucher_model::where('id_campaign', $list->id_campaign)->sum('gram'); @endphp{{ $total_gramasi }} gram | --}} @endifTotal : {{ $sent }}/{{ $count_total }} Delivered | Preview |
| No Data | ||||||||||
{{ $search_lists->links() }}