WIP dontation block.
This commit is contained in:
parent
11c12c3416
commit
8fc29cbdf8
3 changed files with 217 additions and 1 deletions
0
src/fmg-components/donation-block/donation-block.spec.js
Normal file
0
src/fmg-components/donation-block/donation-block.spec.js
Normal file
211
src/fmg-components/donation-block/donation-block.vue
Normal file
211
src/fmg-components/donation-block/donation-block.vue
Normal file
File diff suppressed because one or more lines are too long
|
|
@ -37,7 +37,10 @@
|
||||||
:isItac="isItac"
|
:isItac="isItac"
|
||||||
:isNoComp="isNoComp"
|
:isNoComp="isNoComp"
|
||||||
:isExpandedOnLoad="false" />
|
:isExpandedOnLoad="false" />
|
||||||
|
<div class="mt-3">
|
||||||
|
<donationBlock
|
||||||
|
cmsWidgetName="DonationWidget" />
|
||||||
|
</div>
|
||||||
<hr />
|
<hr />
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
|
|
@ -156,6 +159,7 @@ import { mapTaxedLineItemsToStoreFormat } from "../../store";
|
||||||
import { coverageStatus } from "@/constants/insurance";
|
import { coverageStatus } from "@/constants/insurance";
|
||||||
import { containsLineItemWithPartType } from "@/helpers/service-package-helper";
|
import { containsLineItemWithPartType } from "@/helpers/service-package-helper";
|
||||||
import { containsRecalParts } from "@/helpers/recal-helper";
|
import { containsRecalParts } from "@/helpers/recal-helper";
|
||||||
|
import donationBlock from "@/fmg-components/donation-block/donation-block.vue";
|
||||||
|
|
||||||
defineRule("payment-method-required", required(errorMessages.OPTION_REQUIRED));
|
defineRule("payment-method-required", required(errorMessages.OPTION_REQUIRED));
|
||||||
defineRule("recal-ack-required", required(errorMessages.RECAL_ACK_REQUIRED));
|
defineRule("recal-ack-required", required(errorMessages.RECAL_ACK_REQUIRED));
|
||||||
|
|
@ -847,6 +851,7 @@ export default {
|
||||||
textBlock,
|
textBlock,
|
||||||
checkboxQuestion,
|
checkboxQuestion,
|
||||||
contentGroupModal,
|
contentGroupModal,
|
||||||
|
donationBlock,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue