diff --git a/application/views/sales/invoice_email.php b/application/views/sales/invoice_email.php
index a3c96a677..5d1615c3d 100644
--- a/application/views/sales/invoice_email.php
+++ b/application/views/sales/invoice_email.php
@@ -14,7 +14,7 @@
}
// Temporarily loads the system language for _lang to print invoice in the system language rather than user defined.
- load_language(TRUE,array('sales','common'));
+ load_language(TRUE, array('sales', 'common'));
?>
@@ -49,13 +49,14 @@
lang->line('common_date'); ?> |
|
- 0)
+ 0)
{
?>
-
- | lang->line('sales_amount_due'); ?> |
- |
-
+
+ | lang->line('sales_amount_due'); ?> |
+ |
+
diff --git a/application/views/sales/quote_email.php b/application/views/sales/quote_email.php
index e8090444e..c92a54002 100644
--- a/application/views/sales/quote_email.php
+++ b/application/views/sales/quote_email.php
@@ -7,14 +7,14 @@
".$error_message."
";
exit;
}
// Temporarily loads the system language for _lang to print invoice in the system language rather than user defined.
- load_language(TRUE,array('sales','common'));
+ load_language(TRUE, array('sales', 'common'));
?>
@@ -24,9 +24,9 @@
config->item('company_logo') != '')
{
- ?>
+ ?>
-
|
@@ -49,14 +49,15 @@
lang->line('common_date'); ?> |
|
- 0)
+ 0)
{
- ?>
+ ?>
| lang->line('sales_amount_due'); ?> |
|
-
@@ -99,8 +100,7 @@
| |
lang->line('sales_sub_total'); ?> |
- |
-
+ |
|
|
-
|
+
|
".$error_message."
";
- exit;
-}
+ if(isset($error_message))
+ {
+ echo "
@@ -21,9 +24,9 @@ if (isset($error_message))
config->item('company_logo') != '')
{
- ?>
+ ?>
-
|
@@ -46,14 +49,15 @@ if (isset($error_message))
lang->line('common_date'); ?> |
|
- 0)
+ 0)
{
- ?>
+ ?>
| lang->line('sales_amount_due'); ?> |
|
-
@@ -68,42 +72,52 @@ if (isset($error_message))
lang->line('sales_quantity'); ?> |
lang->line('sales_price'); ?> |
lang->line('sales_discount'); ?> |
+
lang->line('sales_customer_discount');?> |
lang->line('sales_total'); ?> |
$item)
{
- ?>
+ ?>
|
|
|
|
|
+ |
|
-
+
- |
+ |
- | |
+ |
lang->line('sales_sub_total'); ?> |
- |
+ |
- $value) { ?>
+
+ $sales_tax)
+ {
+ ?>
- | |
- |
- |
+ |
+ |
+ |
-
+
+
- | |
+ |
lang->line('sales_total'); ?> |
|