<?php

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

/* @var $this yii\web\View */
/* @var $model backend\models\search\OrderSearch */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="box box-success">
    <div class="box-header" style="display:none;">
        <h2 class="box-title">order搜索</h2>
        <div class="box-tools">
            <button class="btn btn-box-tool" data-widget="collapse" data-toggle="tooltip" data-original-title=""
                    title=""><i class="fa fa-minus"></i></button>
        </div>
    </div>
    <div class="box-body">

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

        <!--            --><? //= $form->field($model, 'id') ?>


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

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

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

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

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

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

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

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

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

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

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

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

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


        <?= $form->field($model, 'status')->dropDownList(\common\models\Order::getStatusList(), ['prompt' => '请选择']) ?>

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

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

    </div>
</div>
