- <form id="add-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">{:__('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="0">
- </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="{:date('Y-m-d H:i:s')}">
- </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="{:date('Y-m-d H:i:s')}">
- </div>
- </div>
- <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="">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Prod_type')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-prod_type" data-rule="required" class="form-control" name="row[prod_type]" type="text" value="">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Order_detail_id')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-order_detail_id" data-rule="required" data-source="order/detail/index" class="form-control selectpage" name="row[order_detail_id]" type="text" value="">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Group_id')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-group_id" data-rule="required" data-source="group/index" class="form-control selectpage" name="row[group_id]" type="text" value="">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Pro_name')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-pro_name" data-rule="required" class="form-control" name="row[pro_name]" type="text" value="">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Item_name')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-item_name" data-rule="required" class="form-control" name="row[item_name]" type="text" value="">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Item_unit')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-item_unit" data-rule="required" class="form-control" name="row[item_unit]" type="text" value="">
- </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="{:date('Y-m-d')}">
- </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="{:date('Y-m-d')}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Count')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-count" data-rule="required" class="form-control" name="row[count]" type="number" value="1">
- </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="0.00">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Supplier_name')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-supplier_name" data-rule="required" class="form-control" name="row[supplier_name]" type="text">
- </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="0.00">
- </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="0.00">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Receipt_status')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-receipt_status" data-rule="required" class="form-control" name="row[receipt_status]" type="number" value="0">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Receipt_id')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-receipt_id" data-rule="required" data-source="receipt/index" class="form-control selectpage" name="row[receipt_id]" type="text" value="">
- </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">
- <input id="c-pay_status" data-rule="required" class="form-control" name="row[pay_status]" type="number" value="0">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Payment_id')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-payment_id" data-rule="required" data-source="payment/index" class="form-control selectpage" name="row[payment_id]" type="text" value="">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Purchase_user_id')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-purchase_user_id" data-rule="required" data-source="purchase/user/index" class="form-control selectpage" name="row[purchase_user_id]" type="text" value="">
- </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>
|