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

80 lines
2.1 KiB
PHP

<style>
.tcbgcolor{
background-color: black;
}
#cell {
background-color: #000000;
color: #ffffff;
}
tr td {
background-color: #ffffff;
}
</style>
<table>
<thead>
<tr>
<th colspan="7" style="height: 110px; border: 1px solid black">
Vevő: &nbsp; <strong>Hankook - Delirest Étterem</strong><br>
2459 Rácalmás Hankook tér 1.<br>
Leadó: {{$contactName}} <br>
Rendelés leadás: {{formatterDateTime($created_at)}} <br>
Szállítási dátum: {{formatterDate($deliveryDate)}}<br>
<strong>Tételek: </strong>{{count($items)}}<br>
@isset($note)
@if(!empty($note))
<strong>Megjegyzés: </strong> {{$note}}
@endif
@endisset
</th>
</tr>
<tr >
<th>Cikkszám</th>
<th>Termék</th>
<th>Db/gyűjtő</th>
<th>Kisz.</th>
<th>Rend. menny.</th>
<th>Nettó egységár</th>
<th>Nettó összesen</th>
</tr>
</thead>
<tbody>
@foreach($items as $key=>$item)
<tr>
<td>{{$item['supplierProductNumber']}}</td>
<td>{{$item['name']}}</td>
<td>{{$item['unitMultiplier']}}</td>
<td>{{$item['sellerUnit']}}</td>
<td>{{$item['quantity']}}</td>
<td>{{$item['price']}}</td>
<td>{{$item['amount']}}</td>
{{--
<td>{{str_replace(",00", "", number_format($item['amount'],2,',',' '))}} Ft.</td>
--}}
</tr>
@endforeach
<tr class="invoiceSumRow" >
<td >Végösszeg:</td>
<td colspan="6" style="text-align: right;"> {{str_replace(",00", "", number_format($sumPrice,2,',',' '))}} Ft.</td>
</tr>
{{--
<tr>
<td style="background-color: #1c7430">Name</td>
<td class="tcbgcolor">Email</td>
</tr>
<tr>
<td id="cell"> user->name </td>
<td> user->email </td>
</tr>
<tr>
<td style="border: 1px dashed #CCC" colspan="2"> egybe kerettel </td>
</tr>
--}}
</tbody>
</table>