CSR-1392
set amount due for PIA
This commit is contained in:
parent
fc0a21aa95
commit
deed0dfb5f
4 changed files with 6 additions and 5 deletions
|
|
@ -73,7 +73,7 @@ const storeActions = {
|
|||
SAVE_VIN: "saveVin",
|
||||
SAVE_REGISTRATION_ADDRESS_LOOKUP: "saveRegistrationAddressLookup",
|
||||
SAVE_GLASS_PARTS: "saveGlassParts",
|
||||
SAVE_GLASS_PART_PRICES: "saveGlassPartPrices",
|
||||
SAVE_GLASS_PARTS_SUPPRESSING_STATE_RESETTING: "saveGlassPartsSuppressingStateResetting",
|
||||
SAVE_PART_QUESTION_ANSWERS: "savePartQuestionAnswers",
|
||||
RESET_MOLDING_AND_CAPABILITY_QUESTIONS_IF_NEEDED:
|
||||
"resetMoldingAndCapabilityQuestionAnswersIfNeeded",
|
||||
|
|
|
|||
|
|
@ -271,12 +271,13 @@ export default {
|
|||
|
||||
// save lineitems as they now have salestax added
|
||||
await this.dispatchStoreAction(
|
||||
storeActions.SAVE_GLASS_PARTS,
|
||||
storeActions.SAVE_GLASS_PARTS_SUPPRESSING_STATE_RESETTING,
|
||||
this.lineItems.glassParts,
|
||||
false
|
||||
);
|
||||
|
||||
await this.dispatchStoreAction(
|
||||
storeActions.SAVE_SUPPORTING_ITEMS,
|
||||
storeActions.SAVE_SUPPORTING_ITEMS_SUPPRESSING_STATE_RESETTING,
|
||||
this.lineItems.supportingItems,
|
||||
false
|
||||
);
|
||||
|
|
|
|||
|
|
@ -258,7 +258,7 @@ export default {
|
|||
|
||||
if (this.pricedGlassParts.length > 0) {
|
||||
this.dispatchStoreAction(
|
||||
this.storeActions.SAVE_GLASS_PART_PRICES,
|
||||
this.storeActions.SAVE_GLASS_PARTS_SUPPRESSING_STATE_RESETTING,
|
||||
this.pricedGlassParts,
|
||||
false
|
||||
);
|
||||
|
|
|
|||
|
|
@ -2381,7 +2381,7 @@ export const actions = {
|
|||
context.commit(storeMutations.UPDATE_GLASS_PARTS, parts);
|
||||
},
|
||||
|
||||
saveGlassPartPrices(context, parts) {
|
||||
saveGlassPartsSuppressingStateResetting(context, parts) {
|
||||
context.commit(storeMutations.UPDATE_GLASS_PARTS, parts);
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue