diff --git a/application/views/partial/header.php b/application/views/partial/header.php
index 8571952f6..ac1309113 100644
--- a/application/views/partial/header.php
+++ b/application/views/partial/header.php
@@ -84,7 +84,7 @@
-
+
diff --git a/application/views/sales/register.php b/application/views/sales/register.php
index 825cc08bb..7b9f81593 100644
--- a/application/views/sales/register.php
+++ b/application/views/sales/register.php
@@ -133,13 +133,14 @@ if(isset($success))
foreach(array_reverse($cart, TRUE) as $line=>$item)
{
?>
-
'form-horizontal', 'id'=>'cart_'.$line)); ?>
|
- '); ?>
-
- 'hidden', 'name'=>'item_id', 'value'=>$item['item_id'])); ?>
+ ');
+ echo form_hidden('location', $item['item_location']);
+ echo form_input(array('type'=>'hidden', 'name'=>'item_id', 'value'=>$item['item_id']));
+ ?>
|
-
- 'price', 'class'=>'form-control input-sm', 'value'=>to_currency_no_money($item['price']), 'tabindex'=>++$tabindex, 'onClick'=>'this.select();')); ?> |
-
-
-
-
- |
-
'price', 'class'=>'form-control input-sm', 'value'=>to_currency_no_money($item['price']), 'tabindex'=>++$tabindex, 'onClick'=>'this.select();'));
+ }
+ else
+ {
+ echo to_currency($item['price']);
+ echo form_hidden('price', to_currency_no_money($item['price']));
+ }
+ ?>
+ |
+
+
+
| lang->line('sales_update')?> > |
-
-
+
+
| |
+ ?>
lang->line('sales_description_abbrv'); ?> |
-
'description', 'class'=>'form-control input-sm', 'value'=>$item['description'], 'onClick'=>'this.select();'));
}
else
{
- if($item['description']!='')
+ if($item['description'] != '')
{
echo $item['description'];
echo form_hidden('description', $item['description']);
@@ -268,7 +266,7 @@ if(isset($success))
| |
lang->line('sales_serial');
}
@@ -276,7 +274,7 @@ if(isset($success))
|
'serialnumber', 'class'=>'form-control input-sm', 'value'=>$item['serialnumber'], 'onClick'=>'this.select();'));
}
@@ -461,7 +459,7 @@ if(isset($success))
|
| lang->line('sales_payment'); ?> |
- 'payment_types', 'class'=>'selectpicker show-menu-arrow', 'data-style'=>'btn-default btn-sm', 'data-width'=>'auto', 'disabled'=>'disabled')); ?>
+ 'payment_types', 'class'=>'selectpicker show-menu-arrow', 'data-style'=>'btn-default btn-sm', 'data-width'=>'fit', 'disabled'=>'disabled')); ?>
|