<div class="row">
<div class="col-6">
- <?= $form->field($shiftTransfer, 'status_id')->dropDownList(ShiftTransfer::statusNames(), ['disabled' => true]) ?>
+ <?= $form->field($shiftTransfer, 'status_id')->dropDownList(ShiftTransfer::statusNames(), ['readonly' => true]) ?>
</div>
</div>
<div class="row">
'name' => 'retail_price',
'title' => 'Розничная цена, руб',
'type' => BaseColumn::TYPE_TEXT_INPUT,
- 'options' => ['type' => 'number', 'step' => 0.01, 'disabled' => true],
+ 'options' => ['type' => 'number', 'step' => 0.01, 'readonly' => true],
'value' => function($data) {
return $data['retail_price'] ?? '';
},
'name' => 'self_cost',
'title' => 'Себестоимость, руб',
'type' => BaseColumn::TYPE_TEXT_INPUT,
- 'options' => ['type' => 'number', 'step' => 0.01, 'disabled' => true],
+ 'options' => ['type' => 'number', 'step' => 0.01, 'readonly' => true],
'value' => function($data) {
return $data['self_cost'] ?? '';
},
'name' => 'remains_summ',
'title' => 'Сумма остатков (недостача или излишек), руб',
'type' => BaseColumn::TYPE_TEXT_INPUT,
- 'options' => ['type' => 'number', 'step' => 0.01, 'disabled' => true],
+ 'options' => ['type' => 'number', 'step' => 0.01, 'readonly' => true],
'value' => function($data) {
return $data['remains_summ'] ?? '';
},
'name' => 'fact_and_1c_diff',
'title' => 'Разница факт и по программе 1с, шт',
'type' => BaseColumn::TYPE_TEXT_INPUT,
- 'options' => ['type' => 'number', 'step' => 0.01, 'disabled' => true],
+ 'options' => ['type' => 'number', 'step' => 0.01, 'readonly' => true],
'value' => function($data) {
return $data['fact_and_1c_diff'] ?? '';
},
'name' => 'remains_1c',
'title' => 'Остатки по 1с, шт',
'type' => BaseColumn::TYPE_TEXT_INPUT,
- 'options' => ['type' => 'number', 'step' => 0.01, 'disabled' => true],
+ 'options' => ['type' => 'number', 'step' => 0.01, 'readonly' => true],
'value' => function($data) {
return $data['remains_1c'] ?? '';
},