{{ __('messages.payments') }}

@forelse ($payments as $key => $payment) @empty @endforelse
# {{ __('messages.payment_type') }} {{ __('messages.partner') }} {{ __('messages.account') }} {{ __('messages.amount') }} {{ __('messages.comment') }} {{ __('messages.created_at') }} {{ __('messages.action') }}
{{ $key + 1 }} {{ $payment->onRoadBooking ? __('messages.on_road_booking_payment') : __('messages.regular') }} {{ $payment->partner ? $payment->partner->fname . ' ' . $payment->partner->lname.' -- '.$payment->partner->company : __('-') }} {{ $payment->account->title.' - '.$payment->account->type }} {{ $payment->amount }} {{ $payment->comment }} {{ $payment->created_at->format('d-m-Y') }} {{-- --}}
@csrf @method('DELETE')
{{ __('messages.no_partners_found') }}