<?php

use yii\helpers\Html;
use yii\widgets\ActiveForm;

/* @var $this yii\web\View */
/* @var $model backend\models\ContractSearch */
/* @var $form yii\widgets\ActiveForm */
?>

<div class="contract-search">

    <?php $form = ActiveForm::begin([
        'action' => ['index'],
        'method' => 'get',
    ]); ?>
    
    <div class="row">
	    <div class="col-md-3">
		    <?= $form->field($model, 'id_contract')->label('Szerződés azonosító') ?>
	    </div>
	    <div class="col-md-3">
		    <?= $form->field($model, 'id_customer')->label('Vendég azonosító') ?>
	    </div>
	    <div class="col-md-3">
		    <?= $form->field($model, 'customer_name')->label('Vendég neve') ?>
	    </div>
	    <div class="col-md-3">
	    </div>
    </div>



    <div class="form-group">
        <?= Html::submitButton("Keresés", ['class' => 'btn btn-primary']) ?>
    </div>

    <?php ActiveForm::end(); ?>

</div>
