@if ($message = Session::get('success'))
@endif
@can('peminjaman-create')
Buat Order Baru
@endcan
| No |
Status |
Tanggal Order |
Sales |
No Order |
Nama Customer |
Telp Customer |
Nominal |
Tgl Kembali |
Aksi |
@forelse ($dt['order'] as $p)
| {{ $loop->iteration }} |
{{ $p->status }}
|
{{ date('d-M-y', strtotime($p->tgl)) }} |
{{ $p->sales }} |
{{ $p->no_order }} |
{{ $p->customer->nama }} |
{{ $p->customer->telp }} |
{{ number_format($p->nominal, 0, ',', '.') }} |
{{ date('d-M-y', strtotime($p->tgl_dikembalikan)) }}
|
@if ($p->status == 'New')
@endif
@if ($p->status == 'On Going')
@endif
|
@empty
| Data order rental belum ada |
@endforelse