@extends('admin.layouts.app') @section('title', __('Invoice Details')) @section('breadcrumb') @endsection @section('content')
| {{ __('Description') }} | {{ __('Quantity') }} | {{ __('Unit Price') }} | {{ __('Amount') }} |
|---|---|---|---|
| {{ $item->description }} | {{ $item->quantity }} | ${{ number_format($item->unit_price ?? 0, 2) }} | ${{ number_format(($item->quantity ?? 1) * ($item->unit_price ?? 0), 2) }} |
| {{ __('No items') }} | |||
| {{ __('Subtotal') }} | ${{ number_format($invoice->subtotal ?? 0, 2) }} |
| {{ __('Tax') }} ({{ $invoice->tax_rate ?? 0 }}%) | ${{ number_format($invoice->tax_amount ?? 0, 2) }} |
| {{ __('Total') }} | ${{ number_format($invoice->total ?? 0, 2) }} |
{{ $invoice->description }}
@endif| {{ __('Date') }} | {{ __('Amount') }} | {{ __('Method') }} | {{ __('Reference') }} |
|---|---|---|---|
| {{ $payment->created_at?->format('M d, Y') }} | ${{ number_format($payment->amount, 2) }} | {{ ucfirst($payment->method ?? 'cash') }} | {{ $payment->reference ?? __('N/A') }} |