{{-- SO Summary --}}
SO No SO Date SO Amount Advance Received Remaining
{{ strtoupper($saleOrder->so_no) }} {{ CommonHelper::changeDateFormat($saleOrder->so_date) }} {{ number_format($totalAmount, 2) }} {{ number_format($receivedAmount, 2) }} {{ number_format($remainingAmount, 2) }}
{{-- Previous Payments --}} @if(count($previousPayments) > 0)
@foreach($previousPayments as $p) @endforeach
Previous Advance Receivings
S.No RV No Date Amount
{{ $counter++ }} {{ strtoupper($p->rv_no) }} {{ CommonHelper::changeDateFormat($p->rv_date) }} {{ number_format($p->advance_amount, 2) }}
@endif {{-- Payment Fields --}}