
 <div class="container mt-3">
  <h6>MANAGEMENT DASHBOARD:</h6> 
  <!--<form action="https://www.w3schools.com/action_page.php" id="pr" name="pr" class="was-validated">-->
     

 <div class="row">
    <div class="col">
     RECEPTION
    </div>
</div>


<div class="row">
    <div class="col">
        
     <div class="form-floating mb-3 mt-3">
        <button type="submit" class="btn btn-primary" style="width:100%; height:43px;" onclick=" var pID=234;$.post('pRegform.php',{pID:pID},function(data){$('#disp').html(data).show();});">New patients</button>
       </div>
     </div>
   <div class="col">
      <div class="form-floating mb-3 mt-3"> 
       <button type="submit" class="btn btn-primary" style="width:100%; height:43px;" onclick=" var patientID=$('#pID').val();if (patientID!='') {$.post('consultaionBill.php',{patientID:patientID},function(data){$('#disp').html(data).show();});} else{document.getElementById('disp').innerHTML='Enter valid patient ID!..';}">Consultation</button>
    </div>


</div>
 
 <div class="col">
      <div class="form-floating mb-3 mt-3"> 
     <button type="submit" class="btn btn-primary" style="width:100%; height:43px;" onclick="var sdate=$('#sdate').val(); var patientID=$('#pID').val();if (patientID!=''&& sdate!='') {$.post(' pharmBillDrug.php',{sdate:sdate,patientID:patientID},function(data){$('#disp').html(data).show();});} else{document.getElementById('disp').innerHTML='Enter valid patient ID!..';}">Pay for drug</button>
    </div>


 </div>
 <div class="col">
 
   <div class="form-floating mb-3 mt-3"> 
      <button type="submit" class="btn btn-primary" style="width:100%; height:43px;" onclick="var tDate=$('#sdate').val(); var patientID=$('#pID').val();if (patientID!='') {$.post('patientMtestBill.php',{patientID:patientID,tDate:tDate},function(data){$('#disp').html(data).show();});} else{document.getElementById('disp').innerHTML='Enter valid patient ID!..';}">Pay for check up</button>
    </div>

</div>
</div>


 <!--</form>-->

<div class="row">
    <div class="col">
        <div class="form-floating mb-3 mt-3"> 
      <button type="submit" class="btn btn-primary" style="width:100%; height:43px;" onclick=" var pID=234;$.post('patientRecords.php',{pID:pID},function(data){$('#disp').html(data).show();});"> Patient records</button>
    </div>
     </div>
   <div class="col">
      
 <div class="form-floating mb-3 mt-3"> 
       <button type="submit" class="btn btn-primary" style="width:100%; height:43px;" onclick="var sdate=$('#sdate').val();if (sdate!='') {$.post('serviceBR.php',{sdate:sdate},function(data){$('#disp').html(data).show();});} else{document.getElementById('disp').innerHTML='Date required!..';}">Service billing reports</button
    </div>

</div>
 
 <div class="col">
       
 

 </div>
 <div class="col">
 
    

</div>
</div>
  


</div>
</div>







    