From abcd22a5b2d6c4e2a008a48d9f01b98828d6ef41 Mon Sep 17 00:00:00 2001 From: Robert Eldredge Date: Tue, 17 Aug 2021 08:37:16 -0400 Subject: [PATCH] Display Premium on Checkout --- src/app/branded/branded-checkout.tpl.html | 4 +++- .../step-2/branded-checkout-step-2.component.js | 4 +++- .../step-2/branded-checkout-step-2.tpl.html | 4 +++- src/app/checkout/step-3/step-3.component.js | 4 +++- src/app/checkout/step-3/step-3.tpl.html | 16 ++++++++++++++++ 5 files changed, 28 insertions(+), 4 deletions(-) diff --git a/src/app/branded/branded-checkout.tpl.html b/src/app/branded/branded-checkout.tpl.html index 7ff99f1ab..399ca6d54 100644 --- a/src/app/branded/branded-checkout.tpl.html +++ b/src/app/branded/branded-checkout.tpl.html @@ -24,7 +24,9 @@ + previous="$ctrl.previous()" + premium-name="$ctrl.premiumName" + item-config="$ctrl.itemConfig"> {{'REVIEW'}} + change-step="$ctrl.changeStep(newStep)" + premium-name="$ctrl.premiumName" + branded-checkout-item="$ctrl.itemConfig"> diff --git a/src/app/checkout/step-3/step-3.component.js b/src/app/checkout/step-3/step-3.component.js index a6f766b07..80297c4d3 100644 --- a/src/app/checkout/step-3/step-3.component.js +++ b/src/app/checkout/step-3/step-3.component.js @@ -189,6 +189,8 @@ export default angular onSubmitBtnChangeState: '&', onSubmitted: '&', onSubmittingOrder: '&', - submittingOrder: '<' + submittingOrder: '<', + premiumName: '<', + brandedCheckoutItem: '<' } }) diff --git a/src/app/checkout/step-3/step-3.tpl.html b/src/app/checkout/step-3/step-3.tpl.html index c9ed4a77c..919d0164a 100644 --- a/src/app/checkout/step-3/step-3.tpl.html +++ b/src/app/checkout/step-3/step-3.tpl.html @@ -146,6 +146,22 @@ +
+
+
+ {{'PREMIUM'}} + +
+
+
+
+ {{$ctrl.premiumName}} +
+
+
+
+
+