This commit is contained in:
bitbucket 2023-12-12 18:22:13 +05:30
parent b844160ab3
commit 3cc67066be
2 changed files with 12 additions and 9 deletions

View File

@ -143,10 +143,10 @@ public function download_details()
$configa4 = [ $configa4 = [
'mode' => 'utf-8', 'mode' => 'utf-8',
'format' => 'A4', 'format' => 'A4',
'margin_left' => 0, 'margin_left' => 1,
'margin_right' => 0, 'margin_right' => 1,
'margin_top' => 0, 'margin_top' => 1,
'margin_bottom' => 0, 'margin_bottom' => 1,
'margin_header' => 0, 'margin_header' => 0,
'margin_footer' => 0, 'margin_footer' => 0,
]; ];

View File

@ -11,7 +11,7 @@
} }
.invoice { .invoice {
width: 48%; width: 48%;
height: 277px; height: 273px;
margin-left: 2px; margin-left: 2px;
float: left; float: left;
page-break-inside: avoid; page-break-inside: avoid;
@ -26,6 +26,9 @@
.bill-details { .bill-details {
margin-bottom: 20px; margin-bottom: 20px;
margin-top: 30px;
margin-left: 10px;
} }
.customer-details { .customer-details {
@ -63,10 +66,10 @@
<div class="invoice"> <div class="invoice">
<div class="bill-details"> <div class="bill-details">
<!-- <div style="margin-bottom:5px;">To:</div> --> <!-- <div style="margin-bottom:5px;">To:</div> -->
<?= $customerDetails[$i]['customer_name'] ?> <?= $customerDetails[$i]['customer_name'] ?><br>
<?= $customerDetails[$i]['address_1'] ?>, <?= $customerDetails[$i]['address_1'] ?>,<br>
<?= $customerDetails[$i]['address_2'] ?>, <?= $customerDetails[$i]['address_2'] ?>,<br>
<?= $customerDetails[$i]['city'] ?>, <?= $customerDetails[$i]['city'] ?>,<br>
<?= $customerDetails[$i]['state'] ?> - <?= $customerDetails[$i]['state'] ?> -
<?= $customerDetails[$i]['postal_code'] ?> <?= $customerDetails[$i]['postal_code'] ?>
<?php if($customerDetails[$i]['mobile_no']) <?php if($customerDetails[$i]['mobile_no'])