mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-03-02 13:59:30 -05:00
Receipt totals layout improvement (show top border when no discount or
tax section present) Remove unexistant script include from invoice_email template
This commit is contained in:
@@ -4,7 +4,6 @@
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
||||
<link rel="stylesheet" rev="stylesheet" href="<?php echo base_url();?>css/invoice_email.css"/>
|
||||
<script src="<?php echo base_url();?>js/jquery-1.4.4.min.js" type="text/javascript" language="javascript" charset="UTF-8"></script>
|
||||
</head>
|
||||
<body>
|
||||
<?php
|
||||
|
||||
@@ -108,9 +108,10 @@ if (isset($error_message))
|
||||
<?php endif; ?>
|
||||
<tr>
|
||||
</tr>
|
||||
<?php $border = (!$this->Appconfig->get('receipt_show_taxes') && !($this->Appconfig->get('show_total_discount') && $discount > 0)); ?>
|
||||
<tr>
|
||||
<td colspan="3" style='text-align:right;'><?php echo $this->lang->line('sales_total'); ?></td>
|
||||
<td style='text-align:right'><?php echo to_currency($total); ?></td>
|
||||
<td colspan="3" style='<?php echo $border? 'border-top: 2px solid black;' :''; ?>text-align:right;'><?php echo $this->lang->line('sales_total'); ?></td>
|
||||
<td style='<?php echo $border? 'border-top: 2px solid black;' :''; ?>text-align:right'><?php echo to_currency($total); ?></td>
|
||||
</tr>
|
||||
|
||||
<tr><td colspan="4"> </td></tr>
|
||||
|
||||
Reference in New Issue
Block a user