| Current Path : /var/www/html/crm/views/invoicecash/ |
| Current File : /var/www/html/crm/views/invoicecash/_search.php |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model app\models\Invoice2Search */
/* @var $form yii\widgets\ActiveForm */
$this->registerCss(".topsection-search label{margin-right:1em;}");
?>
<div class="topsection-search mt-4 mb-4">
<?php $form = ActiveForm::begin(['action' => ['index'], 'method' => 'get', 'options' => ['class' => 'form-inline form-search']]); ?>
<?= $form->field($model, 'searchstring')->textInput(); ?>
<?=
$form->field($model, 'payment_status', [
'template' => "{input}"])
->dropDownList([
'Pending' => 'Pending',
'Paid' => 'Paid',], [
'title' => '- Payment Status - ',
'class' => 'form-control kt-selectpicker ml-2',
'data-width' => '250px'
]);
?>
<?= $form->field($model, 'searchcompany')->hiddenInput()->label(false); ?>
<div class="form-group">
<?= Html::submitButton('Search', ['class' => 'btn btn-brand']) ?>
<?= Html::a('Reset', ['index'], ['class' => 'btn btn-outline-brand']) ?>
<?= Html::a('Add Invoice', ['create'], ['class' => 'btn btn-brand']) ?>
</div>
<?php ActiveForm::end(); ?>
</div>