@@ -420,7 +430,9 @@ $(document).ready(function()
number:true
},
email:"email",
- return_policy: "required"
+ return_policy: "required",
+ stock_location_number:"required"
+
},
messages:
{
@@ -433,7 +445,8 @@ $(document).ready(function()
number:"lang->line('config_default_tax_rate_number'); ?>"
},
email: "lang->line('common_email_invalid_format'); ?>",
- return_policy:"lang->line('config_return_policy_required'); ?>"
+ return_policy:"lang->line('config_return_policy_required'); ?>",
+ stock_location_number:"lang->line('config_stock_location_required'); ?>"
}
});
diff --git a/application/views/items/count_details.php b/application/views/items/count_details.php
index 22b48115c..bb27e3e0e 100644
--- a/application/views/items/count_details.php
+++ b/application/views/items/count_details.php
@@ -59,6 +59,16 @@ echo form_open('items/save_inventory/'.$item_info->item_id,array('id'=>'item_for
+|
lang->line('items_current_quantity').':', 'quantity',array('class'=>'wide')); ?>
|
@@ -69,7 +79,7 @@ echo form_open('items/save_inventory/'.$item_info->item_id,array('id'=>'item_for
'name'=>'quantity',
'id'=>'quantity',
- 'value'=>$item_info->quantity,
+ 'value'=>current($item_quantitys),
'style' => 'border:none',
'readonly' => 'readonly'
);
@@ -154,4 +164,11 @@ $(document).ready(function()
}
});
});
+
+
+function fill_quantity(val)
+{
+ var item_quantitys= ;
+ document.getElementById("quantity").value = item_quantitys[val];
+}
\ No newline at end of file
diff --git a/application/views/items/manage.php b/application/views/items/manage.php
index ca282590c..7210092d1 100644
--- a/application/views/items/manage.php
+++ b/application/views/items/manage.php
@@ -22,7 +22,7 @@ $(document).ready(function()
$(this).attr('href','index.php/items/generate_barcodes/'+selected.join(':'));
});
- $("#low_inventory, #is_serialized, #no_description, #search_custom, #is_deleted").click(function()
+ $("#is_serialized, #no_description, #search_custom, #is_deleted").click(function()
{
$('#items_filter_form').submit();
});
@@ -135,18 +135,12 @@ function show_hide_search_filter(search_filter_section, switchImgTag) {
'items_filter_form')); ?>
- lang->line('items_low_inventory_items').' '.':', 'low_inventory');?>
- 'low_inventory','id'=>'low_inventory','value'=>1,'checked'=> isset($low_inventory)? ( ($low_inventory)? 1 : 0) : 0)).' | ';?>
lang->line('items_serialized_items').' '.':', 'is_serialized');?>
'is_serialized','id'=>'is_serialized','value'=>1,'checked'=> isset($is_serialized)? ( ($is_serialized)? 1 : 0) : 0)).' | ';?>
lang->line('items_no_description_items').' '.':', 'no_description');?>
'no_description','id'=>'no_description','value'=>1,'checked'=> isset($no_description)? ( ($no_description)? 1 : 0) : 0)).' | ';?>
lang->line('items_search_custom_items').' '.':', 'search_custom');//GARRISON ADDED 4/21/2013?>
- 'search_custom','id'=>'search_custom','value'=>1,'checked'=> isset($search_custom)? ( ($search_custom)? 1 : 0) : 0)).' | ';//GARRISON ADDED 4/21/2013?>
- lang->line('items_stock_type').' '.':', 'stock_type');?>
- 'All','sale_stock'=>$this->lang->line('items_stock_type_sale'),'warehouse'=>$this->lang->line('items_stock_type_warehouse'));
- echo form_dropdown('stock_type',$stock_type_array,$stock_type,'onchange="$(\'#items_filter_form\').submit();"'); ?>
-
+ 'search_custom','id'=>'search_custom','value'=>1,'checked'=> isset($search_custom)? ( ($search_custom)? 1 : 0) : 0));//GARRISON ADDED 4/21/2013?>
diff --git a/application/views/receivings/receiving.php b/application/views/receivings/receiving.php
index 6f8b24b8e..1d3219d3d 100644
--- a/application/views/receivings/receiving.php
+++ b/application/views/receivings/receiving.php
@@ -13,8 +13,28 @@ if(isset($error))
'mode_form')); ?>
- lang->line('recvs_mode') ?>
+ lang->line('recvs_mode') ?>
+
+
+ lang->line('recvs_stock_source') ?>
+
+ lang->line('recvs_stock_destination') ?>
+
+
+ lang->line('recvs_stock_locaiton') ?>
+
+
+
'add_item_form')); ?>
|