|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166 |
- <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_id')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-order_id" data-rule="required" data-source="order/index" class="form-control selectpage" name="row[order_id]" type="text" value="{$row.order_id|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Hotel_id')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-hotel_id" data-rule="required" data-source="hotel/index" class="form-control selectpage" name="row[hotel_id]" type="text" value="{$row.hotel_id|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Hotel_name')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-hotel_name" data-rule="required" class="form-control" name="row[hotel_name]" type="text" value="{$row.hotel_name|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Hotel_phone')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-hotel_phone" data-rule="required" class="form-control" name="row[hotel_phone]" type="text" value="{$row.hotel_phone|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Country_name')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-country_name" data-rule="required" class="form-control" name="row[country_name]" type="text" value="{$row.country_name|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Province_name')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-province_name" data-rule="required" class="form-control" name="row[province_name]" type="text" value="{$row.province_name|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('City_name')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-city_name" data-rule="required" class="form-control" name="row[city_name]" type="text" value="{$row.city_name|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Detail_address')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-detail_address" data-rule="required" class="form-control" name="row[detail_address]" type="text" value="{$row.detail_address|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Room_id')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-room_id" data-rule="required" data-source="room/index" class="form-control selectpage" name="row[room_id]" type="text" value="{$row.room_id|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Room_name')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-room_name" data-rule="required" class="form-control" name="row[room_name]" type="text" value="{$row.room_name|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Room_memo')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-room_memo" data-rule="required" class="form-control" name="row[room_memo]" type="text" value="{$row.room_memo|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Plan_id')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-plan_id" data-rule="required" data-source="plan/index" class="form-control selectpage" name="row[plan_id]" type="text" value="{$row.plan_id|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Plan_name')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-plan_name" data-rule="required" class="form-control" name="row[plan_name]" type="text" value="{$row.plan_name|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Plan_memo')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-plan_memo" data-rule="required" class="form-control" name="row[plan_memo]" type="text" value="{$row.plan_memo|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Check_in_date')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-check_in_date" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[check_in_date]" type="text" value="{$row.check_in_date}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Check_out_date')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-check_out_date" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[check_out_date]" type="text" value="{$row.check_out_date}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Prod_num')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-prod_num" data-rule="required" class="form-control" name="row[prod_num]" type="number" value="{$row.prod_num|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">{:__('Total_cost')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-total_cost" data-rule="required" class="form-control" step="0.01" name="row[total_cost]" type="number" value="{$row.total_cost|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Profit')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-profit" data-rule="required" class="form-control" step="0.01" name="row[profit]" type="number" value="{$row.profit|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Log')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-log" data-rule="required" class="form-control" name="row[log]" type="text" value="{$row.log|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Del_flag')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-del_flag" data-rule="required" class="form-control" name="row[del_flag]" type="number" value="{$row.del_flag|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Create_time')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-create_time" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[create_time]" type="text" value="{:$row.create_time?datetime($row.create_time):''}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Update_time')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-update_time" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[update_time]" type="text" value="{:$row.update_time?datetime($row.update_time):''}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Confirm_status')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-confirm_status" data-rule="required" class="form-control" name="row[confirm_status]" type="number" value="{$row.confirm_status|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Confirm_no')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-confirm_no" data-rule="required" class="form-control" name="row[confirm_no]" type="text" value="{$row.confirm_no|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>
|