mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-04-23 08:21:37 -04:00
Provide a way to enter a line total and have the quantity sold automatically calculated.
This commit is contained in:
@@ -39,7 +39,7 @@ INSERT INTO `ospos_app_config` (`key`, `value`) VALUES
|
||||
('barcode_second_row', 'item_code'),
|
||||
('barcode_third_row', 'unit_price'),
|
||||
('barcode_num_in_row', '2'),
|
||||
('barcode_page_width', '100'),
|
||||
('barcode_page_width', '100'),
|
||||
('barcode_page_cellspacing', '20'),
|
||||
('barcode_generate_if_empty', '0'),
|
||||
('receipt_show_company_name', '1'),
|
||||
@@ -118,7 +118,8 @@ INSERT INTO `ospos_app_config` (`key`, `value`) VALUES
|
||||
('suggestions_first_column', 'name'),
|
||||
('suggestions_second_column', ''),
|
||||
('suggestions_third_column', ''),
|
||||
('allow_duplicate_barcodes', '0');
|
||||
('allow_duplicate_barcodes', '0'),
|
||||
('derive_sale_quantity', '0');
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
@@ -997,7 +998,7 @@ ALTER TABLE `ospos_item_quantities`
|
||||
--
|
||||
ALTER TABLE `ospos_suppliers`
|
||||
ADD CONSTRAINT `ospos_suppliers_ibfk_1` FOREIGN KEY (`person_id`) REFERENCES `ospos_people` (`person_id`);
|
||||
|
||||
|
||||
--
|
||||
-- Constraints for table `ospos_giftcards`
|
||||
--
|
||||
|
||||
Reference in New Issue
Block a user