@php $table_id = isset($table_id) ? $table_id : uniqid(); //rand(1,100); $payments = $payments ?? []; $dom = $dom ?? 't'; $all = strpos($dom, 'f'); @endphp
| 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 | {{--Számlán szerplő termék | --}}Összeg | Fizetési mód | Teljesítve | Számla | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $_payment->offer->offer_number }} | --}} {{--{{ $_payment->user->name ?? '' }} | --}}{{ $_payment->invoice_number ?? '' }} | {{--{{ $_payment->billingo_invoice_number }} | --}}{{ $_payment->date }} | {{ $_payment->payment_deadline }} | {{--{{ $_payment->partial_invoice ? 'igen' : 'nem' }} | --}}{{ __($_payment->invoice_type) }} | {{--{{ __($_payment->invoice_product) }} | --}}{{ number_format($_payment->amount ?? 0, 0, '', ' ') ?? 0 }} | {{ __($_payment->payment_method) }} | {{ $_payment->completed ? 'igen' : '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()) { $process_number = $_payment->process->process_number; $path = str_replace('{process_number}', $process_number, $document->path) . '/' . $document->name; $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') {{-- szerkesztés --}} {{-- @if ((!$_payment->completed && $_payment->billingo_invoice_id) || !$_payment->billingo_invoice_id) --}} @if ($_payment->billingo_invoice_id == null) @endif {{-- @endif --}} @endcan @can('delete-payment') {{-- törlés --}} {{-- @if ($_payment->partial_invoice) --}} {{-- @endif --}} @endcan @endif @can('approve') @if($_payment->notReceivedCheck()) {{-- átvettem --}} @endif @endcan |