<ion-view view-title="考勤详情" ng-init="getreport(0)">
    <ion-nav-buttons side="right">
        <button class="button  button-clear button-dark" ng-click="showselectdeptmodal()">选择部门</button>
    </ion-nav-buttons>
    <ion-content>
        <div class="item item-divider dividercolor dividertextcolor">{{date}} | {{daystr}}</div>
        <div class="list">
            <div ng-repeat="item in items">
                <div class="item item-divider">{{item.title}} | {{item.time | strtimeformat:item.time}}</div>
                <div class="item">
                    <div>准时 | {{item.normal_cnt}}</div>
                    <progress value="{{item.normal_cnt}}" max="{{usrcount}}" ng-click="seedetail(item.title,item.normal_cnt,item.checktype,0)"></progress>
                    <div>{{(item.checktype==2||item.checktype==4)?'早退':'迟到'}} | {{item.outof_cnt}}</div>
                    <progress value="{{item.outof_cnt}}" max="{{usrcount}}" ng-click="seedetail(item.title,item.outof_cnt,item.checktype,1)"></progress>
                    <div>{{(item.checktype==2||item.checktype==4)?'未签退':'未签到'}} | {{item.uncheckin_cnt}}</div>
                    <progress value="{{item.uncheckin_cnt}}" max="{{usrcount}}" ng-click="seedetail(item.title,item.uncheckin_cnt,item.checktype,2)"></progress>
                </div>
            </div>
        </div>
    </ion-content>
</ion-view>
