<div class="app-header bg-header-1">
    <div class="layout-fixed full-h text-center">
        <div class="full-h v-bottom-i pdB15">
            <div class="app-content-header bg-header-1">
                <div class="text-title-header-1 nowrap mgT10">Add/ Edit working invoice</div>
            </div>
        </div>
    </div>
    <button class="popup-close-button bg-transparent pd0-i biger-3-time" type="button" ng-click="closeTarget('#popupAppointmentDetailAddEditWorkingInvoice')"></button>
</div>
<div class="app-content">
    <div class="app-content-inner content-pd">
        <ion-scroll class="scroll-area" direction="y" has-bouncing="true" overflow-scroll="false">
            <div class="box-setting-4 no-saperator">
                <div class="content content-in">
                    <div class="itm">
                        <label class="label-form-field-1">Find</label>
                        <div class="layout-fixed">
                            <div>
                                <div class="input-form-field-1">
                                    <input type="text" class="h32px" name="" value="" ng-model="autocompleteList.searchOrder" ng-keyup="keypress('','searchOrder')" />
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="itm row-one-content" ng-repeat="item in orderData" ng-click="changeOrderapp(item,'addedit')">
                        <div class="layout-fixed">
                            <div class="subname clr-clickable">{{item.name}}</div>
                        </div>
                    </div>
                </div>
            </div>
        </ion-scroll>
    </div>
</div>


<!--<input type="text" name="" value="" placeholder="insert keyword" ng-model="autocompleteList.searchOrder"
 ng-keyup="keypress('','searchOrder')">
<ion-scroll direction="y"  has-bouncing="true" overflow-scroll="false" style="height: 70vw" class="prevent-scroll">
    <div class="row row-fixed-10 mgB10" ng-repeat="item in orderData" style="border-bottom: 1px solid grey" ng-click="changeOrderapp(item,'addedit')">
        <div class="layout-fixed">
            <div class="left mgL10">
                <label>
                     <a href="javascript:avoid(0)">{{item.name}}</a>
                </label>
            </div>
        </div>
    </div>
    <div style="height: 150px"></div>
  </ion-scroll>-->
<!-- <form  ng-submit="AddEditWorkingInvoice()" class="content form-style-4">
    <div class="fields pd20">
        <div class="bg-white-bs pd20 rounded-10">
        <div class="row">
        <div class="layout-fixed layout-fixed-480-block">
            <div class="w160px">
                <label class="label-field-4 full-w">Working Invoice: </label>
            </div>
            <div>
                <div class="select-field-l-4 full-w">
                    <div class="select-field">
                        <ui-select
                                uiselect-autofocus="open"
                                ng-model="order_idapp"
                                theme="bootstrap"
                                ng-disabled="false"
                                on-select= "changeOrderapp(order_idapp, 'addedit')"
                                close-on-select="true"
                                style="width: 100%;"
                                title="Choose an Working Invoice">
                                <ui-select-match placeholder="Enter an Working Invoice...">
                                    {{order_idapp.name}}
                                </ui-select-match>
                                <ui-select-choices repeat="add in orderData track by $index | propsFilter: {name: $select.search, id: $select.search}"
                                refresh="refreshOrdersapp($select.search)"
                                refresh-delay="0">
                                <div ng-bind-html="add.name | highlight: $select.search" style="width:100%">
                                </div>
                            </ui-select-choices>
                        </ui-select>
                    </div>

                </div>
            </div>
        </div>
        </div>
        </div>
    </div>
    <div class="buttons">
        <div data-column="2">
            <div class="button">
                <input type="submit" value="" name="">
                <span>Save</span>
            </div>
            <div class="button dismis-popup">
                <input type="button" id="dismis-popupAddEditWorkingInvoice" value="" name="">
                <span>Cancel</span>
            </div>
        </div>
    </div>
</form> -->
