{{ $invoice->invoice_number }}

@lang('app.menu.payments')

# @lang('app.amount') @lang('app.date') @lang('app.gateway') @lang('app.action') @forelse ($payments as $payment) @if(isset($payment->creditNote)) {{ $payment->creditNote->cn_number }} @else -- @endif {{ currency_formatter($payment->amount, $payment->currency->currency_symbol) }} {{ \Carbon\Carbon::parse($payment->date)->format(global_setting()->date_format) }} {{ $payment->gateway ? $payment->gateway : '--' }} {{-- If payment done from payment gateway, then payment cannot be removed. --}} @if (is_null($payment->transaction_id) && is_null($payment->payload_id) && !$invoice->credit_note) @lang('app.remove') @endif @empty @endforelse