add hidden account, cart insert/delete
add hidden account support add delete/payout buttons to carts add backend product sales with pdf export add frontend product sales with pdf export add frontend ticket sales with pdf export
This commit is contained in:
@@ -31,6 +31,8 @@ $options['types'] = TicketType::modelsToArray($ticketTypes);
|
||||
$options['user_cart'] = $model->userCart;
|
||||
$options['customer_cart'] = $model->customerCart;
|
||||
$options['selected_type'] = count($ticketTypes) > 0 ? $ticketTypes[0]->id_ticket_type : 0;
|
||||
$options['url_delete_transaction'] = Url::toRoute(['transfer/delete']);
|
||||
$options['url_pay_transaction'] = Url::toRoute(['transfer/payout']);
|
||||
|
||||
$this->registerJs ( 'new TicketSell( '. json_encode($options).');' );
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user