@extends('admin.layouts.app') @section('title','Edit Invoice') @section('page_title','Edit Invoice') @section('page_subtitle',$invoice->invoice_number) @section('back_url',route('admin.invoices.index')) @section('content'){{ $invoice->invoice_number }}Update dates, payment and status.@csrf @method('PUT') @if($errors->any())Please correct the highlighted fields.@endifTotal ₹{{ number_format((float)$invoice->total,2) }}Paid ₹{{ number_format((float)$invoice->amount_paid,2) }}Balance Due ₹{{ number_format((float)$invoice->balance,2) }}Invoice Date *Due Date *Payment Type *@foreach(['Advance','Partial','Full Payment'] as $type)payment_type)===$type)>{{ $type }}@endforeachAmount Paid@error('amount_paid'){{ $message }}@enderrorInvoice Status@foreach(['Unpaid','Partial','Paid','Overdue','Cancelled'] as $s)status)===$s)>{{ $s }}@endforeachNotes{{ old('notes',$invoice->notes) }}CancelUpdate Invoice@endsection @push('scripts')@endpush @push('scripts')@endpush
Update dates, payment and status.
{{ $message }}