Fix hide reception cart
- add property user_cart_on - add property product_sale_default_focus - add property ticket_create-price_editable - add discount product/ticket enabled
This commit is contained in:
@@ -7,6 +7,7 @@ use frontend\assets\TicketSellAsset;
|
||||
use common\models\TicketType;
|
||||
use yii\helpers\Url;
|
||||
use frontend\components\ReceptionWidget;
|
||||
use common\components\Helper;
|
||||
|
||||
|
||||
/* @var $this yii\web\View */
|
||||
@@ -68,7 +69,11 @@ $this->registerJs ( 'new TicketSell( '. json_encode($options).');' );
|
||||
<?php if ( $receptionForm->isCardWithCustomer() ){ ?>
|
||||
<?php echo $this->render('_customer_cart' ,['model' => $receptionForm]) ?>
|
||||
<?php }?>
|
||||
<?php echo $this->render('_user_cart' ) ?>
|
||||
<?php
|
||||
if ( Helper::isUserCartOn() ) {
|
||||
echo $this->render('_user_cart' ) ;
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user