75 lines
2.0 KiB
PHP
75 lines
2.0 KiB
PHP
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Shipping Label Template</title>
|
|
<style>
|
|
body{
|
|
font-family:Helvetica!important;
|
|
line-height:24px;
|
|
color:#000!important;
|
|
}
|
|
.invoice {
|
|
width: 4in;
|
|
/* height: 6in; */
|
|
margin: 20px auto;
|
|
border: 1px solid #000;
|
|
padding:15px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.header {
|
|
text-align: center;
|
|
background:#fff!important;
|
|
}
|
|
|
|
.business-logo {
|
|
max-width:175px;
|
|
height: auto;
|
|
width:100%;
|
|
}
|
|
|
|
.bill-details {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.customer-details {
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.row {
|
|
clear: both;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<?php
|
|
|
|
foreach ($invoiceData as $value) :
|
|
?>
|
|
<div class="invoice">
|
|
|
|
|
|
<div class="bill-details">
|
|
<?= $value->customer_name ?>
|
|
<?= $value->customer_bill_address ?>
|
|
<?= $value->customer_bill_city ?> <?= $value->customer_bill_state ?>
|
|
<?= $value->customer_bill_postal_code ?>
|
|
<?= $value->customer_bill_country ?>
|
|
</div>
|
|
|
|
<div class="header">
|
|
<!-- <img src="https://vijayabharathambooks.com/wp-content/uploads/2021/09/vijaya-bharatham-logo-8pt.png" alt="Business Logo" class="business-logo"><br> -->
|
|
<div style="float:left; width:80px;margin-right:10px;"><img src="<?= base_url('public/uploads/vijayabharathampdf.png') ?>" alt="Business Logo" class="business-logo"/></div>
|
|
<div style="text-align:left;font-size:12px;">From<br/>
|
|
<?= $value->address ?>,<br><?= $value->city ?>, <?= $value->state ?>,
|
|
<?= $value->postal_code ?>
|
|
</div>
|
|
</div>
|
|
|
|
<?php endforeach; ?>
|
|
|
|
</body>
|
|
</html>
|