2022-10-11 09:43:01 +00:00
|
|
|
<vn-watcher
|
|
|
|
vn-id="watcher"
|
2023-03-21 07:51:30 +00:00
|
|
|
url="Suppliers/newSupplier"
|
2022-10-11 09:43:01 +00:00
|
|
|
data="$ctrl.supplier"
|
2023-03-21 07:51:30 +00:00
|
|
|
params="$ctrl.supplier"
|
2022-10-11 09:43:01 +00:00
|
|
|
insert-mode="true"
|
|
|
|
form="form">
|
|
|
|
</vn-watcher>
|
|
|
|
<form name="form" ng-submit="$ctrl.onSubmit()" class="vn-w-md">
|
|
|
|
<vn-card class="vn-pa-lg">
|
|
|
|
<vn-horizontal>
|
|
|
|
<vn-textfield
|
2023-03-21 07:51:30 +00:00
|
|
|
label="Supplier name"
|
|
|
|
ng-model="$ctrl.supplier.name"
|
2022-10-11 09:43:01 +00:00
|
|
|
vn-focus>
|
|
|
|
</vn-textfield>
|
|
|
|
</vn-horizontal>
|
|
|
|
</vn-card>
|
|
|
|
<vn-button-bar>
|
|
|
|
<vn-submit
|
|
|
|
label="Create">
|
|
|
|
</vn-submit>
|
|
|
|
<vn-button
|
|
|
|
class="cancel"
|
|
|
|
label="Cancel"
|
|
|
|
ui-sref="supplier.index">
|
|
|
|
</vn-button>
|
|
|
|
</vn-button-bar>
|
|
|
|
</form>
|