Commit 8cec62da by Jansa Jose

changes in api model

parent 2085b5f7
......@@ -426,8 +426,6 @@ class Api_model extends CI_Model {
}
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,
event_date_time.date AS event_date,booking.qrcode,
venue.location,event_date_time.time AS event_time,booking.event_id,
......@@ -439,8 +437,6 @@ class Api_model extends CI_Model {
INNER JOIN venue ON venue.id = events.venue_id
LEFT JOIN event_gallery ON events.event_id=event_gallery.event_id AND
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
WHERE booking.bookId='$booking_id'";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment