@extends('layouts.master') @section('title', 'Link Receipt to Invoice - Quanta') @section('content')

Link Receipt to Invoice

Back to Receipts
@if($errors->any())
@endif
Receipt Details
Receipt Total

{{ number_format($receipt->total_amount, 2) }}


Receipt Number: {{ $receipt->receipt_number }}
Customer Name: {{ $receipt->customer->account_name ?? $receipt->walk_in_customer_name ?? '-' }}
Receipt Date: {{ $receipt->receipt_date ? $receipt->receipt_date->format('Y-m-d') : '-' }}
Reference: {{ $receipt->reference ?? '-' }}
Description: {{ $receipt->description ?? '-' }}
Select Target Invoice
@csrf
Linking this receipt will allocate the amount to the outstanding balance of the selected invoice.
Allocation Breakdown
Receipt Amount
{{ number_format($receipt->total_amount, 2) }}
Invoice Outstanding
0.00
New Outstanding
0.00
@endsection @section('styles') @endsection @section('scripts') @endsection