
 <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 tDate=$('#sdate').val(); var patientID=$('#pID').val();if(patientID!=''&& tDate!=''){$.post('medicalCheckUpBillReports.php',{patientID:patientID,tDate:tDate},function(data){$('#disp').html(data).show();});} else{alert('Valid patientID and date required!..')}"> Bill record</button>
    </div>

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

</div>
    </div>
 <div class="row">
    <div class="col">
     LABORATORY
    </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('labtoolkitReg.php',{pID:pID},function(data){$('#disp').html(data).show();});">Lab toolkit</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 pID=234;$.post('addLabToolkitUsed.php',{pID:pID},function(data){$('#disp').html(data).show();});">Add toolkit used</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!=''&& tDate!=''){$.post('saveCheckUpResults.php',{patientID:patientID,tDate:tDate},function(data){$('#disp').html(data).show();});} else{document.getElementById('disp').innerHTML='Enter valid patient ID!..';}">Enter check up results</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('patientCheckUpReports.php',{patientID:patientID,tDate:tDate},function(data){$('#disp').html(data).show();});} else{document.getElementById('disp').innerHTML='Enter valid patient ID!..';}">Patient check up results</button>
    </div>

</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('toolKitEntryRecords.php',{pID:pID},function(data){$('#disp').html(data).show();});">Toolkit 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 tDate=$('#sdate').val(); var patientID=$('#pID').val();if(patientID!=''&& tDate!=''){$.post('patientCheckUpReports.php',{patientID:patientID,tDate:tDate},function(data){$('#disp').html(data).show();});} else{document.getElementById('disp').innerHTML='Enter valid patient ID!..';}">Check up reports</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 pID=234;$.post('toolkitUsedRecords.php',{pID:pID},function(data){$('#disp').html(data).show();});">Used toolkits 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 pID=234;$.post('medicalCheckUpRecords.php',{pID:pID},function(data){$('#disp').html(data).show();});">Test records</button>
    </div>

</div>
    </div>


<div class="row">
    <div class="col">
     PHARMACY
    </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('pharItemRf.php',{pID:pID},function(data){$('#disp').html(data).show();});">New item</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('pharmDispensableQ.php',{sdate:sdate,patientID:patientID},function(data){$('#disp').html(data).show();});} else{document.getElementById('disp').innerHTML='Enter valid patient ID!..';}">Dispense medicine</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('pharmPurchaseR.php',{sdate:sdate},function(data){$('#disp').html(data).show();});} else{document.getElementById('disp').innerHTML='System date required!..';}">Purchase report</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('pharmDispenseRpt.php',{sdate:sdate},function(data){$('#disp').html(data).show();});} else{document.getElementById('disp').innerHTML='System date required!..';}">Dispenses report</button>
    </div>
</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:40px;" onclick=" var patientID=$('#pID').val();if (patientID!='') {$.post('pharmCrrStock.php',{patientID:patientID},function(data){$('#disp').html(data).show();});} else{document.getElementById('disp').innerHTML='Enter valid patient ID!..';}"><small>Current Stock</small></button>
    </div>
   </div>
   <div class="col">
    
 
   </div>
     <div class="col">
    
 
   </div>
     <div class="col">
    
 
   </div>
   
</div>

<div class="row">
    <div class="col">
      DOCTORS 
    </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 sdate=$('#sdate').val(); var patientID=$('#pID').val();if (patientID!='') {$.post('complainRgF.php',{patientID:patientID,sdate:sdate},function(data){$('#disp').html(data).show();});} else{document.getElementById('disp').innerHTML='Enter valid patient ID!..';}">Patient complain</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!='') {$.post('codeDiseaseRF.php',{patientID:patientID,sdate:sdate},function(data){$('#disp').html(data).show();});} else{document.getElementById('disp').innerHTML='Enter valid patient ID!..';}">Code disease </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('pdiagnosis.php',{sdate:sdate,patientID:patientID},function(data){$('#disp').html(data).show();});} else{document.getElementById('disp').innerHTML='Enter valid patient ID!..';}">Diagnosis</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('phramTreatmtF.php',{sdate:sdate,patientID:patientID},function(data){$('#disp').html(data).show();});} else{document.getElementById('disp').innerHTML='Enter valid patient ID!..';}">Treatment</button>
    </div>
    

</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 patientID=$('#pID').val();if (patientID!='') {$.post('addMtest.php',{patientID:patientID},function(data){$('#disp').html(data).show();});} else{document.getElementById('disp').innerHTML='Enter valid patient ID!..';}">Send medical</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('pProfileDiagnosis.php',{sdate:sdate,patientID:patientID},function(data){$('#disp').html(data).show();});} else{document.getElementById('disp').innerHTML='System date required!..';}">Patient visits</button>
    </div>
    </div>
    <div class="col">
      
  
    </div>
 
 
 <div class="col">
       


 </div>
 
</div>
 <div class="row">
    <div class="col">
     NURSING STATION
    </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 sdate=$('#sdate').val(); var patientID=$('#pID').val();if (patientID!=''&& sdate!='') {$.post('vitalSign.php',{sdate:sdate,patientID:patientID},function(data){$('#disp').html(data).show();});} else{document.getElementById('disp').innerHTML='Enter valid patient ID!..';}">Vital sign</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('vitalSignRPT.php',{sdate:sdate,patientID:patientID},function(data){$('#disp').html(data).show();});} else{document.getElementById('disp').innerHTML='Enter valid patient ID!..';}">Vital sign report</button>
    </div>
</div>
<div class="col">
         


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

</div>
</div>
<div class="row">
    <div class="col">
        MANAGEMENT TOOLS 
    </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('consultRegF.php',{pID:pID},function(data){$('#disp').html(data).show();});">New consultant</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 pID=234;$.post('medTestRegForm.php',{pID:pID},function(data){$('#disp').html(data).show();});">Medical test</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 pID=234;$.post('empRegForm.php',{pID:pID},function(data){$('#disp').html(data).show();});">Register employee</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 pID=234;$.post('usersList.php',{pID:pID},function(data){$('#disp').html(data).show();});">Employee records</button>
    </div>
</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('expensesRegForm.php',{pID:pID},function(data){$('#disp').html(data).show();});">Expenditure</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>







    