|
|
<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
|
|
|
|
|
|
<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" data-rule="required" class="form-control" 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">{:__('Contact')}:</label>
|
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
<input id="c-contact" data-rule="required" class="form-control" name="row[contact]" type="text" value="{$row.contact|htmlentities}">
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Mobile')}:</label>
|
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
<input id="c-mobile" data-rule="required" class="form-control" name="row[mobile]" type="text" value="{$row.mobile|htmlentities}">
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Remark')}:</label>
|
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
<input id="c-remark" data-rule="required" class="form-control" name="row[remark]" type="text" value="{$row.remark|htmlentities}">
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Total_price')}:</label>
|
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
<input id="c-total_price" data-rule="required" class="form-control" step="0.01" name="row[total_price]" type="number" value="{$row.total_price|htmlentities}">
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Pay_price')}:</label>
|
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
<input id="c-pay_price" data-rule="required" class="form-control" step="0.01" name="row[pay_price]" type="number" value="{$row.pay_price|htmlentities}">
|
|
|
</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">
|
|
|
|
|
|
<div class="radio">
|
|
|
{foreach name="payStatusList" item="vo"}
|
|
|
<label for="row[pay_status]-{$key}"><input id="row[pay_status]-{$key}" name="row[pay_status]" type="radio" value="{$key}" {in name="key" value="$row.pay_status"}checked{/in} /> {$vo}</label>
|
|
|
{/foreach}
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
</div>
|
|
|
<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" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[pay_time]" type="text" value="{:$row.pay_time?datetime($row.pay_time):''}">
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Join_status')}:</label>
|
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
|
|
|
<div class="radio">
|
|
|
{foreach name="joinStatusList" item="vo"}
|
|
|
<label for="row[join_status]-{$key}"><input id="row[join_status]-{$key}" name="row[join_status]" type="radio" value="{$key}" {in name="key" value="$row.join_status"}checked{/in} /> {$vo}</label>
|
|
|
{/foreach}
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Transaction_id')}:</label>
|
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
<input id="c-transaction_id" data-rule="required" data-source="transaction/index" class="form-control selectpage" name="row[transaction_id]" type="text" value="{$row.transaction_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" data-rule="required" data-source="user/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">{:__('House_activity_id')}:</label>
|
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
<input id="c-house_activity_id" data-rule="required" data-source="house/activity/index" class="form-control selectpage" name="row[house_activity_id]" type="text" value="{$row.house_activity_id|htmlentities}">
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Price')}:</label>
|
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
<input id="c-price" data-rule="required" class="form-control" step="0.01" name="row[price]" type="number" value="{$row.price|htmlentities}">
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Total_num')}:</label>
|
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
<input id="c-total_num" data-rule="required" class="form-control" name="row[total_num]" type="number" value="{$row.total_num|htmlentities}">
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Title')}:</label>
|
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
<input id="c-title" data-rule="required" class="form-control" name="row[title]" type="text" value="{$row.title|htmlentities}">
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Content')}:</label>
|
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
<textarea id="c-content" data-rule="required" class="form-control editor" rows="5" name="row[content]" cols="50">{$row.content|htmlentities}</textarea>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Spec_type')}:</label>
|
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
|
|
|
<select id="c-spec_type" data-rule="required" class="form-control selectpicker" name="row[spec_type]">
|
|
|
{foreach name="specTypeList" item="vo"}
|
|
|
<option value="{$key}" {in name="key" value="$row.spec_type"}selected{/in}>{$vo}</option>
|
|
|
{/foreach}
|
|
|
</select>
|
|
|
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Start_time')}:</label>
|
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
<input id="c-start_time" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[start_time]" type="text" value="{:$row.start_time?datetime($row.start_time):''}">
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('End_time')}:</label>
|
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
<input id="c-end_time" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[end_time]" type="text" value="{:$row.end_time?datetime($row.end_time):''}">
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Spec_sku_id')}:</label>
|
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
<input id="c-spec_sku_id" data-rule="required" data-source="spec/sku/index" class="form-control selectpage" name="row[spec_sku_id]" type="text" value="{$row.spec_sku_id|htmlentities}">
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('House_activity_spec_id')}:</label>
|
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
<input id="c-house_activity_spec_id" data-rule="required" data-source="house/activity/spec/index" class="form-control selectpage" name="row[house_activity_spec_id]" type="text" value="{$row.house_activity_spec_id|htmlentities}">
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Activity_attr')}:</label>
|
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
<input id="c-activity_attr" data-rule="required" class="form-control" name="row[activity_attr]" type="text" value="{$row.activity_attr|htmlentities}">
|
|
|
</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-success btn-embossed disabled">{:__('OK')}</button>
|
|
|
<button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
|
|
|
</div>
|
|
|
</div>
|
|
|
</form> |
...
|
...
|
|