{{ ucwords($global->company_name) }} |
|||
@if (!is_null($payment->project))
@php
$client = $payment->project->client;
@endphp
@elseif(!is_null($payment->invoice_id) && !is_null($payment->invoice->clientdetails))
@php
$client = $payment->invoice->client;
@endphp
@endif
|
@lang("app.amount") | {{ currency_formatter($payment->amount, '') }} {{ ($payment->currency ? $payment->currency->currency_code : global_setting()->currency->currency_code) }} |
@lang("modules.invoices.paymentMethod") | @php $method = '--'; if(!is_null($payment->offline_method_id)) { $method = $payment->offlineMethod->name; } elseif(isset($payment->gateway)){ $method = $payment->gateway; } @endphp {{ $method }} |
@lang("app.transactionId") | {{ $payment->transaction_id ?? '--' }} |
@lang("modules.invoices.paidOn") | {{ $payment->paid_on ? $payment->paid_on->format($global->date_format) : '--' }} |
@lang("app.order") | {{ $payment->order->order_number }} |
@lang("app.invoice") | {{ $payment->invoice->invoice_number }} |