<ion-header class="nav_header theme_primary">
    <button class="nav_btn floatLeft" *ngIf="from_push" ion-button menuToggle>
        <ion-icon name="menu"></ion-icon>
 </button>   
 <button class="nav_btn floatLeft" *ngIf="!from_push" ion-button (click)="back()">
     <ion-icon name="ios-arrow-back"></ion-icon>
   </button>
   <div class="nav_header_title floatLeft">
      Booking Overview
   </div>
</ion-header>
<ion-content padding class="page_background">
  <div class="fm_vehicle_detail" *ngIf="request_val" >
    <div class="fm_quote_received">
        Booked for : <strong>{{request_val.book_date |date:'dd MMM yyyy'}} </strong> at <strong>{{request_val.book_time}} </strong>
    </div>
    <div class="fm_vehicle_banner">
      <div class="fm_vehicle_photo"> <img *ngIf="request_val.profile_pic" [src]="request_val.profile_pic" ></div>
      <div class="fm_vehicle_detail">
        <h4>{{request_val.first_name}} {{request_val.last_name}}</h4>
        <!-- <p>Mustang 2017</p> -->
      </div>
      <div class="clear"></div>
    </div>
    <div class="fm_vehicle_bottom">
      <p>Repair Type:</p>
      <h4 *ngIf="request_val.pool_id!=0" >{{request_val.service_name}}</h4> 
	  <h4 *ngIf="request_val.pool_id==0" >{{request_val.service}}</h4> 
	  <p>User Name:</p> 
      <h4>{{request_val.first_name}} {{request_val.last_name}}</h4>
	  <p *ngIf="request_val.discount!=null" >Discount:</p>
      <h4 *ngIf="request_val.discount!=null" >{{request_val.discount}}%</h4>
	  <p>Price:</p>
      <h4>€{{request_val.price}}</h4>
	  
	  <p>Repair status:</p> 
      <h4 *ngIf="request_val.book_status==1" >Repair Done</h4> 
      <br>
       <!-- <p>Existing quote photos</p>
      <div class="fm_gallery">
        <li></li>
        <li></li>
        <div class="clear"></div>
      </div>
      <p>Details and Images</p>
      <div class="fm_gallery">
        <li *ngFor="let images of request_val.pool_images" > <img [src]="images.image" ></li>
      </div> -->
      </div>
      <div class="textCenter" *ngIf="request_val">
          <button *ngIf="request_val.book_status==1"  class="login_btn widthFull theme_lblue" ion-button (click)="repair(3)" >Repair Done</button>
          <button  class="login_btn widthFull theme_red" ion-button (click)="cancel_booking()" > Cancel Booking</button>
  </div>  </div>
</ion-content>

