
<!-- <ion-slides [options]="slideOptsOne" (ionSlideDidChange)="slideChanged($event)">
  <ion-slide *ngFor="let shift of SHIFTDETAILS.GetScheduleShiftsDetailsList; let i=index"> -->
    <!-- <div> -->
        <ion-grid class="headerGrid">
          <ion-row style="margin-left: -130px; margin-top: 27px;">
            <ion-col size="10">
              <div style="width: 100%;">
                  <div class="result-graph">
                    <div [ngClass]=" direction == 'ltr' ?  'result-text-container' : 'result-text-container-ar'">
                        <h2 class="percentage">{{percentage}}</h2>
                        <span>Completed <br><br><br><br></span>
                    </div>
                    <p-chart [ngClass]=" direction == 'ltr' ?  'today-graph' : 'today-graph-ar'" type="doughnut" [data]="data" [options]="options"></p-chart>
                  </div>
              </div>
            </ion-col>
            <ion-col size="2">
              <div [ngClass]=" direction == 'ltr' ?  'div' : 'div-ar'">
                <ion-row >
                <p class="p0">{{nameDay}}</p>
              </ion-row>
                <ion-row >
                <p class="p1">{{day}}</p>
              </ion-row>
              <ion-row >
                <p [ngClass]="direction == 'ltr' ? 'p2':'p2-ar' ">{{nameMonth}}</p>
              </ion-row>
              <ion-row >
                <p [ngClass]="direction == 'ltr' ? 'p3':'p3-ar' "class="p3">{{year}}</p>
              </ion-row>
              <ion-row>
                <p class="p5">{{ts.trPK('attendance','present')}}</p>
              </ion-row>
              </div>
            </ion-col>
          </ion-row>
        </ion-grid>
        
        <div>
          <ion-grid class="grid">
            <ion-row class="gridrow">
              <ion-col [ngClass]=" direction == 'ltr' ?  'liftcol' : 'liftcol-ar'">
                <ion-row class="amountlabel"> <p>{{shiftTime}}</p> </ion-row>
                <ion-row class="rowlabel"> 
                <p >{{ts.trPK('attendance-tracking','shift-time')}}</p>
                </ion-row>
              </ion-col>
              <ion-col class="rightcol">
                <ion-row class="amountlabel"><p >{{scheduled}}</p> </ion-row>
                <ion-row class="rowlabel"> 
                  <p >{{ts.trPK('attendance-tracking','regular')}}</p>
                </ion-row>
              </ion-col>
            </ion-row>
            <ion-row class="gridrow" >
              <ion-col [ngClass]=" direction == 'ltr' ?  'liftcol' : 'liftcol-ar'">
                <ion-row class="amountlabel"><p >{{startDate}}</p> </ion-row>
                <ion-row class="rowlabel"> 
                  <p >{{ts.trPK('attendance-tracking','check-in')}}</p>
                </ion-row>
              </ion-col>
              <ion-col class="rightcol">
                <ion-row class="amountlabel"> <p >{{endDate}}</p> </ion-row>
                <ion-row class="rowlabel"> 
                  <p >{{ts.trPK('attendance-tracking','check-out')}} </p>
                </ion-row>
              </ion-col>
            </ion-row >
            <ion-row class="gridrow">
              <ion-col [ngClass]=" direction == 'ltr' ?  'liftcol' : 'liftcol-ar'"> 
                <ion-row class="amountlabel"> <p >{{lateIn}}</p> </ion-row>
                <ion-row class="rowlabel"> 
                  <p >{{ts.trPK('attendance-tracking','late-in')}}</p>
                </ion-row>
              </ion-col>
              <ion-col class="rightcol">
                <ion-row class="amountlabel">  <p >{{excess}}</p> </ion-row>
                <ion-row class="rowlabel"> 
                  <p >{{ts.trPK('attendance-tracking','excess')}}</p>
                </ion-row>
              </ion-col>
            </ion-row>
            <ion-row class="gridrow">
              <ion-col [ngClass]=" direction == 'ltr' ?  'liftcol' : 'liftcol-ar'">
                <ion-row class="amountlabel">  <p >{{shortage}}</p> </ion-row>
                <ion-row class="rowlabel"> 
                  <p>{{ts.trPK('attendance-tracking','shortage')}}</p>
                </ion-row>
              </ion-col>
              <ion-col class="rightcol">
                <ion-row class="amountlabel"> <p >{{earlyOut}}</p> </ion-row>
                <ion-row class="rowlabel"> 
                  <p >{{ts.trPK('attendance-tracking','early-out')}}</p>
                </ion-row>
              </ion-col>
            </ion-row>
        
          </ion-grid>
        </div>
    <!-- </div> -->
    
  <!-- </ion-slide>
</ion-slides> -->
