change supplier do date and supplier name

This commit is contained in:
omair saleh
2021-03-12 14:31:16 +08:00
parent 0698488cc2
commit 69c93298f2
2 changed files with 11 additions and 2 deletions
+9 -2
View File
@@ -416,7 +416,7 @@ class InvoiceController extends Controller
'marking_no' => ''
],
'seller' => [
'seller_company' => $supplier->company_name === 'VT NATION TRADING SDN. BHD' ? 'Atvantic Import & Export Snd Bhd' : $supplier->company_name,
'seller_company' => 'Atvantic Import & Export Snd Bhd',
'address' => '',
'phone' => '',
],
@@ -449,7 +449,14 @@ class InvoiceController extends Controller
</tr>
</table>
');
$mpdf->setHeader($invoice->po_number);
$mpdf->SetHTMLHeader('
<table width="100%">
<tr>
<td style="text-align: center; color: red; text-transform: uppercase;">Atvantic Import & Export Snd. Bhd (1309816-P)</td>
<td style="text-align: right; ">'.$invoice->po_number.'</td>
</tr>
</table>
');
$mpdf->WriteHTML($html);
return $mpdf;
+2
View File
@@ -109,6 +109,7 @@
Phone: {{ $buyer['phone'] }}
</span>
</td>
@if($seller['seller_company'] === 'CIEF Worldwide Sdn Bhd (1134596-M)')
<td width="50%" class="top">
<span class="buyer-seller-title">
Seller
@@ -126,6 +127,7 @@
</div>
@endif
</td>
@endif
</tr>
</table>