]> gitweb.erp-flowers.ru Git - erp24_rep/yii-erp24/.git/commitdiff
ERP-426 Расширение тестовой группы магазинов при редактировании списания
authormarina <m.zozirova@gmail.com>
Tue, 10 Jun 2025 14:12:32 +0000 (17:12 +0300)
committermarina <m.zozirova@gmail.com>
Tue, 10 Jun 2025 14:12:32 +0000 (17:12 +0300)
erp24/views/write_offs_erp/_form.php

index c7a1b1ec0ceaeba1e804e0950c1d6bea4aa7b36b..fac7806634e9b7c6e980d589ecaa80c9018d8a69 100644 (file)
@@ -152,11 +152,14 @@ $this->registerJsFile('/js/heic_to_jpg_replace.js', ['position' => \yii\web\View
                 ],
                 [
                     'name' => 'quantity',
-                    'type' => 'number',
+                    'type' => 'text',
                     'title' => 'Количество',
-                    'options' => [
+                    'defaultOptions' => [
+                        'type' => 'number',
                         'class' => 'form-control',
                         'placeholder' => 'Введите количество',
+                        'min' => 0,
+                        'step' => 1,
                     ],
                 ],
                 [