Set default receivings value for items to 1 in database

Fix item quantity save
This commit is contained in:
jekkos-t520 committed 2014-11-03 18:08:57 +01:00
1 parent 7a46078734
commit d43015e8c9
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -144,7 +144,7 @@ CREATE TABLE `ospos_items` (
`unit_price` decimal(15,2) NOT NULL,
`quantity` decimal(15,2) NOT NULL DEFAULT '0',
`reorder_level` decimal(15,2) NOT NULL DEFAULT '0',
`receivings_quantity` int(11) NOT NULL DEFAULT '0',
`receivings_quantity` int(11) NOT NULL DEFAULT '1',
`item_id` int(10) NOT NULL AUTO_INCREMENT,
`allow_alt_description` tinyint(1) NOT NULL,
`is_serialized` tinyint(1) NOT NULL,