From 351bc544eeb7419af7e85bf8918d1070edb59641 Mon Sep 17 00:00:00 2001 From: FrancescoUK Date: Sat, 4 Jan 2020 10:38:31 +0000 Subject: [PATCH] Fixed indentation --- application/views/sales/invoice_email.php | 59 ++++++++++++----------- 1 file changed, 32 insertions(+), 27 deletions(-) diff --git a/application/views/sales/invoice_email.php b/application/views/sales/invoice_email.php index d2116269c..a559403e8 100644 --- a/application/views/sales/invoice_email.php +++ b/application/views/sales/invoice_email.php @@ -6,12 +6,13 @@ + ".$error_message.""; - exit; - } +if(isset($error_message)) +{ + echo "
".$error_message."
"; + exit; +} ?>
@@ -76,9 +77,9 @@ if($discount > 0) { $invoice_columns = $invoice_columns + 1; - ?> + ?> lang->line('sales_customer_discount'); ?> - lang->line('sales_total'); ?> @@ -89,19 +90,19 @@ { if($item['print_option'] == PRINT_YES) { - ?> - - - - - - - 0): ?> - - - - - + + + + + + + 0): ?> + + + + + @@ -138,6 +139,7 @@ $payment) { $only_sale_check |= $payment['payment_type'] == $this->lang->line('sales_check'); @@ -147,11 +149,13 @@ - + + @@ -160,18 +164,19 @@ - + - - - lang->line($amount_change >= 0 ? ($only_sale_check ? 'sales_check_balance' : 'sales_change_due') : 'sales_amount_due') ; ?> - - + + + lang->line($amount_change >= 0 ? ($only_sale_check ? 'sales_check_balance' : 'sales_change_due') : 'sales_amount_due') ; ?> + +