|
@can('money-receipt-destroy')
@if ($index == 0)
@elseif(auth()->user()->id == 1)
@endif
@endcan
@if (checkSettings('print-invoice') == 'enable')
@if (checkSettings('only-last-invoice-print') == 'enable')
@if (auth()->user()->hasRole('Admin'))
@elseif (auth()->user()->hasPermissionTo('print-invoice'))
@if ($index == 0)
@endif
@endif
@else
@endif
@endif
Id: {{ $p->id }}
|
Date:
{{ $p->created_at ? date('d-M-Y h:i A', strtotime($p->created_at)) : '' }}
@if ($p->extend_to_date)
Extend:
{{ $p->extend_from_date ? date('d-M-Y', strtotime($p->extend_from_date)) : 'N/A' }} →
{{ date('d-M-Y', strtotime($p->extend_to_date)) }}
@endif
MR ID: {{ $p->money_receipt_number }}
DS: {{ $p->description }}
@if(isset($p->user))
@if ($p->user->name == "Bkash-Webhook")
Payment No: {{ $p->customerMsisdn ?? '' }}
@endif
@endif
|
E.By:
{{ $p->user->name ?? 'Online Payment' }} C.By:
{{ $p->employee->name ?? '' }} |
{{ $p->income->name ?? '' }} |
{{ $p->paid_amount }} |
{{ $p->discount_amount }} |
@php($index++)
@endforeach