{{-- resources/views/invoicing/credit-notes/show.blade.php --}} @extends('layouts.app') @section('title', 'Credit Note ' . $creditNote->reference) @section('page_title', $creditNote->reference) @section('page_subtitle', 'Credit note details') @section('content')
← Credit Notes @if($creditNote->status === 'active')
@csrf
@endif
Credit Note Details {{ ucfirst($creditNote->status) }}
Reference {{ $creditNote->reference }}
Amount {{ $creditNote->currency }} {{ number_format($creditNote->amount, 2) }}
Used {{ $creditNote->currency }} {{ number_format($creditNote->amount_used, 2) }}
Remaining {{ $creditNote->currency }} {{ number_format($creditNote->amount_remaining, 2) }}
@if($creditNote->guest)
Guest {{ $creditNote->guest->first_name }} {{ $creditNote->guest->last_name }}
@endif @if($creditNote->invoice) @endif
Created {{ $creditNote->created_at->format('d M Y') }}
@if($creditNote->expires_at)
Expires {{ $creditNote->expires_at->format('d M Y') }}
@endif
Reason
{{ $creditNote->reason }}
@endsection