?> " class="btn btn-default"><i class="glyphicon glyphicon-eye-open"></i> <?php echo \Yii::t('skeeks/shop/app', 'Changelog'); ?> </a> <? $createModal = \yii\bootstrap\Modal::begin([ 'id' => 'sx-price-change-' . $widget->id, 'size' => \yii\bootstrap\Modal::SIZE_LARGE, 'header' => '<b>' . \Yii::t('skeeks/shop/app', 'The history of the availability of product') . '</b>', 'footer' => ' <button type="button" class="btn btn-default" data-dismiss="modal">' . \Yii::t('skeeks/admin', 'Close') . '</button> ', ]); ?> <? \skeeks\cms\widgets\Pjax::begin([ 'enablePushState' => false, ]); ?> <?php echo \yii\grid\GridView::widget(['dataProvider' => new \yii\data\ActiveDataProvider(['query' => $widget->product->getShopProductQuantityChanges(), 'pagination' => ['pageSize' => 10, 'pageParam' => 'page-' . $widget->id]]), 'columns' => [['class' => \skeeks\cms\grid\CreatedAtColumn::className(), 'label' => \Yii::t('skeeks/shop/app', 'Date and time changes')], 'quantity', 'quantity_reserved', 'measure_ratio', ['class' => \yii\grid\DataColumn::class, 'attribute' => 'measure_id', 'value' => function (\skeeks\cms\shop\models\ShopProductQuantityChange $shopProductQuantityChange) { return $shopProductQuantityChange->measure->name; }], ['class' => \skeeks\cms\grid\CreatedByColumn::className()]]]); ?> <? \skeeks\cms\widgets\Pjax::end(); ?> <? \yii\bootstrap\Modal::end();?> <? endif; ?>