import updates
parent
b3e5d8e5ad
commit
d4280a3796
|
|
@ -1,5 +1,5 @@
|
||||||
import * as cacheFunctions from '../../helpers/functions.cache.js';
|
import * as cacheFunctions from '../../helpers/functions.cache.js';
|
||||||
const casketBurialSiteTypeId = (await cacheFunctions.getBurialSiteTypesByBurialSiteType('Casket Grave'))
|
const inGroundBurialSiteTypeId = (await cacheFunctions.getBurialSiteTypesByBurialSiteType('In-Ground Grave'))
|
||||||
.burialSiteTypeId;
|
.burialSiteTypeId;
|
||||||
const columbariumBurialSiteTypeId = (await cacheFunctions.getBurialSiteTypesByBurialSiteType('Columbarium'))
|
const columbariumBurialSiteTypeId = (await cacheFunctions.getBurialSiteTypesByBurialSiteType('Columbarium'))
|
||||||
.burialSiteTypeId;
|
.burialSiteTypeId;
|
||||||
|
|
@ -31,5 +31,5 @@ export function getBurialSiteTypeId(cemeteryKey) {
|
||||||
return urnGardenBurialSiteTypeId;
|
return urnGardenBurialSiteTypeId;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return casketBurialSiteTypeId;
|
return inGroundBurialSiteTypeId;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
import * as cacheFunctions from '../../helpers/functions.cache.js'
|
import * as cacheFunctions from '../../helpers/functions.cache.js'
|
||||||
|
|
||||||
const casketBurialSiteTypeId =
|
const inGroundBurialSiteTypeId =
|
||||||
(await cacheFunctions.getBurialSiteTypesByBurialSiteType('Casket Grave'))!
|
(await cacheFunctions.getBurialSiteTypesByBurialSiteType('In-Ground Grave'))!
|
||||||
.burialSiteTypeId
|
.burialSiteTypeId
|
||||||
|
|
||||||
const columbariumBurialSiteTypeId =
|
const columbariumBurialSiteTypeId =
|
||||||
|
|
@ -41,5 +41,5 @@ export function getBurialSiteTypeId(cemeteryKey: string): number {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return casketBurialSiteTypeId
|
return inGroundBurialSiteTypeId
|
||||||
}
|
}
|
||||||
|
|
@ -819,7 +819,7 @@ console.log(`Started ${new Date().toLocaleString()}`);
|
||||||
console.time('importFromCsv');
|
console.time('importFromCsv');
|
||||||
// Purge Tables
|
// Purge Tables
|
||||||
purgeTables();
|
purgeTables();
|
||||||
purgeConfigTables();
|
// purgeConfigTables()
|
||||||
// Initialize SSM Data
|
// Initialize SSM Data
|
||||||
await initializeFuneralHomes(user);
|
await initializeFuneralHomes(user);
|
||||||
// Do Imports
|
// Do Imports
|
||||||
|
|
|
||||||
|
|
@ -1429,7 +1429,7 @@ console.time('importFromCsv')
|
||||||
|
|
||||||
// Purge Tables
|
// Purge Tables
|
||||||
purgeTables()
|
purgeTables()
|
||||||
purgeConfigTables()
|
// purgeConfigTables()
|
||||||
|
|
||||||
// Initialize SSM Data
|
// Initialize SSM Data
|
||||||
await initializeFuneralHomes(user)
|
await initializeFuneralHomes(user)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue