TicketType::STATUS_ACTIVE ,'installment_enabled' => '1']); $types = HtmlHelper::mkTicketTypeOptions($types); $discounts = Discount::read(); $discounts = ['' => ''] + HtmlHelper::mkDiscountOptions($discounts); ?>

Szerződés létrehozása

field($model, 'name')->textInput() ?>
field($model, 'mothername')->textInput() ?>
field($model, 'birthdate')->widget(DatePicker::classname(), [ 'pluginOptions' => [ 'autoclose'=>true, 'format' => 'yyyy.mm.dd' ] ]) ?>
field($model, 'birthplace')->textInput() ?>
field($model, 'zip')->textInput() ?>
field($model, 'city')->textInput() ?>
field($model, 'address')->textInput() ?>
field($model, 'bank_name')->textInput() ?>
field($model, 'bank_account')->textInput() ?>
field($model, 'phone')->textInput() ?>
field($model, 'email')->textInput() ?>
field($model, 'ticket_type')->dropDownList($types) ?>
field($model, 'payment_method')->dropDownList(Transfer::paymentMethods()) ?>
field($model, 'id_discount')->dropDownList( $discounts ) ?>
'btn btn-success' ]) ?>