large commit

This commit is contained in:
Omair Saleh
2019-12-30 10:54:51 +08:00
parent 9aee5b3b9c
commit 38655a26f0
3 changed files with 23 additions and 8 deletions
+7 -7
View File
@@ -1,7 +1,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>order-qr-{{$data['order']->marking}}</title>
<title>order-qr-{{$order->marking}}</title>
</head>
<style>
@font-face {
@@ -30,12 +30,12 @@
<tbody>
<tr align="center">
<td>
<img src="{{ url('https://chart.googleapis.com/chart?chs=150x150&cht=qr&chl={"hash":"{1*23456}","id":'.$data['order']->id.'}') }}" />
<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>#{{$data['order']->marking}}</strong></h5>
<h5 style="margin: 0 !important;"><strong>#{{$order->marking}}</strong></h5>
</td>
</tr>
</tbody>
@@ -46,19 +46,19 @@
<tbody>
<tr>
<td style="border-bottom: solid 2px #000000;">
<h3 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}}</h3>
<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{{$company->marking}}/{{$order->marking}}</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">{{$data['delivery_address']->street_one.' '.$data['delivery_address']->street_two.' '.$data['delivery_address']->city.' '.$data['delivery_address']->post_code.' '.$data['delivery_address']->state}}</h5>--}}
{{--<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;">{{$data['warehouse_address']->street_one.' '.$data['warehouse_address']->street_two.' '.$data['warehouse_address']->city.' '.$data['warehouse_address']->state.' 邮编:'.$data['warehouse_address']->post_code}}</p>
<p style="margin-top: 5px !important; margin-bottom: 0px !important; font-size: 12px;">联系:{{$data['warehouse_contact'][0]->contact.' '.$data['warehouse_contact'][0]->name}} / {{$data['warehouse_contact'][1]->contact.' '.$data['warehouse_contact'][1]->name}}</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]->contact.' '.$warehouse_contact[0]->name}} / {{$warehouse_contact[1]->contact.' '.$warehouse_contact[1]->name}}</p>
</td>
</tr>
</tbody>