<?php $this->params['breadcrumbs'][] = ['label' => 'แพทย์แผนไทย', 'url' => ['knott/index']]; $this->params['breadcrumbs'][] = 'รายงานอันดับการจ่ายยาสมุน'; $this->title = 'DHDC-รายงานแพทย์แผนไทย'; ?> <div class='well'> <form method="POST"> สถานบริการ: <?php $list = yii\helpers\ArrayHelper::map(frontend\models\ChospitalAmp::find()->all(), 'hoscode', 'hosname'); echo yii\helpers\Html::dropDownList('hospcode', $hospcode, $list, ['prompt' => 'ทุกสถานบริการ']); ?> ระหว่าง: <?php echo yii\jui\DatePicker::widget(['name' => 'date1', 'value' => $date1, 'language' => 'th', 'dateFormat' => 'yyyy-MM-dd', 'clientOptions' => ['changeMonth' => true, 'changeYear' => true]]); ?> ถึง: <?php echo yii\jui\DatePicker::widget(['name' => 'date2', 'value' => $date2, 'language' => 'th', 'dateFormat' => 'yyyy-MM-dd', 'clientOptions' => ['changeMonth' => true, 'changeYear' => true]]); ?> <button class='btn btn-danger'>ประมวลผล</button> </form> </div> <a href="#" id="btn_sql">ชุดคำสั่ง</a> <div id="sql" style="display: none"><?php echo $sql; ?> </div>
<div class="formItem"> <label class="titleLabel">データ確認</label> <?php echo yii\helpers\Html::dropDownList('status', isset($filters['status']) ? $filters['status'] : '', $status, array('class' => 'selectForm', 'id' => 'status')); ?> </div> <div class="formItem"> <label class="titleLabel">車両No.</label> <?php echo yii\helpers\Html::input('text', 'car', isset($filters['car']) ? $filters['car'] : '', ['class' => 'textForm', 'maxlength' => '4', 'id' => 'car']); ?> </div> <div class="formItem"> <label class="titleLabel">作業内容</label> <?php echo yii\helpers\Html::dropDownList('job', isset($filters['job']) ? $filters['job'] : '', $job, array('class' => 'selectForm', 'id' => 'selectJob')); ?> </div> </div> </section> <section class="areaSearch"> <a href="#" class="btnSearch">検索</a> </section> </form> <section class="nolineContent"> <?php if (Yii::$app->session->hasFlash('empty')) { ?> <div class="noData"><?php echo Yii::$app->session->getFlash('empty');
echo yii\jui\DatePicker::widget(['name' => 'date1', 'value' => $date1, 'language' => 'th', 'dateFormat' => 'yyyy-MM-dd', 'options' => ['placeholder' => '', 'class' => 'form-control', 'changeMonth' => true, 'changeYear' => true, 'yearRange' => '1996:2099', 'showOn' => 'button', 'buttonImageOnly' => true, 'buttonText' => 'Select date']]); ?> <!-- /input-group --> </div> <!-- /.col-lg-3 --> <div class="col-md-3"> <?php echo yii\jui\DatePicker::widget(['name' => 'date2', 'value' => $date2, 'language' => 'th', 'dateFormat' => 'yyyy-MM-dd', 'options' => ['placeholder' => '', 'class' => 'form-control', 'changeMonth' => true, 'changeYear' => true, 'yearRange' => '1996:2099', 'showOn' => 'button', 'buttonImageOnly' => true, 'buttonText' => 'Select date']]); ?> <!-- /input-group --> </div> <!-- /.col-lg-3 --> <div class="col-md-3"> <?php $list = yii\helpers\ArrayHelper::map(app\models\Hospname::find()->all(), 'id', 'hospname'); echo yii\helpers\Html::dropDownList('hospcode', $hospcode, $list, ['prompt' => 'เลือกสถานพยาบาล', 'class' => 'form-control']); ?> </div> <div class="col-md-3"> <div class="input-group"> <button class='btn btn-success'>ประมวลผล</button> </div> </div> </div> <!-- /.row --> </form>
<th></th> </tr> <?php foreach ($arProfiles as $profile => $arDescr) { ?> <tr> <td><?php echo $arDescr['name']; ?> </td> <td><?php echo $arDescr['description']; ?> </td> <td><?php echo yii\helpers\Html::dropDownList('type_prce', '', $arrPriceType, ['class' => 'btn btn-default btn-xs col-md-12 sel-prop']); ?> </td> <!--<td><button class="btn btn-success" data-profile="<?php echo $profile; ?> ">Выгрузить</button></td>--> <td style="width:143px"> <a href="/<?php echo $this->context->id; ?> /unload?profile=<?php echo $profile; ?> " class="btn btn-success hidden" data-profile="<?php echo $profile;