@php $table_id = isset($table_id) ? $table_id : uniqid(); //rand(1,100); $supplier_offers = $supplier_offers ?? []; $create_button = $create_button ?? true; $dom = $dom ?? 'tip'; $all = strpos($dom, 'f'); $status_class = [ 'offer_request_preparing' => 'bg-secondary', 'offer_request_sent' => 'bg-primary', 'offer_received' => 'bg-success', 'order_preparing' => 'bg-success', 'order_sent' => 'bg-success', 'order_confirmation' => 'bg-success', 'order_confirmed' => 'bg-success', 'order_incomplete' => 'bg-success', 'order_received' => 'bg-success', 'order_deleted' => 'bg-success', ]; $rand = rand(1, 10000); @endphp @foreach ($supplier_offers as $row) @endforeach
Árajánlat azonosító Leírás Státusz Kérés időpontja Beérkezésének időpontja Összeg Beszállító neve Beszállító email címe Beszállító címe
{{ $row->offer_identifier }}
{{ mb_substr($row->description ?? '', 0, 10) }}...
{{ $row->status_lang }} {{ $row->offer_sent_at }} {{ $row->offer_received }} {{ $row->amount }} {{ $row->supplier->name }} {{ $row->supplier->email }} {{ $row->supplier->address }} @if($row->status == 'offer_request_preparing') {{-- --}} @endif @if($row->status == 'offer_request_sent') {{-- --}} @endif
@if ($create_button)
@endif @push('scripts') @endpush