@include('common.layouts.style')

{{ $invoice->invoice_no }}

{{ $invoice->status == INVOICE_STATUS_PAID ? 'Paid' : 'Pending' }}

{{ __('Invoice To') }}

{{ $tenant->first_name }} {{ $tenant->last_name }}
{{ $tenant->email }}
{{ $tenant->property_name }}
{{ $tenant->unit_name }}

{{ __('Pay To') }}

{{ getOption('app_name') }}
{{ getOption('app_location') }}
{{ getOption('app_contact_number') }}

{{ __('Invoice Items') }}

@foreach ($items as $item) @endforeach
{{ __('Type') }} {{ __('Description') }} {{ __('Date') }} {{ __('Amount') }} {{ __('Tax') }} {{ __('Total') }}
{{ $item->invoiceType?->name }} {{ $item->description }} {{ $item->created_at->format('Y-m-d') }} {{ currencyPrice($item->amount) }} {{ currencyPrice($item->tax_amount) }} {{ currencyPrice($item->amount + $item->tax_amount) }}
{{ __('Total') }}: {{ currencyPrice($invoice->amount) }}

{{ __('Transaction Details') }}

@isset($order) @else @endisset
{{ __('Date') }} {{ __('Gateway') }} {{ __('Transaction ID') }} {{ __('Amount') }}
{{ $order?->created_at->format('Y-m-d') }} {{ $order?->gatewayTitle ?? 'Cash' }} {{ $order?->payment_id }} {{ currencyPrice($order?->total) }}
{{ __('No Data Found') }}
@include('common.layouts.script')