-
-
Save anonymous/5c66c9d53682a9bf83ea1fd70a078f78 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="ui main text container", ng-controller="PoController as ctrl"> | |
<form class="ui form" ng-submit="ctrl.submit()" name="myForm"> | |
<h4 class="ui dividing header">Production order information</h4> | |
<div class="field"> | |
<label> </label> | |
<div class="two fields"> | |
<div class="field"> | |
<input type="text" ng-model="ctrl.order.id" placeholder="Production order id"> | |
</div> | |
<div class="field"> | |
<input type="text" ng-model="ctrl.order.item" placeholder="Item id"> | |
</div> | |
</div> | |
</div> | |
<h4 class="ui dividing header">Status:</h4> | |
<select class="ui dropdown" ng-model="ctrl.order.status"> | |
<option value="CREATED">CREATED</option> | |
<option value="PLANNED">PLANNED</option> | |
<option value="DONE">DONE</option> | |
</select> | |
<h4 class="ui dividing header">Planning information</h4> | |
<div class="field"> | |
<label> </label> | |
<div class="two fields"> | |
<div class="field"> | |
<input type="text" ng-model="ctrl.order.plannedQty" placeholder="Quantity"> | |
</div> | |
<div class="field"> | |
<input type="text" ng-model="ctrl.order.plannedDate" placeholder="Item id"> | |
</div> | |
</div> | |
</div> | |
</br> | |
<div class="field"> | |
<label>Description</label> | |
<textarea ng-model="ctrl.order.descritpion"></textarea> | |
</div> | |
<div class="asbutton" id="button"> | |
<input type="submit" value="Save" class="ui primary button" ng-disabled="myForm.$invalid"> | |
<button class="ui button" type="button" ng-click="ctrl.reset()" ng-disabled="myForm.$pristine"> | |
Reset | |
</button> | |
</div> | |
</form> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment