mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/izyim.git
synced 2026-08-19 04:24:00 +00:00
35 lines
1.2 KiB
PHP
35 lines
1.2 KiB
PHP
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
|
<title>order-qr-{{$data['order']->marking}}</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>
|
|
<div style="width: 100%; height: 141px;">
|
|
<div style="width: 100%; text-align: center;">
|
|
<img src="{{ url('https://chart.googleapis.com/chart?chs=100x100&cht=qr&chl={"hash":"{1*23456}","id":'.$data['order']->id.'}') }}" />
|
|
</div>
|
|
<div style="text-align: center;">
|
|
<h5 style="margin-top: 0px !important; margin-bottom: 10px !important;">@if(strtolower($data['delivery_address']->state) === 'sabah') SB/ @elseif(strtolower($data['delivery_address']->state) === 'sarawak') SRW/ @endif{{$data['company']->marking}}/{{$data['order']->marking}}</h5>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|
|
|