mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-01-06 16:37:53 -05:00
Add config option to use generation when generating barcodes for an Generate propery barcode with configured format if item_number empty
15 lines
566 B
SQL
15 lines
566 B
SQL
ALTER TABLE `ospos_suppliers`
|
|
ADD COLUMN `agency_name` VARCHAR(255) NOT NULL;
|
|
|
|
INSERT INTO `ospos_app_config` (`key`, `value`) VALUES
|
|
('dateformat', 'm/d/Y'),
|
|
('timeformat', 'H:i:s'),
|
|
('barcode_generate_if_empty', '0');
|
|
|
|
ALTER TABLE `ospos_sales_suspended`
|
|
DROP KEY `invoice_number`;
|
|
|
|
-- Clear out emptied comments (0 inserted in comment if empty #192)
|
|
UPDATE `ospos_sales` SET comment = NULL WHERE comment = '0';
|
|
UPDATE `ospos_receivings` SET comment = NULL WHERE comment = '0';
|
|
UPDATE `ospos_sales_suspended` SET comment = NULL WHERE comment = '0'; |