@extends('layouts.admin') @section('title', 'Credit Notes') @section('page-title', 'Credit Notes') @section('breadcrumbs') Credit Notes @endsection @section('content')
| # | Credit note # | Invoice | Customer | Date | Amount | Status | Actions |
|---|---|---|---|---|---|---|---|
| {{ ($creditNotes->currentPage() - 1) * $creditNotes->perPage() + $index + 1 }} | {{ $creditNote->credit_note_number }} | @if($creditNote->invoice) {{ $creditNote->invoice->invoice_number }} @else — @endif | {{ $creditNote->customer?->name ?? $creditNote->invoice?->customer?->name ?? '—' }} | {{ $creditNote->credit_note_date?->format('M d, Y') ?? '—' }} | {{ \App\Models\Currency::formatAmount((float) $creditNote->total, $creditNote->currency ?? null) }} | @php $status = $creditNote->status ?? 'pending'; $statusClasses = [ 'pending' => 'bg-yellow-100 text-yellow-800', 'approved' => 'bg-green-100 text-green-800', 'rejected' => 'bg-red-100 text-red-800', ]; @endphp {{ ucfirst($status) }} |
|
|
note_add
No credit notes found |
|||||||
Showing {{ $creditNotes->firstItem() }} to {{ $creditNotes->lastItem() }} of {{ $creditNotes->total() }} entries
Showing {{ $creditNotes->total() }} {{ Str::plural('entry', $creditNotes->total()) }}