_search.php
1.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model common\models\CartBillsSearch */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="cart-bills-search">
    <?php $form = ActiveForm::begin([
        'action' => ['index'],
        'method' => 'get',
    ]); ?>
    <?= $form->field($model, 'id') ?>
    <?= $form->field($model, 'account_id') ?>
    <?= $form->field($model, 'manager_id') ?>
    <?= $form->field($model, 'office_id') ?>
    <?= $form->field($model, 'status')->dropDownList(\yii\helpers\ArrayHelper::map( \common\models\DicStatuses::find()->where(['active' =>1])->all(), 'id','name' )) ?>
    <?php // echo $form->field($model, 'f1') ?>
    <?php // echo $form->field($model, 'f2') ?>
    <?php // echo $form->field($model, 'f3') ?>
    <?php // echo $form->field($model, 'message') ?>
    <?php // echo $form->field($model, 'safe_bill') ?>
    <?php // echo $form->field($model, 'delivery') ?>
    <?php // echo $form->field($model, 'delivery_price') ?>
    <?php // echo $form->field($model, 'timestamp') ?>
    <div class="form-group">
        <?= Html::submitButton(Yii::t('app', 'Search'), ['class' => 'btn btn-primary']) ?>
        <?= Html::resetButton(Yii::t('app', 'Reset'), ['class' => 'btn btn-default']) ?>
    </div>
    <?php ActiveForm::end(); ?>
</div>
