-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2ff79fe
commit cf4ac41
Showing
3 changed files
with
47 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<?php | ||
|
||
use hipanel\modules\client\widgets\combo\ClientCombo; | ||
use hipanel\widgets\AdvancedSearch; | ||
use hiqdev\combo\StaticCombo; | ||
use yii\helpers\Html; | ||
|
||
?> | ||
|
||
<?php $form = AdvancedSearch::begin(compact('model')) ?> | ||
<div class="col-md-4"> | ||
<?= $form->field('login_like') ?> | ||
</div> | ||
|
||
<div class="col-md-4"> | ||
<?= $form->field('client_id')->widget(ClientCombo::classname()) ?> | ||
<?= $form->field('seller_id')->widget(ClientCombo::classname()) ?> | ||
</div> | ||
|
||
<div class="col-md-4"> | ||
<?= $form->field('state')->widget(StaticCombo::classname(), [ | ||
'data' => $state_data, | ||
'hasId' => true, | ||
'pluginOptions' => [ | ||
'select2Options' => [ | ||
'multiple' => true, | ||
] | ||
], | ||
]) ?> | ||
</div> | ||
|
||
<div class="col-md-12"> | ||
<?= Html::submitButton(Yii::t('app', 'Search'), ['class' => 'btn btn-primary']) ?> | ||
</div> | ||
|
||
<?php $form::end() ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters