-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
108 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 1 addition & 6 deletions
7
client/src/modules/stock/requisition/templates/status.cell.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,3 @@ | ||
<div class="ui-grid-cell-contents"> | ||
<span ng-if="row.entity.status_key === 'completed'" class="label label-success" translate> {{ row.entity.title_key }} </span> | ||
<span ng-if="row.entity.status_key === 'done'" class="label label-primary" translate> {{ row.entity.title_key }} </span> | ||
<span ng-if="row.entity.status_key === 'partially'" class="label label-warning" translate> {{ row.entity.title_key }} </span> | ||
<span ng-if="row.entity.status_key === 'in_progress'" class="label label-default" translate> {{ row.entity.title_key }} </span> | ||
<span ng-if="row.entity.status_key === 'cancelled'" class="label label-danger" translate> {{ row.entity.title_key }} </span> | ||
<span ng-if="row.entity.status_key === 'excessive'" class="label label-danger" translate> {{ row.entity.title_key }} </span> | ||
<span ng-class="row.entity.class_style" translate> {{ row.entity.title_key }} </span> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,56 @@ | ||
<<<<<<< HEAD | ||
/* migration file from v1.20.0 to next */ | ||
======= | ||
/** | ||
* Inventory tags table | ||
*/ | ||
DROP TABLE IF EXISTS `inventory_tag`; | ||
CREATE TABLE `inventory_tag` ( | ||
`inventory_uuid` BINARY(16) NOT NULL, | ||
`tag_uuid` BINARY(16) NOT NULL, | ||
FOREIGN KEY (`inventory_uuid`) REFERENCES `inventory` (`uuid`), | ||
FOREIGN KEY (`tag_uuid`) REFERENCES `tags` (`uuid`) | ||
) ENGINE=InnoDB DEFAULT CHARACTER SET = utf8mb4 DEFAULT COLLATE = utf8mb4_unicode_ci; | ||
|
||
|
||
/** | ||
* @author: jmcameron | ||
* @date: 2021-06-02 | ||
*/ | ||
INSERT IGNORE INTO `report` (`report_key`, `title_key`) VALUES | ||
('aggregated_stock_consumption', 'REPORT.AGGREGATED_STOCK_CONSUMPTION.TITLE'); | ||
|
||
INSERT IGNORE INTO `unit` VALUES | ||
(296, 'Agg. Stock Consumption Report','REPORT.AGGREGATED_STOCK_CONSUMPTION.TITLE', | ||
'aggregated consumption', 282, '/reports/aggregated_stock_consumption'); | ||
|
||
|
||
/** | ||
* @author: mbayopanda | ||
* @date: 2021-06-01 | ||
*/ | ||
INSERT IGNORE INTO `unit` VALUES | ||
(297, 'Journal Log','TREE.JOURNAL_LOG','The Journal log module', 5,'/journal/log'); | ||
|
||
ALTER TABLE transaction_history ADD COLUMN `value` TEXT DEFAULT NULL; | ||
|
||
/* author: jniles | ||
* @date: 2021-06-15 | ||
*/ | ||
INSERT INTO `actions`(`id`, `description`) VALUES | ||
(8, 'USERS.ACTIONS.EDIT_LOT'); | ||
|
||
/** | ||
* @author: lomamech | ||
* @date: 2021-06-17 | ||
* Requisition status | ||
*/ | ||
ALTER TABLE `status` ADD COLUMN `class_style` VARCHAR(100) NOT NULL; | ||
|
||
UPDATE status SET class_style = 'label label-default' WHERE id = 1; | ||
UPDATE status SET class_style = 'label label-primary' WHERE id = 2; | ||
UPDATE status SET class_style = 'label label-warning' WHERE id = 3; | ||
UPDATE status SET class_style = 'label label-info' WHERE id = 4; | ||
UPDATE status SET class_style = 'label label-danger' WHERE id = 5; | ||
UPDATE status SET class_style = 'label label-success' WHERE id = 6; | ||
UPDATE status SET class_style = 'label label-danger' WHERE id = 7; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters