salix/modules/client/front/balance/create/index.html

44 lines
1.4 KiB
HTML
Raw Normal View History

2020-03-30 15:30:03 +00:00
<div>
2019-02-05 15:46:02 +00:00
<tpl-body>
2020-03-30 15:30:03 +00:00
<h6 translate>New payment</h6>
<div class="vn-pa-md">
2019-02-05 15:46:02 +00:00
<vn-horizontal>
<vn-date-picker
vn-one
2019-02-05 15:46:02 +00:00
label="Date"
2019-10-09 22:47:29 +00:00
ng-model="$ctrl.receipt.payed">
2019-02-05 15:46:02 +00:00
</vn-date-picker>
2020-03-30 15:30:03 +00:00
<vn-autocomplete
vn-one
url="Companies"
2019-02-05 15:46:02 +00:00
label="Company"
show-field="code"
value-field="id"
2019-10-09 22:47:29 +00:00
ng-model="$ctrl.receipt.companyFk">
2019-02-05 15:46:02 +00:00
</vn-autocomplete>
</vn-horizontal>
<vn-horizontal>
2020-03-30 15:30:03 +00:00
<vn-autocomplete
vn-one
url="Banks"
2019-02-05 15:46:02 +00:00
label="Bank"
2019-07-04 08:34:19 +00:00
show-field="bank"
value-field="id"
2019-10-09 22:47:29 +00:00
ng-model="$ctrl.receipt.bankFk">
2019-07-04 08:34:19 +00:00
</vn-autocomplete>
<vn-input-number
vn-one
vn-focus
2019-02-05 15:46:02 +00:00
label="Amount"
2019-10-09 22:47:29 +00:00
ng-model="$ctrl.receipt.amountPaid"
step="0.01"
rule>
</vn-input-number>
2019-02-05 15:46:02 +00:00
</vn-horizontal>
</div>
</tpl-body>
2020-03-30 15:30:03 +00:00
<tpl-buttons>
<input type="button" response="cancel" translate-attr="{value: 'Cancel'}"/>
<button response="accept" translate vn-focus>Accept</button>
</tpl-buttons>
</div>