card) ){ $options['url_pay_customer_card'] = Url::toRoute(['product/payout-customer-cart','number' => $model->card->number]); $options['customer_cart'] = $model->customerCart; } $options['discounts'] = Discount::modelsToArray($discounts); $options['id_account'] = Account::readDefault(); $this->registerJs ( 'new ProductSell( '. json_encode($options).');' ); $this->params['breadcrumbs'][] = Yii::t('frontend/product', 'Products') ; $this->params['breadcrumbs'][] = Yii::t('frontend/product', 'Sale'); ?> $receptionForm, 'route' => ['customer/reception'] ] )?>