Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
PERFORMA_REPLICA
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Muhammad Usman
PERFORMA_REPLICA
Commits
bad6fb3b
Commit
bad6fb3b
authored
Jan 04, 2019
by
Nilu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
S14084587 # Client - Incoming Issues (raised by Client) #Coupon problems
parent
809cdf1c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
StripeUtils.java
cmsWebApp/src/performa/utils/StripeUtils.java
+1
-1
manage_plan.jsp
cmsWebApp/webroot/extensions/adminportal/manage_plan.jsp
+3
-2
No files found.
cmsWebApp/src/performa/utils/StripeUtils.java
View file @
bad6fb3b
...
@@ -79,7 +79,7 @@ public class StripeUtils
...
@@ -79,7 +79,7 @@ public class StripeUtils
{
{
if
(
hiringTeam
.
getStripeReference
()
==
null
)
if
(
hiringTeam
.
getStripeReference
()
==
null
)
{
{
createCustomer
(
hiringTeam
.
getAddedByUser
().
getDefaultHiringTeam
()
);
createCustomer
(
hiringTeam
);
}
}
Customer
customer
=
Customer
.
retrieve
(
hiringTeam
.
getStripeReference
());
Customer
customer
=
Customer
.
retrieve
(
hiringTeam
.
getStripeReference
());
...
...
cmsWebApp/webroot/extensions/adminportal/manage_plan.jsp
View file @
bad6fb3b
...
@@ -39,7 +39,8 @@
...
@@ -39,7 +39,8 @@
String currencyFormat = Utils.getCurrencyFormat(hiringTeam);
String currencyFormat = Utils.getCurrencyFormat(hiringTeam);
boolean firstTime = hiringTeam.getIsPPJ() == null || (!hiringTeam.getIsPPJ() && hiringTeam.getPaymentPlan() == null);
boolean firstTime = hiringTeam.getIsPPJ() == null || (!hiringTeam.getIsPPJ() && hiringTeam.getPaymentPlan() == null);
String nextPage = firstTime ? homePage : WebUtils.getSamePageInRenderMode(request, "ManagePlan");
String samePage = WebUtils.getSamePageInRenderMode(request, "ManagePlan");
String nextPage = firstTime ? homePage : samePage;
%>
%>
<style>
<style>
.select-button input[type=radio] {
.select-button input[type=radio] {
...
@@ -196,7 +197,7 @@
...
@@ -196,7 +197,7 @@
<div class="apply-coupon">
<div class="apply-coupon">
<oneit:ormInput obj="<%= hiringTeam %>" type="text" attributeName="CouponCode" placeholder="Coupon Code" cssClass="form-control" />
<oneit:ormInput obj="<%= hiringTeam %>" type="text" attributeName="CouponCode" placeholder="Coupon Code" cssClass="form-control" />
<oneit:button value="APPLY" name="applyCoupon" cssClass="btn btn-input-inside"
<oneit:button value="APPLY" name="applyCoupon" cssClass="btn btn-input-inside"
requestAttribs="<%= CollectionUtils.mapEntry("nextPage",
next
Page)
requestAttribs="<%= CollectionUtils.mapEntry("nextPage",
same
Page)
.mapEntry ("restartProcess", Boolean.TRUE)
.mapEntry ("restartProcess", Boolean.TRUE)
.mapEntry ("procParams", CollectionUtils.mapEntry("HiringTeam", hiringTeam).toMap())
.mapEntry ("procParams", CollectionUtils.mapEntry("HiringTeam", hiringTeam).toMap())
.mapEntry ("attribNamesToRestore", Collections.singleton("HiringTeam"))
.mapEntry ("attribNamesToRestore", Collections.singleton("HiringTeam"))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment