AH Updates. IO-594
This commit is contained in:
@@ -10,7 +10,9 @@ module.exports = {
|
|||||||
lessLoaderOptions: {
|
lessLoaderOptions: {
|
||||||
lessOptions: {
|
lessOptions: {
|
||||||
modifyVars: {
|
modifyVars: {
|
||||||
"@primary-color": "#1DA57A",
|
...(process.env.NODE_ENV === "development"
|
||||||
|
? { "@primary-color": "#a51d1d" }
|
||||||
|
: { "@primary-color": "#1DA57A" }),
|
||||||
// "@primary-color": " #1890ff", // primary color for all components
|
// "@primary-color": " #1890ff", // primary color for all components
|
||||||
// "@link-color": "#1890ff", // link color
|
// "@link-color": "#1890ff", // link color
|
||||||
// "@success-color": "#52c41a", // success state color
|
// "@success-color": "#52c41a", // success state color
|
||||||
|
|||||||
@@ -354,7 +354,7 @@ const StatusMapping = (status, md_ro_statuses) => {
|
|||||||
else if (status === default_invoiced || status === default_exported)
|
else if (status === default_invoiced || status === default_exported)
|
||||||
return "CLO";
|
return "CLO";
|
||||||
else if (status === default_void) return "CLO";
|
else if (status === default_void) return "CLO";
|
||||||
else if (md_ro_statuses.production_statuses.include(status)) return "IPR";
|
else if (md_ro_statuses.production_statuses.includes(status)) return "IPR";
|
||||||
else return "UNDEFINED";
|
else return "UNDEFINED";
|
||||||
|
|
||||||
// default: return "UNDEFINED"
|
// default: return "UNDEFINED"
|
||||||
@@ -362,7 +362,7 @@ const StatusMapping = (status, md_ro_statuses) => {
|
|||||||
|
|
||||||
const GenerateDetailLines = (line, statuses) => {
|
const GenerateDetailLines = (line, statuses) => {
|
||||||
const ret = {
|
const ret = {
|
||||||
BackOrdered: line.status === statuses.default_bo ? "Y" : "N",
|
BackOrdered: line.status === statuses.default_bo ? "1" : "0",
|
||||||
Cost:
|
Cost:
|
||||||
line.billlines[0] &&
|
line.billlines[0] &&
|
||||||
(line.billlines[0].actual_cost * line.billlines[0].quantity).toFixed(2),
|
(line.billlines[0].actual_cost * line.billlines[0].quantity).toFixed(2),
|
||||||
|
|||||||
Reference in New Issue
Block a user