Your IP : 216.73.216.79


Current Path : /var/www/html/crm/views/invoicecash/
Upload File :
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">
        &nbsp;&nbsp;<?= Html::submitButton('Search', ['class' => 'btn btn-brand']) ?>
        &nbsp;&nbsp;<?= Html::a('Reset', ['index'], ['class' => 'btn btn-outline-brand']) ?>
        &nbsp;&nbsp;<?= Html::a('Add Invoice', ['create'], ['class' => 'btn btn-brand']) ?>
    </div>
    <?php ActiveForm::end(); ?>
</div>