|
@@ -23,7 +23,7 @@ public class JobRequisitionItemStore : BaseStore<JobRequisitionItem>
|
|
|
if (item.ID != Guid.Empty)
|
|
|
{
|
|
|
if (CalculateStatus(this, item))
|
|
|
- item.Notes += $"{(!String.IsNullOrWhiteSpace(item.Notes) ? "\n" : "")}Status updated to {item.Status.ToString().SplitCamelCase()} because the record was changed";
|
|
|
+ item.Notes += $"{(!String.IsNullOrWhiteSpace(item.Notes) ? "\n" : "")}Status updated to {item.Status.ToString().SplitCamelCase()} because the record was changed";
|
|
|
}
|
|
|
base.BeforeSave(item);
|
|
|
}
|
|
@@ -175,7 +175,7 @@ public class JobRequisitionItemStore : BaseStore<JobRequisitionItem>
|
|
|
{
|
|
|
styleTotal += mvt.Units * mvt.Dimensions.Value;
|
|
|
}
|
|
|
- total += mvt.Units;
|
|
|
+ total += mvt.Units * mvt.Dimensions.Value;
|
|
|
}
|
|
|
|
|
|
var remStyle = (item.Qty * item.Dimensions.Value) - styleTotal;
|