@extends('layouts.app') @section('content') @include('business_documents.styles')
{{ session('success') }}
@endif @if($errors->any()){{ $errors->first() }}
@endif| Date | Ref. | Customer | Purpose | Received | Applied | Refunded | Available | Action |
|---|---|---|---|---|---|---|---|---|
| {{ $advance->received_at->format('d M Y H:i') }} | {{ $advance->reference }} | {{ $advance->customer?->name }} {{ $advance->customer?->phone }} | {{ $advance->purpose }} | {{ \App\Models\SystemSetting::formatMoney($advance->amount) }} {{ $advance->paymentMethod?->name }} | {{ \App\Models\SystemSetting::formatMoney($advance->used_amount) }} | {{ \App\Models\SystemSetting::formatMoney($advance->refunded_amount) }} | {{ \App\Models\SystemSetting::formatMoney($advance->remaining()) }} | Receipt / History@if($advance->remaining()>0)@endif |
| No advance payments recorded. | ||||||||