{{ company()->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_format($payment->amount, $payment->currency_id) }} {{ ($payment->currency ? $payment->currency->currency_code : company()->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->translatedFormat(company()->date_format) : '--' }} |
@lang("app.order") | {{ $payment->order->order_number }} |
@lang("app.invoice") | {{ $payment->invoice->invoice_number }} |