@extends('template.app') @section('meta') @endsection @section('title') Payment Details @endsection @section('styles') @endsection @section('content')
@if(isset($pending_payment_data['payment_status']) && $pending_payment_data['payment_status'] == 1)
@csrf @method('POST')

Payment Detail


@php $net_receivable_amt = $pending_payment_data['on_road_price'] - $pending_payment_data['finance_discount']; @endphp @php $ttl_rcd_amt = ($pending_payment_data['trade_car_value'] ?? 0) + ($pending_payment_data['cash_receipt_amount'] ?? 0); @endphp
Detail AMOUNT(Rs)
On Road Price (A) {{ isset($pending_payment_data['on_road_price']) ? $pending_payment_data['on_road_price'] : '' }}
Total On Road Discount (B) {{ isset($pending_payment_data['finance_discount']) ? $pending_payment_data['finance_discount'] : '' }}
Net Receivable Amount (A - B = C){{ $net_receivable_amt }}
Trade Car Value {{ isset($pending_payment_data['trade_car_value']) ? $pending_payment_data['trade_car_value'] : '' }}
Total Receipt Amount {{ isset($pending_payment_data['cash_receipt_amount']) ? $pending_payment_data['cash_receipt_amount'] : '' }}
Total Received Amount (D){{ $ttl_rcd_amt }}
Due Amt (+) / Refundable Amt (-) {{ isset($pending_payment_data['pending_payment']) ? $pending_payment_data['pending_payment'] : '' }}
Back
@else
@csrf @method('POST')
Location Customer Name KEC Name Team Name
{{ $obfRecords->branch_name ?? '-' }} {{ $obfRecords->customer_name ?? '-' }} {{ $obfRecords->kec_name ?? '-' }} {{ $obfRecords->team_name ?? '-' }}

Payment Pending Detail


@php $net_receivable_amt = ($pending_payment_data['on_road_price'] ?? 0) - ($pending_payment_data['finance_discount'] ?? 0); @endphp @php $ttl_rcd_amt = ($pending_payment_data['trade_car_value'] ?? 0) + ($pending_payment_data['cash_receipt_amount'] ?? 0); @endphp
Detail AMOUNT(Rs)
On Road Price (A) {{ (is_array($pending_payment_data) && isset($pending_payment_data['on_road_price'])) ? $pending_payment_data['on_road_price'] : '' }}
Total On Road Discount (B) {{ (is_array($pending_payment_data) && isset($pending_payment_data['finance_discount'])) ? $pending_payment_data['finance_discount'] : '' }}
Net Receivable Amount (A - B = C){{ $net_receivable_amt }}
Trade Car Value {{ isset($pending_payment_data['trade_car_value']) ? $pending_payment_data['trade_car_value'] : '' }}
Total Receipt Amount {{ isset($pending_payment_data['cash_receipt_amount']) ? $pending_payment_data['cash_receipt_amount'] : '' }}
Total Received Amount (D){{ $ttl_rcd_amt }}
Due Amt (+) / Refundable Amt (-) {{ isset($pending_payment_data['pending_payment']) ? $pending_payment_data['pending_payment'] : '' }}
@php $from_amt = auth()->user()->roles[0]['from_amt']; $to_amt = auth()->user()->roles[0]['to_amt']; @endphp
Back @if(($pending_payment_data['pending_payment'] ?? 0) <= $to_amt) @endif
@endif
@endsection @section('scripts') @endsection