@php $table_id = isset($table_id) ? $table_id : uniqid(); //rand(1,100); $payments = $payments ?? []; $dom = $dom ?? 'tip'; $all = strpos($dom, 'f'); $test_payment = App\Models\Setting::where('name', 'billingo_test_key')->first()->value ? true : false; @endphp @if($test_payment)
Megrendelés azonosító | --}}Számlaszám | {{--Billingo Számlaszám | --}} {{--Létrehozta | --}}Teljesítés dátuma | Fizetési határidő | {{--Számla kiállítása és kiküldése | --}}Számla típusa | Kapcsolódó számla | {{--Számlán szerplő termék | --}}Összeg | Fizetési mód | Teljesítve | Számla | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{ $_payment->invoice_number ?? '' }} | {{ $_payment->date }} | {{ $_payment->payment_deadline }} | @if($_payment->cancellation_at) (Lemondott) @endif {{ __($_payment->invoice_type) }} | {{ __($_payment->related_document) }} | {{ number_format($_payment->amount ?? 0, 0, '', ' ') ?? 0 }} | {{ __($_payment->payment_method) }} | {{ $_payment->completed ? 'igen' : ($related_document->count() != 0 ? 'részben' : 'nem') }} | @php if(isset($_payment->billingo_invoice_id) && $_payment->billingo_invoice_id != null) { $url = 'letöltés'; } else if($document = App\Models\Document::where('target_type', 'App\Models\Payment')->where('target_id', $_payment->id)->first()) { $url = 'letöltés'; // . __($document->name) . } else { $url = ''; } @endphp {!! $url !!} | @if (($_payment->invoice_type == 'acknowledgment_receipt' && !$_payment->received) || $_payment->invoice_type != 'acknowledgment_receipt') @can('edit-payment') @if ($_payment->billingo_invoice_id == null) @endif @endcan @can('delete-payment') @endcan @endif @can('approve') @if($_payment->notReceivedCheck() && auth()->user()->can('approve')) {{-- átvettem --}} @endif @endcan |