Detail Cashbox List
ID
: {{ $cashbox->id }}
Store
: {{ $cashbox->store->nama }}
Code
: {{ $cashbox->code }} ({{ $cashbox->detail->count() }} item)
Status
: @if($cashbox->status == 'on_store') On Store @elseif($cashbox->status == 'sending') Sending @endif
@if($cashbox->status == 'on_store' && $cashbox->id_toko == auth()->user()->id_toko)
@else
@endif
Detail Item
| No | Code | Name | Handphone | Disburse | Approve By | Approve At | # | ||
|---|---|---|---|---|---|---|---|---|---|
| {{ $no }} | {{ $buy_item->code }} | {{ $buy_item->name }} | {{ $buy_item->handphone }} | {{ number_format($buy_item->disburse) }} | {{ $buy_item->approved_user ? $buy_item->approved_user->name : '~' }} | {{ \Carbon\Carbon::parse($buy_item->approved_at)->format('d F Y H:i') }} | |||
| Data not found | |||||||||
{!! Session::get("success") !!}
@endif
@if (Session::has('oops'))
{!! Session::get("oops") !!}
@endif
Cashbox Moving Log
| Created At | Cashbox Code | From | To | Status | |||||
|---|---|---|---|---|---|---|---|---|---|
| {{ \Carbon\Carbon::parse($log->created_at)->format('d F Y H:i') }} | {{ $cashbox->code }} | {{ $log->store_from->nama }} | {{ $log->store_to->nama }} | @if ($loop->last){!! $cashbox->status == 'on_store' ? 'On Store' : ' Sending' !!} | @elseOn Store | @endif||||
| Data not found | |||||||||