add_additional_fields
This commit is contained in:
@ -4,11 +4,13 @@
|
||||
namespace backend\widgets;
|
||||
|
||||
|
||||
use common\classes\Debug;
|
||||
use yii\base\Widget;
|
||||
|
||||
class DateRangeWidget extends Widget
|
||||
{
|
||||
public $model;
|
||||
public $range_attribute;
|
||||
|
||||
public function run()
|
||||
{
|
||||
|
@ -4,6 +4,7 @@
|
||||
namespace backend\widgets;
|
||||
|
||||
|
||||
use common\classes\Debug;
|
||||
use yii\base\Widget;
|
||||
|
||||
class SummRangeWidget extends Widget
|
||||
|
@ -9,6 +9,7 @@ echo DatePicker::widget([
|
||||
'attribute' => 'dt_from',
|
||||
'language' => 'ru',
|
||||
'dateFormat' => 'dd-MM-yyyy',
|
||||
'options' => ['placeholder' => 'Выберите дату (От)'],
|
||||
]);
|
||||
|
||||
echo " - ";
|
||||
@ -18,4 +19,5 @@ echo DatePicker::widget([
|
||||
'attribute' => 'dt_to',
|
||||
'language' => 'ru',
|
||||
'dateFormat' => 'dd-MM-yyyy',
|
||||
'options' => ['placeholder' => 'Выберите дату (До)'],
|
||||
]);
|
Reference in New Issue
Block a user