fitness-web/backend/views/ticket/_search.php
2015-10-06 17:20:15 +02:00

54 lines
1.3 KiB
PHP

<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model backend\models\TicketSearch */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="ticket-search">
<?php $form = ActiveForm::begin([
'action' => ['index'],
'method' => 'get',
]); ?>
<?= $form->field($model, 'id_ticket') ?>
<?= $form->field($model, 'id_user') ?>
<?= $form->field($model, 'id_ticket_type') ?>
<?= $form->field($model, 'id_account') ?>
<?= $form->field($model, 'id_discount') ?>
<?php // echo $form->field($model, 'start') ?>
<?php // echo $form->field($model, 'end') ?>
<?php // echo $form->field($model, 'max_usage_count') ?>
<?php // echo $form->field($model, 'usage_count') ?>
<?php // echo $form->field($model, 'status') ?>
<?php // echo $form->field($model, 'price_brutto') ?>
<?php // echo $form->field($model, 'comment') ?>
<?php // echo $form->field($model, 'created_at') ?>
<?php // echo $form->field($model, 'updated_at') ?>
<div class="form-group">
<?= Html::submitButton(Yii::t('common/ticket', 'Search'), ['class' => 'btn btn-primary']) ?>
<?= Html::resetButton(Yii::t('common/ticket', 'Reset'), ['class' => 'btn btn-default']) ?>
</div>
<?php ActiveForm::end(); ?>
</div>