IO-3437 Beta 4

This commit is contained in:
Allan Carr
2025-11-10 16:11:05 -08:00
parent a093fa20a6
commit a322fb5ca4
4 changed files with 19 additions and 16 deletions

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{ {
"name": "bodyshop-desktop", "name": "bodyshop-desktop",
"version": "1.0.8-beta.3", "version": "1.0.8-beta.4",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "bodyshop-desktop", "name": "bodyshop-desktop",
"version": "1.0.8-beta.3", "version": "1.0.8-beta.4",
"hasInstallScript": true, "hasInstallScript": true,
"dependencies": { "dependencies": {
"@apollo/client": "^3.13.6", "@apollo/client": "^3.13.6",

View File

@@ -1,6 +1,6 @@
{ {
"name": "bodyshop-desktop", "name": "bodyshop-desktop",
"version": "1.0.8-beta.3", "version": "1.0.8-beta.4",
"description": "Shop Management System Partner", "description": "Shop Management System Partner",
"main": "./out/main/index.js", "main": "./out/main/index.js",
"author": "Convenient Brands, LLC", "author": "Convenient Brands, LLC",

View File

@@ -16,23 +16,26 @@ const EmsPartsOrderGenerateEnvFile = async (
[date.getHours(), date.getMinutes(), date.getSeconds()] [date.getHours(), date.getMinutes(), date.getSeconds()]
.map((unit) => String(unit).padStart(2, "0")) .map((unit) => String(unit).padStart(2, "0"))
.join(""); .join("");
const formatDate = (date: Date): string =>
`${String(date.getMonth() + 1).padStart(2, "0")}/${String(
date.getDate(),
).padStart(2, "0")}/${date.getFullYear()}`;
const records = [ const records = [
{ {
EST_SYSTEM: "M", EST_SYSTEM: "M",
SW_VERSION: "UM7.1", SW_VERSION: "25.3",
DB_VERSION: "MAY_17_V0607", DB_VERSION: "OCT_25_V",
DB_DATE: dateNow, DB_DATE: formatDate(dateNow),
RO_ID: partsOrder.job.ro_number, RO_ID: partsOrder.job.ro_number,
ESTFILE_ID: partsOrder.job.ciecaid, ESTFILE_ID: partsOrder.job.ciecaid,
SUPP_NO: "1", SUPP_NO: "1",
EST_CTRY: "CAN", EST_CTRY: "CA",
TOP_SECRET: ";0000000;0;0000000;0;0000000;",
TRANS_TYPE: "S", TRANS_TYPE: "S",
STATUS: false, STATUS: false,
CREATE_DT: dateNow, CREATE_DT: formatDate(dateNow),
CREATE_TM: formatTime(dateNow), CREATE_TM: formatTime(dateNow),
TRANSMT_DT: dateNow, TRANSMT_DT: formatDate(dateNow),
TRANSMT_TM: formatTime(dateNow), TRANSMT_TM: formatTime(dateNow),
INCL_ADMIN: true, INCL_ADMIN: true,
INCL_VEH: true, INCL_VEH: true,

View File

@@ -21,8 +21,8 @@ export const envFieldLineDescriptors: FieldDescriptor[] = [
}, },
{ {
name: "DB_DATE", name: "DB_DATE",
type: "D", type: "C",
size: 8, size: 10,
decimalPlaces: 0, decimalPlaces: 0,
}, },
{ {
@@ -87,8 +87,8 @@ export const envFieldLineDescriptors: FieldDescriptor[] = [
}, },
{ {
name: "CREATE_DT", name: "CREATE_DT",
type: "D", type: "C",
size: 8, size: 10,
decimalPlaces: 0, decimalPlaces: 0,
}, },
{ {
@@ -99,8 +99,8 @@ export const envFieldLineDescriptors: FieldDescriptor[] = [
}, },
{ {
name: "TRANSMT_DT", name: "TRANSMT_DT",
type: "D", type: "C",
size: 8, size: 10,
decimalPlaces: 0, decimalPlaces: 0,
}, },
{ {