Receipt No. |
Project |
Unit No. |
Payment Method |
Received Amount |
Date |
Action |
@foreach ($receipts as $receipt)
{{ $receipt->receipt_no }} |
{{ $receipt->multiProject ? $receipt->multiProject->name : 'None' }} |
{{ $receipt->property ? ($receipt->property->inventory ? $receipt->property->inventory->unit_number : '') : '' }}
|
@if ($receipt->payment_method == \App\Receipt::cash)
Cash |
@elseif($receipt->payment_method == \App\Receipt::bank)
Bank |
@elseif($receipt->payment_method == \App\Receipt::adjustment)
Adjustment |
@elseif($receipt->payment_method == \App\Receipt::cheque)
Cheque |
@elseif($receipt->payment_method == \App\Receipt::merging)
Merging |
@else
|
@endif
@if ($receipt->tax_paid_by == \App\Receipt::company)
{{ number_format($receipt->amount + $receipt->tax_amount) }} PKR |
@else
{{ number_format($receipt->amount) }} PKR |
@endif
{{ date('d-m-Y', strtotime($receipt->receipt_date)) }} |
View
Edit
Approve
{{-- @if ($receipt->payment_method == \App\Receipt::cheque)
Cancel
@endif --}}
Delete
|
@endforeach
@if ($projectType->id == \App\ProjectType::society)
Receipt No. |
Project |
Unit No. |
Payment Method |
Received Amount |
Date |
Action |
@foreach ($openfile_receipts as $open_filereceipt)
{{ $open_filereceipt->receipt_no }} |
{{ $open_filereceipt->multiProject ? $open_filereceipt->multiProject->name : 'None' }} |
{{ $open_filereceipt->openFileDealerInfo ? ($open_filereceipt->openFileDealerInfo->inventory ? $open_filereceipt->openFileDealerInfo->inventory->unit_number : '') : '' }}
|
@if ($open_filereceipt->payment_method == \App\Receipt::cash)
Cash |
@elseif($open_filereceipt->payment_method == \App\Receipt::bank)
Bank |
@elseif($open_filereceipt->payment_method == \App\Receipt::adjustment)
Adjustment |
@elseif($open_filereceipt->payment_method == \App\Receipt::cheque)
Cheque |
@elseif($open_filereceipt->payment_method == \App\Receipt::merging)
Merging |
@else
|
@endif
@if ($open_filereceipt->tax_paid_by == \App\Receipt::company)
{{ number_format($open_filereceipt->amount + $open_filereceipt->tax_amount) }} PKR |
@else
{{ number_format($open_filereceipt->amount) }} PKR |
@endif
{{ date('d-m-Y', strtotime($open_filereceipt->receipt_date)) }} |
@if ($view_receipt)
View
@endif
@if ($edit_receipt)
Edit
@endif
@if ($edit_receipt)
Approve
@endif
@if ($delete_receipt)
Delete
@endif
|
@endforeach
@endif