From: Vladimir Fomichev Date: Wed, 11 Sep 2024 06:45:15 +0000 (+0300) Subject: чистка кода X-Git-Tag: 1.5~26^2 X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=2a2f019b60c4bbd3952c02aaabb0e2dee9e17764;p=erp24_rep%2Fyii-erp24%2F.git чистка кода --- diff --git a/erp24/actions/cabinet/IndexAction.php b/erp24/actions/cabinet/IndexAction.php index 07ca447e..26bf671f 100755 --- a/erp24/actions/cabinet/IndexAction.php +++ b/erp24/actions/cabinet/IndexAction.php @@ -116,12 +116,10 @@ class IndexAction extends Action if (empty($daysSearchForm->dateFrom)) { $daysSearchForm->dateFrom = $dateFrom; - } if (empty($daysSearchForm->dateTo)) { $daysSearchForm->dateTo = $dateTo; - } $dateFrom = $daysSearchForm->dateFrom; diff --git a/erp24/views/cabinet202310/_search_form.php b/erp24/views/cabinet202310/_search_form.php index 2a6d6261..6ffe56c0 100755 --- a/erp24/views/cabinet202310/_search_form.php +++ b/erp24/views/cabinet202310/_search_form.php @@ -19,9 +19,6 @@ $searchForm = \yii\widgets\ActiveForm::begin([ 'validationUrl' => 'validate', 'options' => ['enctype' => 'multipart/form-data'] ]); ?> - - -