<?php

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

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

<div class="cotizaciones-form">

    <?php $form = ActiveForm::begin(); ?>

    <?= $form->field($model, 'numero_orden')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'tipo_documento')->dropDownList(
        ['CLAC' => 'CLAC', 'TBS' => 'TBS'],
        ['prompt' => 'Seleccione el tipo de documento']
    ) ?>

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

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

    <?= $form->field($model, 'estado')->textInput(['maxlength' => true]) ?>

    

    <div class="form-group">
        <?= Html::submitButton('Save', ['class' => 'btn btn-success']) ?>
    </div>

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

</div>
