order module refactor
This commit is contained in:
parent
1ba83e7741
commit
6f29dabec4
|
@ -67,12 +67,13 @@
|
||||||
</vn-card>
|
</vn-card>
|
||||||
<vn-button-bar>
|
<vn-button-bar>
|
||||||
<vn-submit
|
<vn-submit
|
||||||
ng-if="watcher.dataChanged()"
|
disabled="!watcher.dataChanged()"
|
||||||
label="Save">
|
label="Save">
|
||||||
</vn-submit>
|
</vn-submit>
|
||||||
<vn-button
|
<vn-button
|
||||||
|
class="cancel"
|
||||||
label="Undo changes"
|
label="Undo changes"
|
||||||
ng-if="watcher.dataChanged()"
|
disabled="!watcher.dataChanged()"
|
||||||
ng-click="watcher.loadOriginalData()">
|
ng-click="watcher.loadOriginalData()">
|
||||||
</vn-button>
|
</vn-button>
|
||||||
</vn-button-bar>
|
</vn-button-bar>
|
||||||
|
|
|
@ -3,7 +3,14 @@
|
||||||
<vn-order-create-card vn-id="card" on-save=""></vn-order-create-card>
|
<vn-order-create-card vn-id="card" on-save=""></vn-order-create-card>
|
||||||
</vn-card>
|
</vn-card>
|
||||||
<vn-button-bar>
|
<vn-button-bar>
|
||||||
<vn-submit ng-click="$ctrl.onSubmit()" label="Create">
|
<vn-submit
|
||||||
|
ng-click="$ctrl.onSubmit()"
|
||||||
|
label="Create">
|
||||||
</vn-submit>
|
</vn-submit>
|
||||||
|
<vn-button
|
||||||
|
class="cancel"
|
||||||
|
label="Cancel"
|
||||||
|
ui-sref="order.index">
|
||||||
|
</vn-button>
|
||||||
</vn-button-bar>
|
</vn-button-bar>
|
||||||
</div>
|
</div>
|
Loading…
Reference in New Issue