@include('admin.header') @section('title', 'Bank Invoice Details') @section('actions') Back to Invoices Edit Export PDF @if($bankInvoice->status === 'draft')
@csrf
@endif @if($bankInvoice->status === 'sent')
@csrf
@endif @endsection
Invoice Details
Invoice Number {{ $bankInvoice->invoice_number }}
Buyer {{ $bankInvoice->buyer->contact_person }}
Order Confirmation {{ $bankInvoice->orderConfirmation->order_number }}
Invoice Amount ${{ number_format($bankInvoice->amount, 2) }}
Invoice Date {{ $bankInvoice->invoice_date->format('M d, Y') }}
Due Date {{ $bankInvoice->due_date->format('M d, Y') }} @if($bankInvoice->is_overdue)
(Overdue) @else
({{ $bankInvoice->days_until_due }} days remaining) @endif
Tax Amount ${{ number_format($bankInvoice->tax_amount, 2) }}
Total Amount ${{ number_format($bankInvoice->total_amount, 2) }}
Status {{ ucfirst($bankInvoice->status) }}
Created By {{ $bankInvoice->creator->name }}
Created At {{ $bankInvoice->created_at->format('M d, Y H:i') }}
{{ $bankInvoice->description }}
@if($bankInvoice->bank_remarks)
{{ $bankInvoice->bank_remarks }}
@endif
Buyer Information
{{ $bankInvoice->buyer->company_name }}
  • Contact: {{ $bankInvoice->buyer->contact_person }}
  • Email: {{ $bankInvoice->buyer->email }}
  • Phone: {{ $bankInvoice->buyer->phone }}
  • Address: {{ $bankInvoice->buyer->address }}
  • Country: {{ $bankInvoice->buyer->country }}
@if($bankInvoice->buyer->bank)
Bank Details
  • Bank: {{ $bankInvoice->buyer->bank->bank_name }}
  • Account: {{ $bankInvoice->buyer->bank->account_no }}
  • SWIFT: {{ $bankInvoice->buyer->bank->swift }}
@endif
Order Information
{{ $bankInvoice->orderConfirmation->order_number }}
  • Quantity: {{ number_format($bankInvoice->orderConfirmation->confirmed_quantity) }}
  • Price: ${{ number_format($bankInvoice->orderConfirmation->confirmed_price, 2) }}
  • Total Value: ${{ number_format($bankInvoice->orderConfirmation->total_value, 2) }}
  • Delivery: {{ $bankInvoice->orderConfirmation->formatted_delivery_date }}
  • Status: {{ ucfirst($bankInvoice->orderConfirmation->status) }}
Quick Actions
Download PDF @if($bankInvoice->status === 'draft')
@csrf
@endif @if($bankInvoice->status === 'sent')
@csrf
@endif
@include('admin.footer')