]
]) ?>
+ <div class="row">
+ <div class="col-12">
+ <?= \yii\grid\GridView::widget([
+ 'dataProvider' => new \yii\data\ArrayDataProvider([
+ 'allModels' => $shiftTransfer->shiftRemains
+ ]),
+ 'columns' => [
+ [
+ 'attribute' => 'group_label',
+ 'label' => 'Название группы',
+ 'value' => function($data) {
+ return $data['group_label'] ?? '';
+ },
+ ],
+ [
+ 'attribute' => 'product_guid',
+ 'label' => 'GUID продукта',
+ 'value' => function($data) {
+ return $data['product_guid'] ?? '';
+ },
+ ],
+ [
+ 'attribute' => 'retail_price',
+ 'label' => 'Розничная цена, руб',
+ 'value' => function($data) {
+ return $data['retail_price'] ?? '';
+ },
+ ],
+ [
+ 'attribute' => 'self_cost',
+ 'label' => 'Себестоимость, руб',
+ 'value' => function($data) {
+ return $data['self_cost'] ?? '';
+ },
+ ],
+ [
+ 'attribute' => 'remains_summ',
+ 'label' => 'Сумма остатков (недостача или излишек), руб',
+ 'value' => function($data) {
+ return $data['remains_summ'] ?? '';
+ },
+ ],
+ [
+ 'attribute' => 'remains_count',
+ 'label' => 'Фактические остатки кол-во',
+ 'value' => function($data) {
+ return $data['remains_count'] ?? '';
+ },
+ ],
+ [
+ 'attribute' => 'fact_and_1c_diff',
+ 'label' => 'Разница факт и по программе 1с, руб',
+ 'value' => function($data) {
+ return $data['fact_and_1c_diff'] ?? '';
+ },
+ ],
+ [
+ 'attribute' => 'remains_1c',
+ 'label' => 'Остатки по 1с, руб',
+ 'value' => function($data) {
+ return $data['remains_1c'] ?? '';
+ },
+ ],
+ ],
+ ]); ?>
+ </div>
+ </div>
+
</div>