IO-3503 Job Costing Fix
Signed-off-by: Allan Carr <allan@imexsystems.ca>
This commit is contained in:
@@ -545,7 +545,7 @@ function GenerateCostingData(job) {
|
|||||||
if (
|
if (
|
||||||
job.materials["MAPA"] &&
|
job.materials["MAPA"] &&
|
||||||
job.materials["MAPA"].cal_maxdlr !== undefined &&
|
job.materials["MAPA"].cal_maxdlr !== undefined &&
|
||||||
job.materials["MAPA"].cal_maxdlr >= 0
|
(InstanceManager({ rome: true }) ? job.materials["MAPA"].cal_maxdlr >= 0 : job.materials["MAPA"].cal_maxdlr > 0)
|
||||||
) {
|
) {
|
||||||
//It has an upper threshhold.
|
//It has an upper threshhold.
|
||||||
threshold = Dinero({
|
threshold = Dinero({
|
||||||
@@ -595,7 +595,7 @@ function GenerateCostingData(job) {
|
|||||||
if (
|
if (
|
||||||
job.materials["MASH"] &&
|
job.materials["MASH"] &&
|
||||||
job.materials["MASH"].cal_maxdlr !== undefined &&
|
job.materials["MASH"].cal_maxdlr !== undefined &&
|
||||||
job.materials["MASH"].cal_maxdlr >= 0
|
(InstanceManager({ rome: true }) ? job.materials["MASH"].cal_maxdlr >= 0 : job.materials["MASH"].cal_maxdlr > 0)
|
||||||
) {
|
) {
|
||||||
//It has an upper threshhold.
|
//It has an upper threshhold.
|
||||||
threshold = Dinero({
|
threshold = Dinero({
|
||||||
|
|||||||
Reference in New Issue
Block a user