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
25c73b5a
Commit
25c73b5a
authored
Jan 08, 2019
by
Nilu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
S13099459 # Client - Incoming Issues (raised by Client) #Coupon problem
parent
ab63f7e2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
18 deletions
+2
-18
ApplyCouponFP.java
cmsWebApp/src/performa/form/ApplyCouponFP.java
+2
-1
StripeCoupon.java
cmsWebApp/src/performa/orm/StripeCoupon.java
+0
-17
No files found.
cmsWebApp/src/performa/form/ApplyCouponFP.java
View file @
25c73b5a
...
...
@@ -46,7 +46,8 @@ public class ApplyCouponFP extends SaveFP
.
andCouponCode
(
new
EqualsFilter
<>(
hiringTeam
.
getCouponCode
()))
.
search
(
objTran
);
if
(
coupon
!=
null
&&
coupon
.
getValid
())
// only allowing coupons with percentage off
if
(
coupon
!=
null
&&
coupon
.
getValid
()
&&
coupon
.
getPercentOff
()
!=
null
)
{
StripeUtils
.
applyCoupon
(
hiringTeam
);
...
...
cmsWebApp/src/performa/orm/StripeCoupon.java
View file @
25c73b5a
package
performa
.
orm
;
import
java.io.*
;
import
java.util.*
;
import
oneit.appservices.config.*
;
import
oneit.logging.*
;
import
oneit.objstore.*
;
import
oneit.utils.*
;
import
performa.orm.types.*
;
public
class
StripeCoupon
extends
BaseStripeCoupon
{
...
...
@@ -25,5 +11,3 @@ public class StripeCoupon extends BaseStripeCoupon
// Do not add any code to this, always put it in initialiseNewObject
}
}
\ No newline at end of file
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