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 == 'requested') Requested
@elseif($cashbox->status == 'request_accepted') Request Accepted
@endif
@if($cashbox->status == 'request_accepted')
@elseif($cashbox->status == 'requested')
@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 | Created By | Received At | Received By | Cashbox Code | From | To | Status | ||
|---|---|---|---|---|---|---|---|---|---|
| {{ \Carbon\Carbon::parse($log->created_at)->format('d F Y H:i') }} | {{ $log->created_by_user->name }} | {{ $log->received_at ? : '~' }} | {{ $log->received_by_user ? $log->received_by_user->name : '~' }} | {{ $cashbox->code }} | {{ $log->store_from->nama }} | {{ $log->store_to->nama }} | @if ($loop->last){!! $cashbox->status == 'on_store' ? 'On Store' : ' Requested' !!} | @elseOn Store | @endif|
| Data not found | |||||||||