From 31166c814ebeb1018c3f9131d18c2b569a2e2b71 Mon Sep 17 00:00:00 2001 From: jekkos Date: Mon, 29 Aug 2016 18:10:55 +0200 Subject: [PATCH] Stop submitting cancel form when hitting enter in invoice number field (#809) --- application/views/sales/register.php | 101 ++++++++++++++------------- 1 file changed, 51 insertions(+), 50 deletions(-) diff --git a/application/views/sales/register.php b/application/views/sales/register.php index 5c9a4aec0..f131d2bff 100644 --- a/application/views/sales/register.php +++ b/application/views/sales/register.php @@ -440,75 +440,76 @@ if (isset($success))
 lang->line('sales_cancel_sale'); ?>
- - + + + -
-
-
-
- lang->line('common_comments'), 'comments', array('class'=>'control-label', 'id'=>'comment_label', 'for'=>'comment')); ?> - 'comment', 'id'=>'comment', 'class'=>'form-control input-sm', 'value'=>$comment, 'rows'=>'2')); ?> -
+
+
+
+
+ lang->line('common_comments'), 'comments', array('class'=>'control-label', 'id'=>'comment_label', 'for'=>'comment')); ?> + 'comment', 'id'=>'comment', 'class'=>'form-control input-sm', 'value'=>$comment, 'rows'=>'2')); ?>
-
+
+
-
+
+
+ +
+ +
-
- - -
- -
- -
+
- config->item('invoice_enable') == TRUE) - { - ?> -
-
-
- -
+
+ config->item('invoice_enable') == TRUE) + { + ?> +
+
+
+ +
-
-
- # - 'sales_invoice_number', 'id'=>'sales_invoice_number', 'class'=>'form-control input-sm', 'value'=>$invoice_number));?> -
+
+
+ # + 'sales_invoice_number', 'id'=>'sales_invoice_number', 'class'=>'form-control input-sm', 'value'=>$invoice_number));?>
-
- +
+