CASH-132: set up manual test of save donation to session order
This commit is contained in:
parent
64d49216e7
commit
7df809eca0
1 changed files with 9 additions and 0 deletions
|
|
@ -67,6 +67,8 @@
|
||||||
<div class="mt-3">
|
<div class="mt-3">
|
||||||
<donationBlock cmsWidgetName="DonationWidget" />
|
<donationBlock cmsWidgetName="DonationWidget" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<button type="button" @click="addDonation(3)">Add Donation of $3</button>
|
||||||
|
|
||||||
<hr class="mb-5" />
|
<hr class="mb-5" />
|
||||||
|
|
||||||
|
|
@ -494,6 +496,13 @@ export default {
|
||||||
forwardButtonAction() {
|
forwardButtonAction() {
|
||||||
window.location.assign(location.protocol + "//" + location.host);
|
window.location.assign(location.protocol + "//" + location.host);
|
||||||
},
|
},
|
||||||
|
addDonation(amount) {
|
||||||
|
baseMixin.methods.dispatchStoreAction(
|
||||||
|
storeActions.ADD_DONATION_TO_SUBMITTED_ORDER,
|
||||||
|
amount,
|
||||||
|
false
|
||||||
|
);
|
||||||
|
}
|
||||||
},
|
},
|
||||||
components: {
|
components: {
|
||||||
funnelHeader,
|
funnelHeader,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue