<section>
    <div class="modal_bg" *ngIf="is_modal_visible">
        <div class="overlay"></div>
        <div class="modal-dialog-box">
            <div class="modal-content"> 
              <button type="button" class="close" data-dismiss="modal" aria-label="Close" (click)="onCloseModal()">
                    <span aria-hidden="true">&times;</span>
                </button>
                <div class="sales"  >
                    <h5>{{content_data.assessmentname}}</h5>
                    <div >Name : {{content_data.username}}</div>
                    <div >Dealer : {{content_data.dealer_name}}</div>
                    <div >Date : {{content_data.assessment_date}}</div>
                    <div class="right_box expo" (click)="clickExcelDownload(list)">
                      <button class="btn export">
                        <img src="assets/img/excel.png" />
                        <p>EXPORT REPORT</p>
                      </button>
                    </div>
                    <div class="text-center" *ngIf="sales!=undefined&&sales.length==0"> <p>No data found</p></div>
                    <div class="row bottom_box" *ngIf="!loader">
                        <div class="col-sm-12 table_box">
                          <div class="table-responsive">
                            <table class="table table-bordered table-hover">
                              <thead>
                                <tr>
                                  <th>SL.NO</th>
                                  <th>Questions</th>
                                  <th>Answers</th>
                                </tr>
                              </thead>
                              
                              <tbody>
                                <tr *ngFor="let list of questionsList;let i=index;">
                                    <td>{{i+1}}</td>
                                    <td>{{list.questiontext}}</td>
                                    <td>{{list.answer}}</td>
                                </tr>
                              </tbody>
                            </table>
              
                          </div>
                        </div>
                      </div>
                </div> 
                <div *ngIf="excel_load">
                  <iframe width="0" height="0" [src]="excelExport()"></iframe>
                </div>
            </div>
        </div>
    </div>
</section>