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>
|
2019-10-04 22:16:57 +00:00
|
|
|
<div class="vn-pa-md">
|
2019-02-05 15:46:02 +00:00
|
|
|
<vn-horizontal>
|
2019-10-08 21:57:02 +00:00
|
|
|
<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
|
2019-10-24 22:53:53 +00:00
|
|
|
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
|
2019-10-24 22:53:53 +00:00
|
|
|
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>
|
2019-10-08 21:57:02 +00:00
|
|
|
<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"
|
2019-10-08 21:57:02 +00:00
|
|
|
step="0.01"
|
|
|
|
rule>
|
2019-03-26 06:29:45 +00:00
|
|
|
</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>
|