

     <%- include('partials/header'); -%>



    <!-- ########## START: MAIN PANEL ########## -->
    <div class="br-mainpanel">
      <div class="br-pageheader">
        <nav class="breadcrumb pd-0 mg-0 tx-12">
          <a class="breadcrumb-item" href="dashboard">All Consultations || WhispersApp</a>
          
        </nav>
      </div><!-- br-pageheader -->

 

      <div class="br-pagebody">
        <div class="br-section-wrapper">
          

          <div class="table-wrapper">
            <table id="datatable1" class="table table-hover   table-dark responsive nowrap">
              <thead class="thead-colored thead-teal">
                <tr>
                  <th class="wd-10p">Message</th>
                  <th class="wd-10p">Date</th>
                  <th class="wd-15p">Client's Name</th>
                  
                  
                  <th class="wd-10p">Category</th>
                  <th class="wd-10p">Action</th>
                  <th class="wd-20p">Client's  Phone</th>
                  <th class="wd-15p">Client's Email</th>

                  
                  
                </tr>
              </thead>
              <tbody>
                <% contact.forEach(function(contact){ %>
                <tr>
                  <td><%= consultation.name %>... 
                      <a href="/consultations/view/<%= contact._id %> "><i class="fa fa-angle-right mg-r-5"></i>View Consultation</a></td>
                  <td><%= contact.phone %></td>
                  <td><%= contact.groups %></td>
                  
                  
                      <td>
                        
                      <button class="btn bg-success text-white btn-sm">Paid For & Unread</button>
                       

                       
                      </td>
                  <td><a href="/consultations/view/<%= contact._id %>" class="btn btn-teal btn-sm">View Details</a></td>
                  <td><%= contact.phone %></td>
                  <td><%= contact.phone %></td>
                  
                </tr>
                <% }) %>
               
              </tbody>
            </table>
          </div><!-- table-wrapper -->

         


          

        </div><!-- br-section-wrapper -->
      </div><!-- br-pagebody -->


<%- include('partials/footer'); -%>