|
|
@@ -0,0 +1,84 @@ |
|
|
|
<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">{:__('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">{:__('Create_id')}:</label> |
|
|
|
<div class="col-xs-12 col-sm-8"> |
|
|
|
<input id="c-create_id" data-rule="required" data-source="create/index" class="form-control selectpage" name="row[create_id]" type="text" value="{$row.create_id|htmlentities}"> |
|
|
|
</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="{$row.group_id|htmlentities}"> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="form-group"> |
|
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Supplier_id')}:</label> |
|
|
|
<div class="col-xs-12 col-sm-8"> |
|
|
|
<input id="c-supplier_id" data-rule="required" data-source="supplier/index" class="form-control selectpage" name="row[supplier_id]" type="text" value="{$row.supplier_id|htmlentities}"> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="form-group"> |
|
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Balance')}:</label> |
|
|
|
<div class="col-xs-12 col-sm-8"> |
|
|
|
<input id="c-balance" data-rule="required" class="form-control" step="0.01" name="row[balance]" type="number" value="{$row.balance|htmlentities}"> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="form-group"> |
|
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Payment_ids')}:</label> |
|
|
|
<div class="col-xs-12 col-sm-8"> |
|
|
|
<input id="c-payment_ids" data-rule="required" data-source="payment/index" data-multiple="true" class="form-control selectpage" name="row[payment_ids]" type="text" value="{$row.payment_ids|htmlentities}"> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="form-group"> |
|
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Memo')}:</label> |
|
|
|
<div class="col-xs-12 col-sm-8"> |
|
|
|
<input id="c-memo" data-rule="required" class="form-control" name="row[memo]" type="text" value="{$row.memo|htmlentities}"> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="form-group"> |
|
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('File')}:</label> |
|
|
|
<div class="col-xs-12 col-sm-8"> |
|
|
|
<div class="input-group"> |
|
|
|
<input id="c-file" data-rule="required" class="form-control" size="50" name="row[file]" type="text" value="{$row.file|htmlentities}"> |
|
|
|
<div class="input-group-addon no-border no-padding"> |
|
|
|
<span><button type="button" id="faupload-file" class="btn btn-danger faupload" data-input-id="c-file" data-multiple="false" data-preview-id="p-file"><i class="fa fa-upload"></i> {:__('Upload')}</button></span> |
|
|
|
<span><button type="button" id="fachoose-file" class="btn btn-primary fachoose" data-input-id="c-file" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span> |
|
|
|
</div> |
|
|
|
<span class="msg-box n-right" for="c-file"></span> |
|
|
|
</div> |
|
|
|
<ul class="row list-inline faupload-preview" id="p-file"></ul> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="form-group"> |
|
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Money')}:</label> |
|
|
|
<div class="col-xs-12 col-sm-8"> |
|
|
|
<input id="c-money" data-rule="required" class="form-control" step="0.01" name="row[money]" type="number" value="{$row.money|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> |