<?PHP


session_start();






?>

	  <input type="button" value="Back" class="" onClick = "history.back()" style= "width: ; height: "  >
	<input type="button" value="Print" class="" onClick="window.print()" style= "width:; height: "  >

	<input type="button" value="Download" class="" onClick="window.print()" style= "width:; height: "  >
	<input type="button" value="save" class="" onClick="window.print()" style= "width:; height: "  >
	  


<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>Example 2</title>
    <link rel="stylesheet" href="style.css" media="all" />
  </head>
  <body>
	  
    <header class="clearfix">
     
		
		
		
      <div id="company">
		  
		  <!--
		  
		<div id="logo">
        <img src="logo.png" alt="">
      </div>-->
		
	  
		  
		  
        <h2 class="name" style="color:   #220488"><?PHP echo $_SESSION['biz_name']; ?> </h2>
		  <div class  ="address" style="color: #DC2D05; " ><h3> <?PHP echo $_SESSION['description']  ?>  </h3> </div>    
      </div>
    
  </header>
	
	
	
    
	
	  
	  
	  
	  
	    <div id="address">
       
       
        <div     class  ="address"> <?PHP echo $_SESSION['address']  ?></div>
			 <div  class  ="address"><a href="mailto:company@example.com"> <?php echo $_SESSION['email']  ?></a></div>
			 <div  class  ="address"> <?PHP echo $_SESSION['number']  ?></div>
			
			
      </div>   
      </div>
	  
	
  <main>
	  
	  
	  
	  
	  
	  
	  
	  
	  
	   <div id="clients" style="background-color:  #8F8EEF; width: ; text-align: center;color: white;margin-bottom: 20px;">
	    
		     <div id="clients">
         <i><b>CASH RECEIPT:346558</b></i>
         
		   </div>
		   
	   </div>
	  
	  
	  
	  
	  
	  
	  
	  
	  
	  
	  
	  
	  
	  
	  
	  
	  
    <div id="details" class="clearfix">
        <div id="client">
          <div class="to">ISSUED TO:</div>
          <div class="name"><?PHP echo $_SESSION['customer']  ?></div>
          <div class="address"><?PHP echo $_SESSION['c_address']  ?></div>
          <div class="email"><a href="mailto<?PHP echo $_SESSION['c_email']  ?>"><?PHP echo $_SESSION['c_email'].','.$_SESSION['c_phone']  ?></a></div>
        </div>
        <div id="invoice">
        
          <div class="date">Date :<?PHP echo $_SESSION['date']  ?></div>
			
			  <div class="date">Issuer :<?PHP echo $_SESSION['name']  ?></div>
			
			 <div class="date">Issuer IDN :<?PHP echo $_SESSION['user_id']  ?></div>
			 <div class="date">Payment Method:<?PHP echo $_SESSION['payement_method']  ?></div>
         
        </div>
      </div>
      <table border="0" cellspacing="0" cellpadding="0">
        <thead >
          <tr  style=" border: 1px solid #020202;" >
            <th class="no">&nbsp;</th>
            <th class="desc">DESCRIPTION</th>
            <th class="unit">UNIT PRICE</th>
            <th class="qty">QTY</th>
            <th class="total">TOTAL</th>
          </tr>
        </thead>
        <tbody>
        
          <tr  style=" border: 1px solid #020202;">
            <td height="251" class="no" style=" border-right: 1px solid #020202;">01</td>
            <td class="desc" style=" border-right: 1px solid #020202;" ><h3> <?PHP echo $_SESSION['product_name']  ?></h3> <?php echo $_SESSION['p_description'] ?> </td>
            <td class="unit" style=" border-right: 1px solid #020202;" >N<?PHP echo $_SESSION['unit_p']  ?>.00</td>
            <td width: 1px class="qty" style=" border-right: 1px solid #020202;"> <?PHP echo $_SESSION['s_qty']  ?></td>
            <td class="total"> <?PHP echo $_SESSION['total_q_p'] ?>.00</td>
          </tr>
         
        </tbody>
        <tfoot>
          <tr>
            <td colspan="2"></td>
            <td colspan="2">AMOUNT  PAID</td>
            <td><?PHP echo $_SESSION['amount']  ?></td>
          </tr>
			
			 <tr>
            <td colspan="2"></td>
            <td colspan="2">BALANCE</td>
            <td><?PHP echo $_SESSION['balance']  ?></td>
          </tr>
			
			
			
        <!--  <tr>
            <td colspan="2"></td>
            <td colspan="2">ADVANCE</td>
            <td>$1,300.00</td>
          </tr>-->
          <tr>
            <td colspan="2"></td>
            <td colspan="2">TOTAL</td>
            <td>N <?PHP echo $_SESSION['total_q_p']  ?>.00</td>
          </tr>
        </tfoot>
      </table>
	  
	  <div style="color: darkblue;text-align: center" id=""><h5><?PHP echo $_SESSION['word']  ?></h5> </div>
	  
	  
	   <td class="desc"> Goods Received in Good Condition.<br>No refund of money after Payment</td>
	
    <div id="thanks">Thank you!</div>
	 
    <div id="notices">
        <div>NOTICE:</div>
		         <div class="notice"> Receipt was created electronically and is valid without the signature and seal. Signed|<?PHP echo $_SESSION['biz_name']; ?></div>
      </div>
    </main>
   
  </body>
</html>