mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/portal.git
synced 2026-08-19 04:23:59 +00:00
74 lines
3.6 KiB
PHP
74 lines
3.6 KiB
PHP
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
|
<title>order-qr-{{$order->order_number}}</title>
|
|
</head>
|
|
<style>
|
|
@font-face {
|
|
font-family: 'HanWangYenHeavy';
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
src: url(http://eclecticgeek.com/dompdf/fonts/cjk/fireflysung.ttf) format('truetype');
|
|
}
|
|
@page { margin: 0px; }
|
|
body { margin: 0px; }
|
|
body {
|
|
font-family: Firefly Sung, DejaVu Sans, sans-serif;
|
|
text-transform: uppercase;
|
|
}
|
|
.page-break {
|
|
page-break-after: always;
|
|
}
|
|
</style>
|
|
<body>
|
|
<table style="width: 100%; border: 2px solid #000000;">
|
|
<tbody>
|
|
@for ($i = 0; $i < 4; $i++)
|
|
<tr>
|
|
<td align="center" width="30%" style="border: 2px solid #000000;">
|
|
<table width="100%">
|
|
<tbody>
|
|
<tr align="center">
|
|
<td>
|
|
<img src="{{ url('https://chart.googleapis.com/chart?chs=150x150&cht=qr&chl={"hash":"{1*23456}","id":'.$order->id.'}') }}" />
|
|
</td>
|
|
</tr>
|
|
<tr align="center">
|
|
<td>
|
|
<h5 style="margin: 0 !important;"><strong>#{{$order->order_number}}</strong></h5>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</td>
|
|
<td width="70%" style="border: 2px solid #000000; padding: 15px !important;">
|
|
<table>
|
|
<tbody>
|
|
<tr>
|
|
<td style="border-bottom: solid 2px #000000;">
|
|
<h3 style="margin-top: 0px !important; margin-bottom: 10px !important;">@if(strtolower($delivery_address->state) === 'sabah') SB/ @elseif(strtolower($delivery_address->state) === 'sarawak') SRW/ @endif CIEF/{{$marking}}/{{$order->order_number}}</h3>
|
|
</td>
|
|
</tr>
|
|
{{--<tr>--}}
|
|
{{--<td style="border-bottom: solid 1px #000000;">--}}
|
|
{{--<h5 style="margin-top: 10px !important; margin-bottom: 10px !important; word-wrap: break-word">{{$delivery_address->street_one.' '.$delivery_address->street_two.' '.$delivery_address->city.' '.$delivery_address->post_code.' '.$delivery_address->state}}</h5>--}}
|
|
{{--</td>--}}
|
|
{{--</tr>--}}
|
|
<tr>
|
|
<td>
|
|
<p style="font-size: 12px; margin-bottom: 0 !important; margin-top: 10px !important;">仓库地址:</p>
|
|
<p style="margin-top: 5px !important; margin-bottom: 5px !important; word-wrap: break-word; font-size: 16px;">{{$warehouse_address->street_one.' '.$warehouse_address->street_two.' '.$warehouse_address->city.' '.$warehouse_address->state.' 邮编:'.$warehouse_address->post_code}}</p>
|
|
<p style="margin-top: 5px !important; margin-bottom: 0px !important; font-size: 12px;">联系:{{$warehouse_contact[0]->phone.' '.$warehouse_contact[0]->name}} @if(array_key_exists(1, $warehouse_contact)) / {{$warehouse_contact[1]->phone.' '.$warehouse_contact[1]->name}} @endif</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
@endfor
|
|
</tbody>
|
|
</table>
|
|
</body>
|
|
</html>
|
|
|