Advertisement
Ranish666

PharmacyDetails

Oct 24th, 2021
1,279
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 3.86 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="en">
  3.    <head>
  4.       <title>Bill Invoice</title>
  5.       <meta charset="utf-8">
  6.       <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  7.       <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
  8.  
  9.    <style>
  10.   @page{
  11.    size: 8.27in 5.8in Portrait; margin:1px 1px 1px 1px;
  12.    }
  13.      /* body {    
  14. font-family: Consolas, Courier, sans-serif;    font-size: 11px;
  15.  margin: 35mm 15mm 15mm 20mm;
  16.  }  */
  17.       label {        
  18. font-weight: 600;         line-height: 30px;    
  19. }    
  20.       ul {    
  21.     list-style: none;         padding: 0;  
  22.  }  
  23.       table {  
  24.       margin: 8px 0;         width: 100%;    
  25.  }      
  26. table thead {      
  27.    background: #ddd;  
  28.   }      
  29.  table, th,    td {
  30.          ;         border-collapse: collapse;         padding: 5px 8px;         text-align: left;    
  31. }      
  32. .printTable  table tr th:first-child {
  33.          width: 7%;    
  34. }  
  35. .hide {      
  36.   display: none;  
  37.   }    
  38.   .Header h4,     .Header h2 {    
  39.      margin-bottom: 4px;         margin-top: 4px;    
  40.  }  
  41.  img{    
  42.  width: 130px;      height: 140px;
  43.  }
  44. .PrintFoot p {    
  45.   margin: 0 0 3px 0;
  46. }
  47.  .topheader {
  48. position:fixed; margin-top:0px;
  49.  }  
  50. /*td:nth-child(2),
  51.     td:nth-child(3) {
  52.         display: none
  53.     }
  54.    
  55.     td:nth-child(5),
  56.     td:nth-child(10),
  57.     td:nth-child(11) {
  58.         display: none
  59.     }*/
  60. tr:first-child{
  61. border-top: 1px solid #555;
  62. }
  63.    </style>
  64.   </head>
  65.    <body>
  66.       <div class="main-div">
  67.       <div class="header" style="overflow: auto;">
  68.          
  69.          
  70. <div style="overflow: auto;">
  71.          <div style="width: 30%; float: left; text-align:left;">        
  72.       <strong>Bill Type :</strong>  {Type}    
  73. </div>
  74.          <div style="width: 70%; float: left; text-align:left;">        
  75. <strong style="text-align:center;">{InvoiceCopy}</strong>
  76. </div>
  77. </div>
  78.       <hr>
  79.       <div style="overflow: auto;">
  80.          <div style="width: 50%; float: left; text-align:left;">                      
  81. <strong>Patient ID :</strong> {PatientID}<br>            
  82. <strong>Patient Name :</strong> {PatientName}<br>          
  83. <strong>Scheme Name: </strong>  {Patient Type}<br>            
  84. <strong>Claim Code :</strong> {ClaimID}  <br>                    
  85. </div>
  86.  
  87.          <div  style="width: 50%; float: left; text-align: right;">         <strong>Sales Bill No :</strong> {Date}<br>            
  88. <strong>Date :</strong> {date} <br>            
  89. <strong>Time :</strong> {Time}<br>          
  90. <strong>NHSI No :</strong> {policyno}<br>
  91.  
  92.        
  93.  
  94. </div>
  95.       </div>
  96.      
  97.       <div class="printTable" >
  98.          <table class="table table-bordered table-striped">
  99.             <thead>
  100.                <tr>
  101.                   <th>S.No.</th>
  102.                   <th>Name</th>
  103.                   <th>Batch</th>
  104.                   <th>Expiry</th>
  105.                   <th>Qty</th>
  106.                   <th>Rate</th>
  107.                   <th>Net Total</th>
  108.                </tr>
  109.             </thead>
  110.             <tbody>              
  111.                {Details}                  
  112.             </tbody>
  113.  
  114.          </table>
  115.       </div>
  116.       <div style="overflow: auto;">
  117.                        
  118.            
  119. </div>
  120.          <div style="width: 100%; float: left; text-align: right;">           <strong>Total:  </strong>   {BillTotal}  <br>                     <strong>Discount  : </strong>  {Discount}  <br>
  121.          <hr>
  122. <strong>Net Amount  : </strong>  {NetTotal}  <br>                
  123.          
  124.          </div>
  125.       </div>
  126.       <div class="PrintFoot" style="margin-top: 10px;">
  127.          <p><strong>Username :</strong> {User}</p>
  128.         <strong>In Words:  </strong>  {InWords}<br/><br/>
  129.          <strong>Remarks  : </strong>  {narration}  <br/>
  130.          <p style="text-align: center;">Get Well Soon !!</p>
  131.       </div>
  132. </div>
  133.    </body>
  134. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement