Commit b7dc2014 by Tobin

t : status for booking summary api

parent 621b272c
......@@ -854,10 +854,12 @@ class Webservice_model extends CI_Model {
$sql = "SELECT booking.qrcode,events.event_id,events.venue_id,event_date_time.date,
events.has_payment AS is_payment_required,booking.bookId AS ticket_id,
event_gallery.media_url AS event_image,booking.amount AS total_rate,
event_date_time.time,venue.location AS address,customer.name AS profile_name,
event_date_time.time,venue.location AS address,
customer.name AS profile_name,
venue.location_lng AS longitude,venue.location_lat AS latitude,
booking.no_of_ticket AS ticket_count,customer.profile_image AS profile_photo,
customer.profile_image_qr
booking.no_of_ticket AS ticket_count,
customer.profile_image AS profile_photo,
customer.profile_image_qr,booking.status
FROM events
LEFT JOIN event_gallery ON events.event_id=event_gallery.event_id AND
event_gallery.media_type=0
......
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