@extends('template.app') @section('meta') @endsection @section('title') Liqudation Process Form @endsection @section('styles') @endsection @section('content')
@csrf @method('POST') @php $net_customer_payable_amount = 0; foreach ($cash_receipt_data as $val) { if (in_array($val->receipt_type, ['booking_receipt','downpayment_receipt','access_sort_receipt','other_receipt'])) { $net_customer_payable_amount += $val->amount; } } $net_bank_payable_amount = 0; foreach ($cash_receipt_data as $val) { if (in_array($val->receipt_type, ['disbusment_receipt'])) { $net_bank_payable_amount += $val->amount; } } @endphp

Receipt Details

@foreach($cash_receipt_data as $key => $val) @endforeach
No. Receipt Type Payment Type Transaction No. Amount
{{ $key+1 }} {{ ucwords(str_replace('_',' ',$val->receipt_type)) }} {{ ucwords(str_replace('_',' ',$val->payment_type)) }} {{ $val->transaction_no }} {{ $val->amount }}
Total {{ $net_customer_payable_amount + $net_bank_payable_amount }}

Customer Refund Payment

( Net Payable Amount: {{ number_format($net_customer_payable_amount, 0) }} )

Finance (Bank) Refund Payment

( Net Payable Amount: {{ number_format($net_bank_payable_amount, 0) }} )

Back
@endsection @section('scripts') @endsection