Skip to content

Commit

Permalink
chore(lots): remove registry columns
Browse files Browse the repository at this point in the history
Removes many of the registry columns from the stock lot registry so that
they are not as distracting to the user.

Closes #5311.
  • Loading branch information
jniles committed Feb 3, 2021
1 parent 338c7ac commit c1083b8
Showing 1 changed file with 0 additions and 55 deletions.
55 changes: 0 additions & 55 deletions client/src/modules/stock/lots/registry.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,61 +92,6 @@ function LotsRegistryService(uiGridConstants, Session) {
cellClass : 'text-right',
headerCellFilter : 'translate',
}, {
field : 'avg_consumption',
displayName : 'STOCK.CMM',
headerTooltip : 'STOCK.CMM',
cellClass : 'text-right',
headerCellFilter : 'translate',
type : 'number',
}, {
field : 'S_MONTH',
displayName : 'STOCK.MSD',
headerTooltip : 'STOCK.MSD',
cellClass : 'text-right',
headerCellFilter : 'translate',
type : 'number',
}, {
field : 'lifetime',
displayName : 'STOCK.LIFETIME',
headerTooltip : 'STOCK.LIFETIME',
headerCellFilter : 'translate',
cellClass : 'text-right',
cellTemplate : 'modules/stock/lots/templates/lifetime.cell.html',
type : 'number',
sort : {
direction : uiGridConstants.ASC,
priority : 2,
},
}, {
field : 'S_LOT_LIFETIME',
displayName : 'STOCK.LOT_LIFETIME',
headerTooltip : 'STOCK.LOT_LIFETIME',
headerCellFilter : 'translate',
cellTemplate : 'modules/stock/lots/templates/lot_lifetime.cell.html',
cellClass : 'text-right',
type : 'number',
}, {
field : 'S_RISK',
displayName : 'STOCK.RISK',
headerTooltip : 'STOCK.RISK',
headerCellFilter : 'translate',
cellTemplate : 'modules/stock/lots/templates/risk.cell.html',
cellClass : 'text-right',
type : 'number',
sort : {
direction : uiGridConstants.DESC,
priority : 3,
},
},
{
field : 'S_RISK_QUANTITY',
displayName : 'STOCK.RISK_QUANTITY',
headerTooltip : 'STOCK.RISK_QUANTITY',
headerCellFilter : 'translate',
cellTemplate : 'modules/stock/lots/templates/risk_quantity.cell.html',
type : 'number',
},
{
field : 'tagNames',
displayName : 'TAG.LABEL',
headerTooltip : 'TAG.LABEL',
Expand Down

0 comments on commit c1083b8

Please sign in to comment.