<?php include './config.php'; if (isset($_POST['invoice_type']) && !empty($_POST['invoice_type'])) { $invoice_type = $_POST['invoice_type']; $invoice_order_id = $_POST['invoice_order_id']; $invoice_comp_id = $_POST['invoice_comp_id']; $selectInvoiceOrder = SelectInvoiceOrder($invoice_order_id, $invoice_comp_id); $customer_details = Get_users_add($invoice_comp_id); //Terms if ($invoice_type == 'week') { $terms = 'Net 7 Days'; } elseif ($invoice_type == 'semi') { $terms = 'Net 15 Days'; } elseif ($invoice_type == 'month') { $terms = 'Net 30 Days'; } } ?> <div style="width: 100%;float: left;"> <div style="width: 49%;float: left;"> </div> <div style="width: 50%;float: left;"> <div style="width: 75%;float: right;border: 1px #000 solid;border-bottom: 0px;padding: 5px;text-align: center;"> <span style="padding-right: 20px;">Invoice Number : <b>98568</b></span><span><b>Page : 1</b></span> </div> <div style="width: 75%;float: right;border: 1px #000 solid;padding: 5px;text-align: center;font-weight: bold;"> <span style="padding-right: 10px;">Date : 06/09/2015</span><span>Terms : <?php echo $terms; ?> </span> </div>
?> <!--Pagination End--> </table> </td> </tr> <tr> <td> <?php //echo Paginations($limit, $page, 'customers.php?page=', $rows); ?> </td> </tr> <?php } elseif ($_GET['cus_add_id'] != '') { $address_users = Get_users_add($_GET['cus_add_id']); ?> <table width="759" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="36" height="28" align="center" valign="middle" class="td_brdr" bgcolor="#f99b3e">NO.</td> <td width="100" align="center" valign="middle" class="td_brdr" bgcolor="#f99b3e"><a style="text-decoration: none; color: #fff;" href="customers.php?sort=<?php echo $sort_sku; ?> ">Company Name <img src="images/<?php echo $sort_sku_img; ?> .png" alt="" width="10px" height="5px"/></a></td> <?php if ($_SESSION['admin_user_type'] == '1') { ?>