mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-02-02 05:31:10 -05:00
Use localStorage to store selected printer Add printer selection for invoice template Print after sale checkbox is now present in receivings and sales screen Remove print after sale options from receipt_config Add default translations to receivings_lang.csv Fix some bugs preventing to print and email at the same time
35 lines
1.2 KiB
SQL
35 lines
1.2 KiB
SQL
INSERT INTO `ospos_app_config` (`key`, `value`) VALUES
|
|
('barcode_content', 'id'),
|
|
('barcode_first_row', 'category'),
|
|
('barcode_second_row', 'item_code'),
|
|
('barcode_third_row', 'cost_price'),
|
|
('barcode_num_in_row', '2'),
|
|
('company_logo', ''),
|
|
('barcode_page_width', '100'),
|
|
('barcode_page_cellspacing', '20'),
|
|
('receipt_show_taxes', '0'),
|
|
('use_invoice_template', '1'),
|
|
('invoice_default_comments', 'This is a default comment'),
|
|
('invoice_email_message', 'Dear $CU, In attachment the receipt for sale $CO'),
|
|
('print_silently', '1'),
|
|
('print_header', '0'),
|
|
('print_footer', '0'),
|
|
('print_top_margin', '0'),
|
|
('print_left_margin', '0'),
|
|
('print_bottom_margin', '0'),
|
|
('print_right_margin', '0');
|
|
|
|
INSERT INTO `ospos_permissions` (permission_id, module_id, location_id)
|
|
(SELECT CONCAT('sales_', location_name), 'sales', location_id FROM ospos_stock_locations);
|
|
|
|
INSERT INTO `ospos_permissions` (permission_id, module_id, location_id)
|
|
(SELECT CONCAT('receivings_', location_name), 'receivings', location_id FROM ospos_stock_locations);
|
|
|
|
-- add item_pic column to items table
|
|
ALTER TABLE `ospos_items`
|
|
ADD COLUMN `item_pic` int(10) DEFAULT NULL;
|
|
|
|
ALTER TABLE `ospos_people`
|
|
ADD COLUMN `gender` int(1) DEFAULT NULL;
|
|
|