@extends('layouts.app') @section('title','Credit & Debit Notes') @section('page_title','Credit & Debit Notes') @section('content')

Credit & Debit Notes

Customer and vendor adjustments linked to original invoices and bills.

+ Customer Credit Note+ Vendor Debit Note
@forelse($notes as $n)@php($s=$n->status instanceof \App\Enums\DocumentStatus?$n->status->value:$n->status)@empty@endforelse
NoteDateSide / TypePartyReferenceReasonTotalStatus
{{ $n->note_number }}{{ $n->note_date->format('d M Y') }}{{ ucfirst($n->side) }} {{ ucfirst($n->note_type) }}{{ $n->party?->legal_name }}{{ $n->customer_invoice_id?'Invoice':'Bill' }}{{ $n->reason_code }}AED {{ number_format((float)$n->grand_total,2) }}{{ ucwords(str_replace('_',' ',$s)) }}Open
No notes found.
{{ $notes->links() }}
@endsection