CASH-1637
CASH-1637 send cash price for insurance orders
This commit is contained in:
parent
94e89419d2
commit
147db94b1f
2 changed files with 4 additions and 1 deletions
|
|
@ -285,6 +285,7 @@ export default {
|
||||||
sessionData.subTotalPrice = getSubTotal(order?.lineItems);
|
sessionData.subTotalPrice = getSubTotal(order?.lineItems);
|
||||||
sessionData.totalPrice = getAmountDue(order?.lineItems, true);
|
sessionData.totalPrice = getAmountDue(order?.lineItems, true);
|
||||||
sessionData.userAgent = navigator.userAgent;
|
sessionData.userAgent = navigator.userAgent;
|
||||||
|
sessionData.cashPriceSubTotal = order?.cashPriceSubTotal;
|
||||||
|
|
||||||
await baseMixin.methods.dispatchStoreAction(
|
await baseMixin.methods.dispatchStoreAction(
|
||||||
storeActions.LOG_FMG_SESSION_DATA,
|
storeActions.LOG_FMG_SESSION_DATA,
|
||||||
|
|
|
||||||
|
|
@ -1642,6 +1642,7 @@ export const actions = {
|
||||||
subTotalPrice,
|
subTotalPrice,
|
||||||
totalPrice,
|
totalPrice,
|
||||||
userAgent,
|
userAgent,
|
||||||
|
cashPriceSubTotal,
|
||||||
}
|
}
|
||||||
) {
|
) {
|
||||||
var payload = {
|
var payload = {
|
||||||
|
|
@ -1688,7 +1689,8 @@ export const actions = {
|
||||||
isItac: isItac,
|
isItac: isItac,
|
||||||
subTotalPrice: subTotalPrice,
|
subTotalPrice: subTotalPrice,
|
||||||
totalPrice: totalPrice,
|
totalPrice: totalPrice,
|
||||||
userAgent,
|
userAgent: userAgent,
|
||||||
|
cashPriceSubTotal: cashPriceSubTotal,
|
||||||
};
|
};
|
||||||
|
|
||||||
return globalMethods.callHttpClient({
|
return globalMethods.callHttpClient({
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue