Toggle navigation
Toggle navigation
This project
Loading...
Sign in
open-source
/
warply_sdk_framework
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Authored by
Manos Chorianopoulos
2024-09-04 11:27:28 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
8d7a66d7c602ef327daa1c7f26f9de1fbee517aa
8d7a66d7
1 parent
01cb5cfc
dinning campaign issue fix
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
SwiftWarplyFramework/SwiftWarplyFramework/GiftsViewController.swift
SwiftWarplyFramework/SwiftWarplyFramework/MFYViewController.swift
SwiftWarplyFramework/SwiftWarplyFramework/swiftApi.swift
SwiftWarplyFramework/SwiftWarplyFramework/GiftsViewController.swift
View file @
8d7a66d
...
...
@@ -289,7 +289,7 @@ extension GiftsViewController: UITableViewDelegate, UITableViewDataSource{
}
else
if
(
campaigns
[
indexPath
.
row
]
.
_campaign_type
==
"coupon"
)
{
let
couponsetUuid
=
campaigns
[
indexPath
.
row
]
.
_couponset
if
(
couponsetUuid
!=
""
)
{
if
(
couponsetUuid
!=
""
&&
couponsetUuid
!=
nil
)
{
let
couponsetsList
=
swiftApi
()
.
getCouponSetList
()
for
item
in
couponsetsList
{
...
...
SwiftWarplyFramework/SwiftWarplyFramework/MFYViewController.swift
View file @
8d7a66d
...
...
@@ -325,10 +325,10 @@ extension MFYViewController: UITableViewDelegate, UITableViewDataSource{
}
}
}
else
if
(
campaign
.
_campaign_type
==
"coupon"
&&
campaign
.
_couponset
!=
""
)
{
}
else
if
(
campaign
.
_campaign_type
==
"coupon"
&&
campaign
.
_couponset
!=
""
&&
campaign
.
_couponset
!=
nil
)
{
let
couponsetUuid
=
campaign
.
_couponset
if
(
couponsetUuid
!=
""
)
{
if
(
couponsetUuid
!=
""
&&
couponsetUuid
!=
nil
)
{
let
couponsetsList
=
swiftApi
()
.
getCouponSetList
()
for
item
in
couponsetsList
{
...
...
SwiftWarplyFramework/SwiftWarplyFramework/swiftApi.swift
View file @
8d7a66d
...
...
@@ -4836,7 +4836,7 @@ public class swiftApi {
if
(
campaign
.
_campaign_type
==
"coupon"
)
{
let
couponsetUuid
=
campaign
.
_couponset
if
(
couponsetUuid
!=
""
)
{
if
(
couponsetUuid
!=
""
&&
couponsetUuid
!=
nil
)
{
let
couponsetsList
=
swiftApi
()
.
getCouponSetList
()
for
item
in
couponsetsList
{
...
...
@@ -6863,10 +6863,10 @@ public class swiftApi {
public
func
handleLoyaltyCampaigns
(
_
campaign
:
CampaignItemModel
,
_
controller
:
UIViewController
)
->
Void
{
if
(
campaign
.
_campaign_type
==
"coupon"
&&
campaign
.
_couponset
!=
""
)
{
if
(
campaign
.
_campaign_type
==
"coupon"
&&
campaign
.
_couponset
!=
""
&&
campaign
.
_couponset
!=
nil
)
{
let
couponsetUuid
=
campaign
.
_couponset
if
(
couponsetUuid
!=
""
)
{
if
(
couponsetUuid
!=
""
&&
couponsetUuid
!=
nil
)
{
let
couponsetsList
=
swiftApi
()
.
getCouponSetList
()
for
item
in
couponsetsList
{
...
...
Please
register
or
login
to post a comment