<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-name-header-1 nowrap"></div>
                <div class="app-content-header bg-header-1">
                    <div class="layout-fixed mgT10">
                        <div class="text-title-header-1 nowrap pdL40">Lists Estimate/Invoice</div>
                        <div class="w40px clear pdR10">
                            <button class="app-setting-icon bg-transparent right biger-3-time" ng-click="openAutocomplete('ion-autocomplete-jobsite-filter')" ng-if="dataJobsiteToAutocomplete.length > 0"></button>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <button class="popup-back-button bg-transparent pd0-i biger-3-time" type="button" ng-click="closeTarget('#jobsiteLogModal')"></button>
</div>
<div class="app-content">
    <div class="app-content-inner content-pd">
        <ion-scroll class="scroll-area" direction="y" has-bouncing="false" overflow-scroll="false" delegate-handle="scrollAppointmentHistory" on-scroll="scrollContent('scrollAppointmentHistory')">
            <div class="stripe-1">
            <div class="box-setting-4 full-w-i" ng-repeat="item in jobsiteHistory">
                <div class="content content-in">
                    <div class="itm no-saperator">
                        <div class="layout-fixed">
                            <div class="w25px v-top-i pdT5">
                                <div class="stt-1">{{ $index + 1}}</div>
                            </div>
                            <div ng-if="item.ordertype_id == '4' " ng-click="redirectTo('order.html#/board/order/' + item.customer_id + '/' + item.id + '/estimate/null/')" >
                                <div class="name clr-clickable">{{item.invoice_no +' - $'+ item.balance_due +' - '+ item.create_date}}</div>
                            </div>
                            <div ng-if="item.ordertype_id == '5' " ng-click="redirectTo('order.html#/board/order/' + item.customer_id + '/' + item.id + '/invoice/null/')" >
                                <div class="name clr-clickable">{{item.invoice_no +' - $'+ item.balance_due +' - '+ item.create_date}}</div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div>
        </ion-scroll>
    </div>
</div>
