More updates.
This commit is contained in:
parent
6c65786109
commit
6a80a9b1b0
1 changed files with 6 additions and 8 deletions
|
|
@ -228,12 +228,13 @@ export default {
|
|||
const issConfig = store.issConfig;
|
||||
const applicationUser = store.applicationUser;
|
||||
|
||||
/*
|
||||
const isEarlyBird = order?.lineItems?.supportingItems?.find(
|
||||
// NOTE: ISS does not support early bird times.
|
||||
const isEarlyBird = false; /*order?.lineItems?.supportingItems?.find(
|
||||
(lineItem) => lineItem.partType == partTypeStrings.EARLY_BIRD
|
||||
);
|
||||
*/
|
||||
|
||||
// NOTE: No promo codes on ISS at the moment.
|
||||
const promoCodes = ""; /*Array.isArray(order?.lineItems?.promos)
|
||||
? order?.lineItems?.promos
|
||||
.map((item) => item.promoCode)
|
||||
|
|
@ -304,9 +305,8 @@ export default {
|
|||
sessionData.workOrderNumber = order?.workOrderNumber;
|
||||
sessionData.workOrderId = order?.workOrderId;
|
||||
|
||||
// TODO: Find equivalent ISS methods for these:
|
||||
sessionData.isPia = false;//order?.payment?.isPia ?? false;
|
||||
sessionData.piaType = null;//order?.payment?.piaType;
|
||||
sessionData.isPia = store.isPayInAdvance;
|
||||
sessionData.piaType = (store.isPayInAdvance ? order?.payment?.paymentMethod : null);
|
||||
|
||||
sessionData.parentAccountNumber = parentAccountNumber;
|
||||
sessionData.billToAccountNumber = issConfig.billToAccountNumber;
|
||||
|
|
@ -326,9 +326,7 @@ export default {
|
|||
sessionData.hasTechnicianNotes = order?.contactInfo?.notesForTechnician ? true : false;
|
||||
sessionData.paymentMethod = order?.payment?.paymentMethod;
|
||||
sessionData.isTextingOptedIn = order?.contactInfo?.requestTextUpdates ? true : false;
|
||||
|
||||
// TODO: Find equivalent ISS methods for these: - I do not think we have early bird support in ISS.
|
||||
sessionData.isEarlyBird = false;//isEarlyBird ? true : false;
|
||||
sessionData.isEarlyBird = isEarlyBird;
|
||||
|
||||
sessionData.insuranceCo = issConfig.clientName;
|
||||
sessionData.deductible = store.currentDeductible ?? 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue