<?php

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

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

<div class="ticket-type-search">

    <?php $form = ActiveForm::begin([
        'action' => ['index'],
        'method' => 'get',
    ]); ?>

    <?= $form->field($model, 'id_ticket_type') ?>

    <?= $form->field($model, 'name') ?>

    <?= $form->field($model, 'type') ?>

    <?= $form->field($model, 'max_usage_count') ?>

    <?= $form->field($model, 'time_unit_type') ?>

    <?php // echo $form->field($model, 'time_unit_count') ?>

    <?php // echo $form->field($model, 'price_brutto') ?>

    <?php // echo $form->field($model, 'id_account') ?>

    <?php // echo $form->field($model, 'flag_student') ?>

    <?php // echo $form->field($model, 'status') ?>

    <?php // echo $form->field($model, 'created_at') ?>

    <?php // echo $form->field($model, 'updated_at') ?>

    <div class="form-group">
        <?= Html::submitButton(Yii::t('common/ticket_type', 'Search'), ['class' => 'btn btn-primary']) ?>
        <?= Html::resetButton(Yii::t('common/ticket_type', 'Reset'), ['class' => 'btn btn-default']) ?>
    </div>

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

</div>
