75 lines
3.7 KiB
HTML
75 lines
3.7 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">{:__('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>
|
||
|
|
||
|
<div class="form-group">
|
||
|
<label class="control-label col-xs-12 col-sm-2">{:__('Data_id_0')}:</label>
|
||
|
<div class="col-xs-12 col-sm-8">
|
||
|
<input id="c-data_id" min="0" disabled data-source="xilufitness/activity/recharge" data-field="recharge_amount" class="form-control selectpage" name="row[data_id]" type="text" value="{$row.data_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" readonly 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" readonly name="row[order_no]" type="text" value="{$row.order_no|htmlentities}">
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<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" class="form-control" readonly 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">{:__('Total_amount')}:</label>
|
||
|
<div class="col-xs-12 col-sm-8">
|
||
|
<input id="c-total_amount" min="0" class="form-control" readonly step="0.01" name="row[total_amount]" type="number" value="{$row.total_amount|htmlentities}">
|
||
|
</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" readonly 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">
|
||
|
<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">{:__('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 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>
|