KSSTM Ticket
invoice_date;
$invoice_month = date('m',strtotime($invoice_date));
$invoice_year = date('Y',strtotime($invoice_date));
$invoice_no = $invoice->invoice_no;
$org_code = $invoice->organisation->short_code;
if($invoice_month<4)
$invoice_year--;
$nextyear = $invoice_year+1;
$invoice_number = $org_code.'/'.$invoice_no.'/'.$invoice_year.'-'.$nextyear;
?>
addLoop($__currentLoopData); foreach($__currentLoopData as $ticket): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
facility->short_code.'/'.$ticket->ticket_no.'/'.$invoice_year.'-'.$nextyear;
$secretkey='KSSTM'.$ticket_number.$invoice_date;
$secretmd5 = md5($secretkey);
$qr_string=$ticket_number.'~'.$invoice_date.'~'.'Adult:'.$ticket->noof_adult.'~'.'Child:'.$ticket->noof_child.'~'.'Secret:'.$secretmd5;
?>
); ?>) |
invoice->organisation->organisation_name)): ?>
invoice->organisation->organisation_name;
?>
invoice->organisation->addess1)): ?>
invoice->organisation->addess1;
?>
invoice->organisation->addess2)): ?>
invoice->organisation->addess2;
?>
invoice->organisation->city)): ?>
invoice->organisation->city;
?>
invoice->organisation->pincode)): ?>
invoice->organisation->pincode;
?>
invoice->organisation->phone_number)): ?>
invoice->organisation->phone_number;
?>
PH :
|
invoice->visitor_name): ?>
| Visitor |
: |
invoice->visitor_name); ?> invoice->visitor_phone_number): ?> , invoice->visitor_phone_number); ?> |
| Ticket # |
: |
/facility->short_code); ?>/ticket_no); ?>/- |
| Date |
: |
show_date))); ?> |
| Center |
: |
organisation->organisation_name); ?>, organisation->city); ?> |
facility->facility_name); ?>
facility->timedshowflag): ?>
| Time: | : | showtime->from_time))); ?> |
| |
Qty |
Unit Rate |
Sub Total |
| Adult |
noof_adult): ?> noof_adult); ?> 0 |
noof_adult): ?> adult_rate,0)); ?> - |
noof_adult): ?> noof_adult * $ticket->adult_rate; ?> - |
| Child |
noof_child): ?> noof_child); ?> 0 |
noof_child): ?> child_rate,0)); ?> - |
noof_child): ?> noof_child * $ticket->child_rate; ?> - |
| Total |
noof_adult+$ticket->noof_child; ?> |
Amount |
₹amount,0)); ?> |
| Payment | : | invoice->payment_type==1): ?>
invoice->paymentmethod->method); ?>
(₹ amount,0)); ?>/-)
|
facility->fixedseatflag): ?>
| Seats |
addLoop($__currentLoopData); foreach($__currentLoopData as $rowseatname): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
popLoop(); $loop = $__env->getLastLoop(); ?>
";
}
$d++;
}
?> |
facility->timedshowflag): ?>
| Report atleast 15 minutes before show time. |
popLoop(); $loop = $__env->getLastLoop(); ?>