Your IP : 216.73.216.26


Current Path : /home2/wtmwscom/public_html/admin/
Upload File :
Current File : /home2/wtmwscom/public_html/admin/product_sale_done.php

<?php 
$title= "Product Sale Done";
include 'header.php';
?>
<div class="wrapper_cls">
    
    <h1>Product Sale Details</h1>
    <?php echo getMessage(); ?>
    <div style="width: 500px; height: 310px; border: solid medium black">
        <div style="font-size: 25px; font-weight: bold; font-family:  sans-serif; border-bottom:  solid black thin; text-align: center"> Wtm WebShop Invoice</div>
        <div>
            <?php
            $row = mysqli_fetch_object(mysqli_query($connection, "select * from product_sale where rec_id = ".$_GET['id']));
            $user_row = mysqli_fetch_object(mysqli_query($connection, "select login_id, name from user where uid = '$row->uid'"));
            ?>
            <table border="0" style="font-size: 15; font-family:  sans-serif;" align="center">
                <tr><td>User ID</td><td><?php echo $user_row->login_id; ?></td></tr>
                <tr><td>User Name </td><td><?php echo $user_row->name;?></td></tr>
                
                <tr><td>Date</td><td><?php echo date('d/m/y', strtotime($row->date));?></td></tr>
                <tr><td>Product</td><td><?php echo mysqli_fetch_object(mysqli_query($connection, "SELECT name FROM product_category WHERE product_category_id ='$row->product_category_id'"))->name;?></td></tr>
                <tr><td>Amount</td><td><?php echo $row->pv_amount;?></td></tr>
                             <!--kk-->
            </table>
        </div>
		<!--http://www.voice1online.com/invest_done_print.php-->
		<!--http://localhost/newModifications/invest_done_print.php-->
        <div style="margin: 20px;"><button onclick='window.open("product_sale_done_print.php?id=<?=$_GET['id']?>","", "height=800, width=600, location=no, menubar=no, toolbar=no")'>Print</button></div>
    </div>
</div>
    
    <?php
include('footer.php');
?>