{{-- resources/views/invoicing/credit-notes/index.blade.php --}} @extends('layouts.app') @section('title', 'Credit Notes') @section('page_title', 'Credit Notes') @section('page_subtitle', 'Manage credit notes') @section('content')
{{ $creditNotes->total() }} credit notes
← Invoices
Credit Notes
@if($creditNotes->isEmpty())

No credit notes

@else
@foreach($creditNotes as $cn) @endforeach
Reference Guest Invoice Amount Remaining Status
{{ $cn->reference }} @if($cn->guest) {{ $cn->guest->first_name }} {{ $cn->guest->last_name }} @else — @endif {{ $cn->invoice?->invoice_number ?? '—' }} {{ $cn->currency }} {{ number_format($cn->amount, 2) }} {{ $cn->currency }} {{ number_format($cn->amount_remaining, 2) }} {{ $cn->status }} View →
@endif
@endsection