mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-10-20 15:24:35 -04:00
Add Supplier Category (#2088)
This commit is contained in:
1 parent
deed04cd46
commit
006ee22435
8 files changed
+63
-5
No files matched your search
@@ -37,7 +37,6 @@ ALTER TABLE `ospos_receivings_items`
|
||||
CHANGE COLUMN `discount_percent` `discount` DECIMAL(15,2) NOT NULL DEFAULT 0 AFTER `item_unit_price`,
|
||||
ADD COLUMN `discount_type` TINYINT(2) NOT NULL DEFAULT '0' AFTER `discount`;
|
||||
|
||||
|
||||
--
|
||||
-- Add support for module cashups
|
||||
--
|
||||
@@ -102,3 +101,13 @@ ALTER TABLE ospos_expenses CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci
|
||||
|
||||
ALTER TABLE `ospos_cash_up`
|
||||
ADD `closed_amount_due` decimal(15,2) NOT NULL;
|
||||
|
||||
--
|
||||
-- Add Suppliers category
|
||||
--
|
||||
|
||||
ALTER TABLE `ospos_suppliers`
|
||||
ADD COLUMN `category` TINYINT NOT NULL;
|
||||
|
||||
UPDATE `ospos_suppliers`
|
||||
SET `category` = 0;
|
||||
Reference in new issue
Block a user