halohalo
bnmbnmbnhjkhjkhjkhjktyutyutyuytutyutyutyhgjgjghjgjghjguytutyry
/
home
/
aramiyarkai
/
public_html
/
admin
/
Upload FileeE
HOME
<?php error_reporting (0); include "dbc.php"; page_protect(); ?> <?php if($_GET['del'] == "yes"){ $id = mysqli_real_escape_string($link,$_GET['id']); mysqli_query($link,"delete from `purchaseorder_tbl` where `purchase_order_id`='$id'"); mysqli_query($link,"delete from `purchaseorderdetails_tbl` where `purchase_order_id`='$id'"); $msg[] = "Successfully Deleted!"; } ?> <?php include'header.php';?> <div class="main-bar"> <h3><i class="fa fa-archive"></i> Purchase Order</h3> </div> <!-- /.main-bar --> </header> <!-- /.head --> </div> <!-- /#top --> <?php include'admin_admin.php';?> <!-- /#left --> <div id="content"> <div class="outer"> <div class="inner bg-light lter"> <style> .form-control.col-lg-6 { width: 50% !important; } </style> <div class="row"> <div class="col-lg-12"> <div class="box"> <header> <h5>View Purchase order</h5> <div class="toolbar"></div> </header> <div class="row"> <div class="col-lg-12"> <div class="box"> <div id="collapse4" class="body"> <?php include 'msg_display.php'?> <table id="datatable-responsive" class="table table-striped table-bordered dt-responsive nowrap" cellspacing="0" width="100%"> <thead> <tr> <th>Id</th> <th>Purchase Order Id</th> <th>Purchase Order Date</th> <th>Vendor Name</th> <th>Sub Total</th> <th>Tax Total</th> <th>Transport Total</th> <th>Discount Total</th> <th>Grand Total</th> <th>Payment Status</th> <th>Date</th> <th>Actions</th> </tr> </thead> <tbody> <?php $sel_rw = mysqli_query($link,"select * from purchaseorder_tbl"); while($row = mysqli_fetch_object($sel_rw)){ ?> <tr> <td><?php echo $row->id; ?></td> <td><?php echo $row->purchase_order_id; ?></td> <td><?php echo $row->purchase_order_date; ?></td> <td><?php echo $row->vendor_name; ?></td> <td><?php echo $row->sub_total; ?></td> <td><?php echo $row->tax_total; ?></td> <td><?php echo $row->transport_total; ?></td> <td><?php echo $row->discount_total; ?></td> <td><?php echo $row->grand_total; ?></td> <td><?php echo $row->payment_status; ?></td> <td><?php echo $row->date; ?></td> <td> <a href="edit_order_purchase.php?purchase_order_id=<?php echo $row->purchase_order_id; ?>&update=yes" title="Edit Details"><i class="fa fa-edit"></i></a> <a href="purchaseorderinvoice.php?id=<?php echo $row->purchase_order_id; ?>" title="View Details"><i class="fa fa-eye"></i></a> <a href="view_purchase_order.php?id=<?php echo $row->purchase_order_id; ?>&del=yes" title="Delete Details"><i class="fa fa-trash"></i></a> </td> </tr> <?php } ?> </tbody> </table> </div> </div><!--/span--> </div><!--/row--> </div><!--/.fluid-container--> <!-- end: Content --> </div><!--/#content.span10--> </div><!--/fluid-row--> <div class="modal hide fade" id="myModal"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal">×</button> <h3>Settings</h3> </div> <div class="modal-body"> <p>Here settings can be configured...</p> </div> <div class="modal-footer"> <a href="#" class="btn" data-dismiss="modal">Close</a> <a href="#" class="btn btn-primary">Save changes</a> </div> </div> </div> </div> </div><!-- /.col-lg-12 --> </div><!-- /.row --> <!-- /.row --> <!-- /.row --> </div><!-- /.inner --> </div><!-- /.outer --> </div><!-- /#content --> <div id="right" class="bg-light lter"> <div class="alert alert-danger"> <button type="button" class="close" data-dismiss="alert">×</button> <strong>Warning!</strong> Best check yo self, you're not looking too good. </div> <!-- .well well-small --> <div class="well well-small dark"> <ul class="list-unstyled"> <li>Visitor <span class="inlinesparkline pull-right">1,4,4,7,5,9,10</span> </li> <li>Online Visitor <span class="dynamicsparkline pull-right">Loading..</span> </li> <li>Popularity <span class="dynamicbar pull-right">Loading..</span> </li> <li>New Users <span class="inlinebar pull-right">1,3,4,5,3,5</span> </li> </ul> </div><!-- /.well well-small --> <!-- .well well-small --> <div class="well well-small dark"> <button class="btn btn-block">Default</button> <button class="btn btn-primary btn-block">Primary</button> <button class="btn btn-info btn-block">Info</button> <button class="btn btn-success btn-block">Success</button> <button class="btn btn-danger btn-block">Danger</button> <button class="btn btn-warning btn-block">Warning</button> <button class="btn btn-inverse btn-block">Inverse</button> <button class="btn btn-metis-1 btn-block">btn-metis-1</button> <button class="btn btn-metis-2 btn-block">btn-metis-2</button> <button class="btn btn-metis-3 btn-block">btn-metis-3</button> <button class="btn btn-metis-4 btn-block">btn-metis-4</button> <button class="btn btn-metis-5 btn-block">btn-metis-5</button> <button class="btn btn-metis-6 btn-block">btn-metis-6</button> </div><!-- /.well well-small --> <!-- .well well-small --> <div class="well well-small dark"> <span>Default</span> <span class="pull-right"><small>20%</small> </span> <div class="progress xs"> <div class="progress-bar progress-bar-info" style="width: 20%"></div> </div> <span>Success</span> <span class="pull-right"><small>40%</small> </span> <div class="progress xs"> <div class="progress-bar progress-bar-success" style="width: 40%"></div> </div> <span>warning</span> <span class="pull-right"><small>60%</small> </span> <div class="progress xs"> <div class="progress-bar progress-bar-warning" style="width: 60%"></div> </div> <span>Danger</span> <span class="pull-right"><small>80%</small> </span> <div class="progress xs"> <div class="progress-bar progress-bar-danger" style="width: 80%"></div> </div> </div> </div><!-- /#right --> </div><!-- /#wrap --> <?php include'footer.php';?>