From f45b69aba7f38bf6a4d1b968bf5b20854658d414 Mon Sep 17 00:00:00 2001 From: Alexander Smirnov Date: Wed, 15 Jan 2025 17:35:00 +0300 Subject: [PATCH] =?utf8?q?[ERP-272]=20=D1=81=D0=BA=D1=80=D0=BE=D0=BB=D0=BB?= =?utf8?q?=20=D0=BA=20=D1=81=D1=82=D0=BE=D0=BB=D1=83,=20min=20=D0=BA=20?= =?utf8?q?=D0=BD=D0=B0=D0=BC=D0=B1=D0=B5=D1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- erp24/views/sales-write-offs-plan/index.php | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/erp24/views/sales-write-offs-plan/index.php b/erp24/views/sales-write-offs-plan/index.php index 76cca00a..3cc7603d 100644 --- a/erp24/views/sales-write-offs-plan/index.php +++ b/erp24/views/sales-write-offs-plan/index.php @@ -17,6 +17,12 @@ use yii_app\records\SalesWriteOffsPlan; $this->registerJsFile('/js/sales-write-offs-plan/index.js', ['position' => \yii\web\View::POS_END]); +$this->registerCss(' +input[type=number], [name=total_sales_plan] { + max-width: 100px; +} +'); + function colorScheme1($p) { $p = round(100 * $p); if ($p <= 90) { return 'red'; } @@ -53,6 +59,7 @@ function colorScheme2($p) { +
@@ -80,32 +87,32 @@ function colorScheme2($p) { ?> - + - + - + - + - +
МагазиныTotalОффлайн торговляОнлайн торговля
name ?>id) ?> 'number', 'readonly' => true]) ?> true, 'style' => 'background: lightgray;']) ?> % 'number', 'onchange' => 'editField(this);']) ?> 'number', 'min' => 0, 'onchange' => 'editField(this);']) ?> % 'number', 'onchange' => 'editField(this);']) ?> 'number', 'min' => 0, 'onchange' => 'editField(this);']) ?> % 'number', 'onchange' => 'editField(this);']) ?> 'number', 'min' => 0, 'onchange' => 'editField(this);']) ?> % 'number', 'onchange' => 'editField(this);']) ?> 'number', 'min' => 0, 'onchange' => 'editField(this);']) ?> @@ -115,4 +122,5 @@ function colorScheme2($p) {
+
-- 2.39.5