d2d.emegrendeles.hu/resources/views/modules/order/excelExportWeeklyParts.blade.php
E98Developer 68b7c35bef git init
2026-02-28 06:53:05 +01:00

67 lines
1.8 KiB
PHP

@php
//dd(get_defined_vars());
@endphp
<tbody>
@foreach($items['weekDayItems'] as $dayItem)
@php
$sumPrice=$dayItem['sumPrice']
@endphp
{{--
<tr class="ProductHeadRow" >
<td colspan="8" style="text-align: left;">{{$dayItem['date']}}</td>
</tr>
--}}
<tr style="border: solid;">
<td>Szállítási dátum:</td>
<td colspan="7" style="text-align: left; font-weight: bold">{{$dayItem['date']}}</td>
</tr>
@foreach($dayItem['items'] as $item)
@php
//dd($items['products'][$item['id']],$item);
$item=array_merge($item,$items['products'][$item['id']]);
//dd($item);
@endphp
<tr>
<td>{{$item['supplierProductNumber']}}</td>
<td>{{$item['name']}}</td>
<td>{{$item['quantity']}}</td>
<td>{{$item['sellerUnit']}}</td>
<td>{{$item['unitMultiplier']}}</td>
<td>{{$item['price']}}</td>
<td>{{$item['amountUnit']}}</td>
<td>{{$item['amount']}}</td>
</tr>
@isset($item['comment'])
@if(!empty($item['comment']))
<tr>
<td colspan="8" style="padding-left: 1em;"> {{$item['supplierProductNumber']}}
megjegyzés: {{$item['comment']}}</td>
</tr>
@endif
@endisset
{{--
@include("modules.order.invoiceItemRowParts")
--}}
@endforeach
<tr class="invoiceSumRow">
<td colspan="7" style="text-align: right;">Végösszeg:</td>
<td style="text-align: right;"> {{str_replace(",00", "", number_format($sumPrice,2,',',' '))}}Ft
</td>
</tr>
{{--
@include("modules.order.invoiceSumRowParts")
--}}
@endforeach