@extends('portal.ninja2020.layout.app') @section('meta_title', ctrans('texts.pay_now')) @push('head') @endpush @section('body')
@csrf
@livewire('pay-now-dropdown', ['total' => $total])
@foreach($invoices as $key => $invoice)

{{ ctrans('texts.invoice') }} (#{{ $invoice->number }})

@if(!empty($invoice->number) && !is_null($invoice->number))
{{ ctrans('texts.invoice_number') }}
{{ $invoice->number }}
@endif @if(!empty($invoice->due_date) && !is_null($invoice->due_date))
{{ ctrans('texts.due_date') }}
{{ $invoice->due_date }}
@endif
{{ ctrans('texts.additional_info') }}
@if($invoice->po_number) {{ $invoice->po_number }} @elseif($invoice->public_notes) {{ $invoice->public_notes }} @else {{ $invoice->date}} @endif
@if(!empty($invoice->amount) && !is_null($invoice->amount))
{{ ctrans('texts.amount') }}
@if(!$settings->client_portal_allow_under_payment && !$settings->client_portal_allow_over_payment) @else
@endif @if($settings->client_portal_allow_under_payment) {{ ctrans('texts.minimum_payment') }}: {{ $settings->client_portal_under_payment_minimum }} @endif
@endif
@endforeach @if(intval($total) == 0) * {{ ctrans('texts.online_payments_minimum_note') }} @endif
@include('portal.ninja2020.invoices.includes.terms', ['entities' => $invoices, 'entity_type' => ctrans('texts.invoice')]) @include('portal.ninja2020.invoices.includes.signature') @endsection @push('footer') @endpush