mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-10-22 00:04:37 -04:00
Hide stock_type and item_type if the employee isn't authorized to item kits. On register if item type is non-stock don't display the zero stock balance message, and correct the default quote format when initializing the field.
This commit is contained in:
1 parent
9bf8989960
commit
e4955027d1
6 files changed
+8
-5
No files matched your search
@@ -683,7 +683,7 @@ class Sale_lib
|
||||
$print_option = '2'; // Do not include in list
|
||||
}
|
||||
|
||||
$result &= $this->add_item($item_kit_item['item_id'], $item_kit_item['quantity'], $item_location, $discount, $price, null, null, null, $print_option, $print_option, $item_kit_item['stock_type']);
|
||||
$result &= $this->add_item($item_kit_item['item_id'], $item_kit_item['quantity'], $item_location, $discount, $price, null, null, null, $print_option, $item_kit_item['stock_type']);
|
||||
|
||||
if($stock_warning == null)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user