Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
TimeOutAdmin
Project
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
TimeOut
TimeOutAdmin
Commits
8cec62da
Commit
8cec62da
authored
5 years ago
by
Jansa Jose
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
changes in api model
parent
2085b5f7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
Api_model.php
application/models/Api_model.php
+0
-4
No files found.
application/models/Api_model.php
View file @
8cec62da
...
@@ -426,8 +426,6 @@ class Api_model extends CI_Model {
...
@@ -426,8 +426,6 @@ class Api_model extends CI_Model {
}
}
function
getEventData
(
$booking_id
=
''
,
$user_id
=
''
){
function
getEventData
(
$booking_id
=
''
,
$user_id
=
''
){
// $countryData = $this->getCountryData($user_id);
// $lang = $countryData['language_code'];
$sql
=
"SELECT booking.id AS book_id,booking.bookId AS bookingCode,booking.amount,
$sql
=
"SELECT booking.id AS book_id,booking.bookId AS bookingCode,booking.amount,
event_date_time.date AS event_date,booking.qrcode,
event_date_time.date AS event_date,booking.qrcode,
venue.location,event_date_time.time AS event_time,booking.event_id,
venue.location,event_date_time.time AS event_time,booking.event_id,
...
@@ -439,8 +437,6 @@ class Api_model extends CI_Model {
...
@@ -439,8 +437,6 @@ class Api_model extends CI_Model {
INNER JOIN venue ON venue.id = events.venue_id
INNER JOIN venue ON venue.id = events.venue_id
LEFT JOIN event_gallery ON events.event_id=event_gallery.event_id AND
LEFT JOIN event_gallery ON events.event_id=event_gallery.event_id AND
event_gallery.media_type=0
event_gallery.media_type=0
-- INNER JOIN translator_event ON translator_event.event_id=events.event_id
-- INNER JOIN translator_venue ON translator_venue.venue_id = events.venue_id
LEFT JOIN transaction ON transaction.booking_id=booking.bookId
LEFT JOIN transaction ON transaction.booking_id=booking.bookId
WHERE booking.bookId='
$booking_id
'"
;
WHERE booking.bookId='
$booking_id
'"
;
...
...
This diff is collapsed.
Click to expand it.
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