FIX_INVOICE_PDF_ALIGNMENT
This commit is contained in:
parent
7356052001
commit
85dbdf346c
@ -158,7 +158,10 @@
|
|||||||
/* Style for the notes and terms information */
|
/* Style for the notes and terms information */
|
||||||
.notes-container,
|
.notes-container,
|
||||||
.terms-container {
|
.terms-container {
|
||||||
margin-top: 20px;
|
font-size: 10px;
|
||||||
|
margin-top: 30px;
|
||||||
|
margin-bottom:20px;
|
||||||
|
|
||||||
}
|
}
|
||||||
/* Style for the table containing - footer-table details */
|
/* Style for the table containing - footer-table details */
|
||||||
table.footer-table {
|
table.footer-table {
|
||||||
@ -184,16 +187,16 @@
|
|||||||
}
|
}
|
||||||
@media screen {
|
@media screen {
|
||||||
body, .business-address-container,table.addresses-table, table.footer-table, table td, table.invoice-related-table th, table.invoice-related-table td {
|
body, .business-address-container,table.addresses-table, table.footer-table, table td, table.invoice-related-table th, table.invoice-related-table td {
|
||||||
font-family:Nunito Sans;
|
font-family:'Calibri';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@media print {
|
@media print {
|
||||||
body{
|
body{
|
||||||
font-family:"Times New Roman", Times, serif;
|
font-family:"Calibri";
|
||||||
|
|
||||||
}
|
}
|
||||||
table td, table.invoice-related-table th, table.invoice-related-table td{
|
table td, table.invoice-related-table th, table.invoice-related-table td{
|
||||||
font-family:"Times New Roman", Times, serif;
|
font-family:"Calibri";
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -331,7 +334,7 @@
|
|||||||
<?php else : ?><div style="text-align: left !important;"><p> </p></div>
|
<?php else : ?><div style="text-align: left !important;"><p> </p></div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<?php if (!empty($value->terms)) : ?>
|
<?php if (!empty($value->terms)) : ?>
|
||||||
<pre style="font-family: 'Times New Roman', Times, sans-serif; font-size: 12px; text-align: left;">
|
<pre style="font-family: 'Calibri; font-size: 12px; text-align: left;">
|
||||||
<?= $row->terms ?>
|
<?= $row->terms ?>
|
||||||
</pre>
|
</pre>
|
||||||
<?php else : ?><div style="text-align: left !important;"><p> </p></div>
|
<?php else : ?><div style="text-align: left !important;"><p> </p></div>
|
||||||
@ -340,7 +343,7 @@
|
|||||||
<br>
|
<br>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</td>
|
</td>
|
||||||
<td colspan="6" style="width: 40%; vertical-align: top;">
|
<td colspan="6" style="width: 30%; vertical-align: top;">
|
||||||
<table class="subtotal-table" style="margin-top:20px;">
|
<table class="subtotal-table" style="margin-top:20px;">
|
||||||
<?php foreach ($data as $value) : ?>
|
<?php foreach ($data as $value) : ?>
|
||||||
<tr>
|
<tr>
|
||||||
@ -396,7 +399,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="6" style="width: 40%; vertical-align: top;">
|
<td colspan="6" style="width: 60%; vertical-align: top;">
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<?php if ($value->status != 'Approved') : ?>
|
<?php if ($value->status != 'Approved') : ?>
|
||||||
@ -405,19 +408,19 @@
|
|||||||
<?php echo nl2br($business['terms']); ?>
|
<?php echo nl2br($business['terms']); ?>
|
||||||
<?php else: ?>
|
<?php else: ?>
|
||||||
<div style="color:white">
|
<div style="color:white">
|
||||||
<h1 style="color: white; visibility: hidden;">Else if block..........</h1>
|
<h1 style="color: white; visibility: hidden;">Else if block.............. ..............</h1>
|
||||||
</div>
|
</div>
|
||||||
<?php endif?>
|
<?php endif?>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</td>
|
</td>
|
||||||
<td colspan="6" style="width: 60%; vertical-align: bottom;">
|
<td colspan="6" style="width: 50%; vertical-align: bottom;">
|
||||||
<div class="terms-container">
|
<div class="terms-container">
|
||||||
<center>
|
<center>
|
||||||
<!-- <img src="<?php //echo base_url('public/uploads/default_sign_sm.png'); ?>" alt="Authorized Signatory" class="Authorized-Signatory"> -->
|
<!-- <img src="<?php //echo base_url('public/uploads/default_sign_sm.png'); ?>" alt="Authorized Signatory" class="Authorized-Signatory"> -->
|
||||||
<!-- <div align = "right"> -->
|
<!-- <div align = "right"> -->
|
||||||
<h6>Authorized Signatory</h6>
|
<p>Authorized Signatory</p>
|
||||||
<!-- </div> -->
|
<!-- </div> -->
|
||||||
</center>
|
</center>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user