Skip to content

Commit

Permalink
feat(lot origin): Remove the lot origin resgistry as it present infor…
Browse files Browse the repository at this point in the history
…mation which can be easily foun
  • Loading branch information
DedrickEnc committed Aug 24, 2017
1 parent d3d3a0b commit 5ad5150
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 273 deletions.
54 changes: 0 additions & 54 deletions client/src/modules/stock/origins/registry.html

This file was deleted.

187 changes: 0 additions & 187 deletions client/src/modules/stock/origins/registry.js

This file was deleted.

23 changes: 0 additions & 23 deletions client/src/modules/stock/origins/templates/action.tmpl.html

This file was deleted.

8 changes: 1 addition & 7 deletions client/src/modules/stock/stock.routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,7 @@ angular.module('bhima.routes')
controller : 'StockEntryController as StockCtrl',
templateUrl : 'modules/stock/entry/entry.html',
})

.state('stockOrigins', {
url : '/stock/origins',
controller : 'StockOriginsController as StockOriginCtrl',
templateUrl : 'modules/stock/origins/registry.html',
})


.state('stockAdjustment', {
url : '/stock/adjustment',
controller : 'StockAdjustmentController as StockCtrl',
Expand Down
1 change: 0 additions & 1 deletion server/models/bhima.sql
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ INSERT INTO unit VALUES
(163, 'Stock Inventory', 'TREE.STOCK_INVENTORY', 'The stock inventory registry', 160, '/partials/stock/inventories', '/stock/inventories'),
(164, 'Stock Exit', 'STOCK.EXIT', 'The stock exit module', 160, '/partials/stock/exit', '/stock/exit'),
(165, 'Stock Entry', 'STOCK.ENTRY', 'The stock entry module', 160, '/partials/stock/entry', '/stock/entry'),
(166, 'Stock Origins', 'STOCK.ORIGINS', 'The stock origins module', 160, '/partials/stock/origins', '/stock/origins'),
(167, 'Stock Adjustment', 'STOCK.ADJUSTMENT', 'The stock adjustment module', 160, '/partials/stock/adjustment', '/stock/adjustment'),
(168, 'Aged Creditors', 'TREE.AGED_CREDITORS', 'Aged Creditors', 144, '/modules/reports/aged_creditors', '/reports/aged_creditors'),
(170, 'Account Statement', 'TREE.ACCOUNT_STATEMENT', 'Account Statement Module', 5, '/partials/account_statement/', '/account_statement'),
Expand Down
2 changes: 1 addition & 1 deletion test/data.sql
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ INSERT INTO permission (unit_id, user_id) VALUES
(154, 1), (155, 1), (156, 1),

-- Stock
(160, 1), (161, 1), (162, 1), (163, 1), (164, 1), (165, 1), (166, 1), (167, 1), (181, 1), (182, 1),
(160, 1), (161, 1), (162, 1), (163, 1), (164, 1), (165, 1), (167, 1), (181, 1), (182, 1),

-- [Folder] reports/aged_creditors: The Aged Creditor report
(168, 1),
Expand Down

0 comments on commit 5ad5150

Please sign in to comment.