@include('admin.customer.report.report-partial')
Cash Out
| # |
Description |
Cash Out Type |
Amount |
Date |
@foreach($cashouts as $cashout)
| {{++$index}} |
{{ $cashout->description }} |
{{ $cashout->cash_out_type }} |
{{ $cashout->amount }} |
{{ formatYmd($cashout->created_at) }} |
@endforeach
Extension
| # |
userName |
Origin Expiration |
New Expiration |
Extension |
Ext Type |
Paid Status |
Paid At |
@foreach($extensions as $extension)
@if ($extension->payment_ext == 'true') @continue @endif
| {{++$index1}} |
{{ $extension->username }} |
{{ $extension->old_expiration != null ? formatYmd($extension->old_expiration) : '-'}} |
{{ $extension->new_expiration != null ? formatYmd($extension->new_expiration) : '-'}} |
{{ $extension->extension }} |
|
{{ $extension->paid_status }} |
{{ $extension->paid_status == 'paid' ? formatYmd($extension->updated_at) : '----' }} |
@endforeach
Payment Extension
| # |
userName |
Origin Expiration |
New Expiration |
Extension |
Ext Type |
Paid Status |
Paid At |
@foreach($extensions as $extension)
@if ($extension->payment_ext == 'false') @continue @endif
| {{++$index2}} |
{{ $extension->username }} |
{{ formatYmd($extension->old_expiration) }} |
{{ formatYmd($extension->new_expiration) }} |
{{ $extension->extension }} |
|
{{ $extension->paid_status }} |
{{ $extension->paid_status == 'paid' ? formatYmd($extension->updated_at) : '----' }} |
@endforeach
Payments
| # |
userName |
Receipt No |
Price |
Expiration |
Paid At |
Remark |
Comment |
@foreach($invoices as $inv)
| {{ ++$index3 }} |
{{ $inv->username }} |
{{ $inv->receipt_no }} |
{{ number_format($inv->price) }} |
{{ formatYmd($inv->expiration) }} |
{{ formatYmd($inv->paid) }} |
{{ $inv->remark }} |
{{ $inv->comment }} |
@endforeach
All Payments
| # |
User Name |
Old Expiration |
Ext Date |
Ext |
Free Ext |
Ext Expiry |
Quantity |
New Expiration |
Paid At |
Status |
Action |
@foreach($allpayments as $p)
| {{ ++$index3 }} |
{{ $p->username }} |
{{ $p->old_expiration != null ? formatYmd($p->old_expiration) : '-'}} |
{{ $p->ext_date != null ? formatYmd($p->ext_date) : '-'}} |
{{ $p->extension }}
@if(count($p->extensions) > 1)
Show List
@endif
|
{{ $p->free_extension }} |
{{ $p->ext_expiry_date != null ? formatYmd($p->ext_expiry_date) : '-'}} |
{{ $p->quantity }} |
{{ $p->new_expiration != null ? formatYmd($p->new_expiration) : '-'}} |
{{ $p->paid_date != null ? formatYmd($p->paid_date) : '-'}} |
{{ $p->paid_status }} |
@if(\Auth::check() && \Auth::user()->role && \Auth::user()->role->roleName->role == 'admin')
@if($p->paid_status == 'unpaid' && $p->ext_date != null)
@endif
@if($p->paid_status == 'paid' && $p->isadmin == 1)
@endif
@endif
|
@endforeach