<ion-modal-view class="modal-view"
                ng-controller="AddPlanAdvanceBehindMasterDataCtrl as addplanadvancebehindmasterdatactrl">
  <ion-header-bar class="bar-calm">
    <button class="button icon ion-arrow-left-c button-clear"
            ng-click="addplanadvancebehindmasterdatactrl.exit()"></button>
    <h1 class="title">Master Data - Advance / Behind Plans</h1>
  </ion-header-bar>
  <ion-content class="padding-10" scroll="true">
    <form name="configForm" class="configForm">
      <ion-list class="nf-form">
        <label class="item item-input item-stacked-label">
          <span class="input-label">Style No</span>
          <input type="text" autocorrect="off" autocapitalize="off" required
                 ng-model="addplanadvancebehindmasterdatactrl.styleInfo.style" ng-trim="true" placeholder="Style No"
                 capitalize>
        </label><label class="item item-input item-stacked-label">
        <span class="input-label">Purchasing Order</span>
        <input type="text" autocorrect="off" autocapitalize="off" required
               ng-model="addplanadvancebehindmasterdatactrl.styleInfo.so" ng-trim="true" placeholder="PO No">
      </label><label class="item item-input item-stacked-label">
        <span class="input-label">Colour</span>
        <input type="text" autocorrect="off" autocapitalize="off" required
               ng-model="addplanadvancebehindmasterdatactrl.styleInfo.li" ng-trim="true" placeholder="Colour"
               capitalize>
      </label><label class="item item-input item-stacked-label">
        <span class="input-label">Standard Minute Value</span>
        <input type="number" autocorrect="off" autocapitalize="off" required
               ng-model="addplanadvancebehindmasterdatactrl.styleInfo.smv" ng-trim="true" placeholder="SMV">
      </label><label class="item item-input item-stacked-label">
        <span class="input-label">Quantity</span>
        <input type="number" autocorrect="off" autocapitalize="off" required
               ng-model="addplanadvancebehindmasterdatactrl.styleInfo.quantity" ng-trim="true" placeholder="Quantity">
      </label>
        </label>
        <label class="item item-input item-stacked-label">
          <span class="input-label">Day No</span>
          <input type="number" autocorrect="off" autocapitalize="off" required
                 ng-model="addplanadvancebehindmasterdatactrl.styleInfo.daynumber" ng-trim="true" placeholder="Day No">
        </label>
        <label class="item item-input item-stacked-label">
          <span class="input-label">Kick Off</span>
          <input type="number" autocorrect="off" autocapitalize="off" required
                 ng-model="addplanadvancebehindmasterdatactrl.styleInfo.kickoff" ng-trim="true" placeholder="Kick Off">
        </label>
        <label class="item item-input item-stacked-label">
          <span class="input-label">Style Type</span>
          <input type="text" autocorrect="off" autocapitalize="off" required
                 ng-model="addplanadvancebehindmasterdatactrl.styleInfo.styletype" ng-trim="true" placeholder="Style Type">
        </label>

        <div class="row">
          <div class="col">
            <button ng-disabled="configForm.$invalid" ng-mobile-click="addplanadvancebehindmasterdatactrl.click(true)"
                    class="button button-positive button-large no-animation pull-right">
              Add
            </button>
          </div>
        </div>

      </ion-list>
    </form>
  </ion-content>
</ion-modal-view>
