Merged in release/2021-12-03 (pull request #287)

Release/2021 12 03
This commit is contained in:
Patrick Fic
2021-12-03 21:58:32 +00:00
2 changed files with 6 additions and 6 deletions

View File

@@ -169,7 +169,7 @@ export function PartsOrderListTableComponent({
cost_center: pol.jobline?.part_type cost_center: pol.jobline?.part_type
? bodyshop.pbs_serialnumber || bodyshop.cdk_dealerid ? bodyshop.pbs_serialnumber || bodyshop.cdk_dealerid
? GetPartTypeName(pol.jobline.part_type) ? pol.jobline.part_type
: responsibilityCenters.defaults && : responsibilityCenters.defaults &&
(responsibilityCenters.defaults.costs[ (responsibilityCenters.defaults.costs[
pol.jobline.part_type pol.jobline.part_type

View File

@@ -15,10 +15,10 @@ const CDK_CREDENTIALS = {
}; };
exports.CDK_CREDENTIALS = CDK_CREDENTIALS; exports.CDK_CREDENTIALS = CDK_CREDENTIALS;
// const cdkDomain = const cdkDomain =
// process.env.NODE_ENV === "production" process.env.NODE_ENV === "production"
// ? "https://3pa.dmotorworks.com" ? "https://3pa.dmotorworks.com"
// : "https://uat-3pa.dmotorworks.com"; : "https://uat-3pa.dmotorworks.com";
function CheckCdkResponseForError(socket, soapResponse) { function CheckCdkResponseForError(socket, soapResponse) {
if (!soapResponse[0]) { if (!soapResponse[0]) {
@@ -75,7 +75,7 @@ function checkIndividualResult(socket, ResultToCheck) {
exports.checkIndividualResult = checkIndividualResult; exports.checkIndividualResult = checkIndividualResult;
const cdkDomain = "https://uat-3pa.dmotorworks.com"; //const cdkDomain = "https://uat-3pa.dmotorworks.com";
exports.default = { exports.default = {
// VehicleSearch: `${cdkDomain}/pip-vehicle/services/VehicleSearch?wsdl`, // VehicleSearch: `${cdkDomain}/pip-vehicle/services/VehicleSearch?wsdl`,
HelpDataBase: `${cdkDomain}/pip-help-database-location/services/HelpDatabaseLocation?wsdl`, HelpDataBase: `${cdkDomain}/pip-help-database-location/services/HelpDatabaseLocation?wsdl`,