Server IP : 162.214.80.37 / Your IP : 216.73.216.83 Web Server : Apache System : Linux sh013.webhostingservices.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : imyrqtmy ( 2189) PHP Version : 8.2.18 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /home2/imyrqtmy/public_html/inventory/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<?php session_start(); $se = $_SESSION["id"]; if (!isset($_SESSION['id'])) { header("Location: login.php"); } include("include/db.php");; $bid = $_GET['id']; ?> <!doctype html> <html lang="en"> <!-- Mirrored from themesdesign.in/morvin/layouts/index.html by HTTrack Website Copier/3.x [XR&CO'2014], Mon, 04 Apr 2022 13:25:02 GMT --> <head> <?php include 'include/head.php'; ?> <style> .one, td,th, tr { border: 1px solid black; border-collapse: collapse; } body { font-family: verdana; } .one { margin: auto; width: 90%; } td,th, td { height: 25px; } #one { width: 40%; } #two { width: 20%; } .two, td,th, tr { border: 1px solid black; border-collapse: collapse; } .two { margin: auto; margin-top: 4px; width: 100%; } .three { border:1px solid black; border-collapse:collapse; margin: auto; margin-top: 4px; width: 90%; margin-bottom:4px; } #n,#new{ border:none; } </style> </head> <body> <!-- Begin page --> <div id="layout-wrapper"> <?php include 'include/header.php'; ?> <!-- ========== Left Sidebar Start ========== --> <div class="vertical-menu"> <?php include 'include/sidebar.php'; ?> </div> <!-- Left Sidebar End --> <!-- ============================================================== --> <!-- Start right Content here --> <!-- ============================================================== --> <div class="main-content"> <div class="page-content"> <!-- start page title --> <div class="page-title-box"> <div class="container-fluid"> <div class="row align-items-center"> <div class="col-sm-6"> <div class="page-title"> <h4>Transfer </h4> <!-- <ol class="breadcrumb m-0"> <li class="breadcrumb-item"><a href="javascript: void(0);">Morvin</a></li> <li class="breadcrumb-item"><a href="javascript: void(0);">Tables</a></li> <li class="breadcrumb-item active">Data Tables</li> </ol> --> </div> </div> <div class="col-sm-6"> </div> </div> </div> </div> <!-- end page title --> <div class="container-fluid"> <div class="page-content-wrapper"> <div class="row"> <div class="col-lg-12"> <div class="card"> <div class="card-body"> <form method="POST" action="action/transfer_data.php?id=<?php echo $bid; ?>" > <div class="row"> <div class="col-md-6"> <div class="mb-3"> <label class="form-label"> Warehouse</label> <select class="form-select" id="wname" name="wname"> <option>choose</option> <?php $sql = "select * from tbl_warhouse "; $sql_res = mysqli_query($con, $sql) or die(mysqli_error($con)); while ($marriage = mysqli_fetch_assoc($sql_res)){ ?> <option value="<?php echo $marriage['w_name'];?>"><?php echo $marriage['w_name'];?></option> <?php } ?> </select> </div> </div> <div class="col-md-6"> <div class="mb-3"> <label class="form-label"> item</label> <select class="form-select" id="item" name="item"> <option >select First Warehouse</option> </select> </div> </div> <div class="col-md-6"> <div class="mb-3"> <label class="form-label"> Stock</label> <input class="form-control" type="text" placeholder="Enter Stock" id="stock" name="stock" required=""> </div> </div> <div class="col-md-6"> <div class="mb-3"> <label class="form-label"> Warehouse</label> <select class="form-select" id="nwname" name="nwname"> <option>choose</option> <?php $sql = "select * from tbl_warhouse "; $sql_res = mysqli_query($con, $sql) or die(mysqli_error($con)); while ($marriage = mysqli_fetch_assoc($sql_res)){ ?> <option value="<?php echo $marriage['w_name'];?>"><?php echo $marriage['w_name'];?></option> <?php } ?> </select> </div> </div> </div> <div> <button class="btn btn-primary" type="submit">Submit</button> </div> </form> </div> </div> </div> <!-- end col --> </div> <!-- end row --> </div> </div> <!-- container-fluid --> </div> <!-- End Page-content --> <footer class="footer"> <?php include 'include/footer.php'; ?> </footer> </div> <!-- end main content--> </div> <!-- END layout-wrapper --> <!-- Right Sidebar --> <!-- /Right-bar --> <!-- Right bar overlay--> <div class="rightbar-overlay"></div> <!-- JAVASCRIPT --> <?php include 'include/bscript.php'; ?> <script type="text/javascript"> $(document).ready(function() { $('#wname').on('change', function() { var stateID = $(this).val(); // alert(conID); $.ajax({ type: 'POST', url: 'Ajax/get_item_wname.php', data: {city: stateID }, success: function(response) { // alert(response); $('#item').html(response); // content.html(response); } }); }); }); </script> </body> <!-- Mirrored from themesdesign.in/morvin/layouts/index.html by HTTrack Website Copier/3.x [XR&CO'2014], Mon, 04 Apr 2022 13:25:42 GMT --> </html>