Particular
                    </th>
                    <th>
                        Qty
                    </th>
                    <th>
                        Rate
                    </th>
                    <th>
                        Amount
                    </th>
                </tr>
                </thead>
                <?php 
$db = new Database();
$bill_details_info = $db->getApprovalBill_details($bill_no);
foreach ($bill_details_info as $bill_info) {
    $i = 1;
    echo "<tr><td > {$i}</td>\n                        \t<td >{$bill_info['company_name']} &nbsp;&nbsp;{$bill_info['category_name']} &nbsp;&nbsp;{$bill_info['article_no']}</td>\n                        \t<td>{$bill_info['qty']}</td>\n                        \t<td>{$bill_info['rate']}</td>\n                        \t<td><i class='fa fa-rupee'></i> {$bill_info['total']}</td>\n                        </tr>";
    $i++;
}
?>
                <tbody>
                <tr>
                    <td colspan='4' style='text-align:right;'>
                        Net Amount :
                    </td>
                    <td >
                        <i class='fa fa-rupee'></i>&nbsp;<?php 
echo $bill_details['grand_total'];
?>