DiverseYouthNightSchool/application/admin/view/xilufitness/order/personal/edit.html

105 lines
5.4 KiB
HTML

<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
<input type="hidden" name="row[brand_id]" value="{$row.brand_id|htmlentities}"/>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Shop_id')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-shop_id" min="0" disabled data-source="xilufitness/shop/index" data-field="shop_name" class="form-control selectpage" name="row[shop_id]" type="text" value="{$row.shop_id|htmlentities}">
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('User_id')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-user_id" min="0" disabled data-source="xilufitness/user/index" data-field="nickname" class="form-control selectpage" name="row[user_id]" type="text" value="{$row.user_id|htmlentities}">
</div>
</div>
{if condition="!empty($row['coupon_id'])"}
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Coupon_id')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-coupon_id" min="0" disabled data-source="xilufitness/activity/coupon" data-field="title" class="form-control selectpage" name="row[coupon_id]" type="text" value="{$row.coupon_id|htmlentities}">
</div>
</div>
{/if}
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Coach_id')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-coach_id" min="0" disabled data-source="xilufitness/coach/index" data-field="coach_name" class="form-control selectpage" name="row[coach_id]" type="text" value="{$row.coach_id|htmlentities}">
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Course_camp_id')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-course_camp_id" min="0" disabled data-source="xilufitness/course/index" data-field="title" class="form-control selectpage" name="row[course_camp_id]" type="text" value="{$row.course_camp_id|htmlentities}">
</div>
</div>
{if condition="!empty($row['trade_no'])"}
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Trade_no')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-trade_no" class="form-control" disabled name="row[trade_no]" type="text" value="{$row.trade_no|htmlentities}">
</div>
</div>
{/if}
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Order_no')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-order_no" class="form-control" disabled name="row[order_no]" type="text" value="{$row.order_no|htmlentities}">
</div>
</div>
{if condition="!empty($row['coupon_amount'])"}
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Coupon_amount')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-coupon_amount" min="0" disabled class="form-control" step="0.01" name="row[coupon_amount]" type="number" value="{$row.coupon_amount|htmlentities}">
</div>
</div>
{/if}
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Pay_amount')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-pay_amount" disabled class="form-control" step="0.01" name="row[pay_amount]" type="number" value="{$row.pay_amount|htmlentities}">
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Pay_type')}:</label>
<div class="col-xs-12 col-sm-8">
{:Form::radios("row[pay_type]",[0 => __('free_pay'), 1 => __('card_pay'), 2 => __('wechat_pay')],$row.pay_type,['disabled' => true])}
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Pay_status')}:</label>
<div class="col-xs-12 col-sm-8">
{:Form::radios("row[pay_status]",[0 => __('pay_status_0'), 1 => __('pay_status_1')],$row.pay_status,['disabled' => true])}
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Order_status')}:</label>
<div class="col-xs-12 col-sm-8">
{:Form::radios("row[order_status]",[0 => __('Order_status_0'), 1 => __('Order_status_1'), 2 => __('Order_status_2'), 3 => __('Order_status_3'), 4 => __('Order_status_4'), 5 => __('Order_status_5'), 6 => __('Order_status_6'), 10 => __('Order_status_10')],$row.order_status,['disabled' => true])}
</div>
</div>
{if condition="!empty($row['pay_time'])"}
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Pay_time')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-pay_time" disabled class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" type="text" value="{:$row.pay_time?datetime($row.pay_time):''}">
</div>
</div>
{/if}
<div class="form-group layer-footer">
<label class="control-label col-xs-12 col-sm-2"></label>
<div class="col-xs-12 col-sm-8">
<button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
</div>
</div>
</form>