128
<br/><br/>
<table><tr><div><span style="font -
weight:bold;">Sub Total : -</span><span style="white-space:
pre;">'.$row["grand_total_word"].'</span></div>
</tr>
</table><div style="width:100%;">
<footer style="float:left;
color:blue">
[email protected]</footer>
<footer style="text-
align:center;margin-
right:150px;color:green;">+8801621000361</footer>
<footer
style="float:right;color:
blue;">www.khanrestaurant.com</footer>
</div> </body>
</html>'; }
$pdf = new Pdf();
$pdf->setPaper('A4','Portrait');
//$pdf->set_paper(DEFAULT_PDF_PAPER_SIZE, 'portrait');
//$customPaper = array(0,0,595 ,842);
//$pdf->set_paper($customPaper);
$file_name = 'Invoice -'.$row["invoice_number"].'.pdf';
$pdf->loadHtml($output,'UTF -8');
$pdf->render();
$pdf->stream($file_name, array("Attachment" => true));
}
?>
billing.php
<div class="main-content">
<div class = "titleContainer">
<div class="title">
Billing Information
<!--Start Section search
Data field from table -->
<span style="margin-
left:50px;"><input style="padding -right:20px;" type="search"
class="light-table-filter" data-table="order-table"
placeholder="Search..."><i style ="margin -left:-
20px;"class="fa fa-search"></i></span>
<!--End Section search Data
field from table-->
<!--Start Logout Dropdown -->
<div class="logout">
<img
src="images/user_logo/Milton.jpg" alt="User Image" width="45"