</h4> </div> </div> <?php if (count($model->products) > 0) { ?> <h3><?php echo Yii::t('app', 'Продукты каталога'); ?> </h3> <table class="table table-hover" > <thead> <tr class="top-table"> <th class="text-left"></th> <th><?php echo ProductsLang::model()->getAttributeLabel('name'); ?> </th> <th><?php echo Products::model()->getAttributeLabel('currency__id'); ?> </th> <th><?php echo Products::model()->getAttributeLabel('price'); ?> </th> <th><?php echo Yii::t('app', 'Операции'); ?> </th> </tr>
?> </div> </div> <div class="col-md-6 col-sm-12"> </div> </div> <div class="table-scrollable"> <table class="table table-hover"> <thead> <tr> <th><?php echo CHtml::encode(ProductsLang::model()->getAttributeLabel('name')); ?> </th> <th><?php echo CHtml::encode(Products::model()->getAttributeLabel('article')); ?> </th> <th><?php echo CHtml::encode(Products::model()->getAttributeLabel('catalogues')); ?> </th> <th><?php echo CHtml::encode(Products::model()->getAttributeLabel('price')); ?> </th> <th><?php