From: Vladimir Fomichev Date: Wed, 11 Sep 2024 06:43:42 +0000 (+0300) Subject: чистка кода X-Git-Tag: 1.5~26^2~1 X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=c0b064b47515090cadf8353c3355a5c3d5982b5d;p=erp24_rep%2Fyii-erp24%2F.git чистка кода --- diff --git a/erp24/actions/cabinet/IndexAction.php b/erp24/actions/cabinet/IndexAction.php index fceab665..07ca447e 100755 --- a/erp24/actions/cabinet/IndexAction.php +++ b/erp24/actions/cabinet/IndexAction.php @@ -116,12 +116,12 @@ class IndexAction extends Action if (empty($daysSearchForm->dateFrom)) { $daysSearchForm->dateFrom = $dateFrom; - // $daysSearchForm->dateFrom = date("Y-08-01", time()); + } if (empty($daysSearchForm->dateTo)) { $daysSearchForm->dateTo = $dateTo; - // $daysSearchForm->dateTo = date("Y-08-21", time()); + } $dateFrom = $daysSearchForm->dateFrom; diff --git a/erp24/views/cabinet202310/_search_form.php b/erp24/views/cabinet202310/_search_form.php index e19cdcc6..2a6d6261 100755 --- a/erp24/views/cabinet202310/_search_form.php +++ b/erp24/views/cabinet202310/_search_form.php @@ -20,12 +20,7 @@ $searchForm = \yii\widgets\ActiveForm::begin([ 'options' => ['enctype' => 'multipart/form-data'] ]); ?> - +