Advertisement
Guest User

Untitled

a guest
Apr 22nd, 2019
226
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.45 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <?php
  3. include 'ceksudahlogin.php';
  4. ?>
  5. <html>
  6. <head>
  7. <?php include('include/head.php'); ?>
  8. </head>
  9. <body>
  10. <?php include('include/header.php'); ?>
  11. <?php include('include/sidebar.php'); ?>
  12. <div class="main-container">
  13. <div class="pd-ltr-20">
  14. <div class="min-height-200px">
  15. <div class="page-header">
  16. <div class="row">
  17. <div class="col-md-6 col-sm-12">
  18. <div class="title">
  19. <h4>Form</h4>
  20. </div>
  21. <nav aria-label="breadcrumb" role="navigation">
  22. <ol class="breadcrumb">
  23. <li class="breadcrumb-item"><a href="index.php">Home</a></li>
  24. <li class="breadcrumb-item active" aria-current="page">Form Request Barang</li>
  25. </ol>
  26. </nav>
  27. </div>
  28. </div>
  29. </div>
  30. <!-- Default Basic Forms Start -->
  31. <div class="pd-20 bg-white border-radius-4 box-shadow mb-30">
  32. <div class="clearfix">
  33. <div class="pull-left">
  34. <h4 class="text-blue">Form Request Barang</h4>
  35. <p class="mb-30 font-14">Untuk Semua Part Konsumsi</p>
  36. </div>
  37. </div>
  38. <button type="button" class="btn btn-primary" name="button" onclick="window.location.href='addreqmpro.php'">TAMBAH</button>
  39. <button type="button" class="btn btn-warning" disabled="disabled">EDIT</button>
  40. <button type="button" class="btn btn-success" disabled="disabled">SAVE</button>
  41. <button type="button" class="btn btn-danger" disabled="disabled">DELETE</button>
  42. <button type="button" class="btn btn-dark" disabled="disabled">CANCEL</button>
  43. <div class="form-group row">
  44. <label class="col-sm-12 col-md-2 col-form-label">Request No</label>
  45. <div class="col-sm-12 col-md-12 input-group">
  46. <input class="form-control" type="text" name="requestnumber" id="requestnumber" placeholder="Nomor Request">
  47. <button type="button" class="btn btn-primary" name="button" onclick="window.location.href='javascript: buka_popup();'"><i class="icon-copy fa fa-folder-open" aria-hidden="true"></i></button>
  48. </div>
  49. </div>
  50. <div class="form-group row">
  51. <label class="col-sm-12 col-md-2 col-form-label">Request Date</label>
  52. <div class="col-sm-12 col-md-12">
  53. <input class="form-control date-picker" name="requestdate" placeholder="Select Date" type="text" disabled>
  54. </div>
  55. </div>
  56. <div class="table-responsive">
  57. <table class="table table-striped" >
  58. <thead>
  59. <tr>
  60. <th >PartID</th>
  61. <th >PartName</th>
  62. <th >LocationID</th>
  63. <th >UnitID</th>
  64. <th >Qty</th>
  65. <th >Note</th>
  66. <th >Hapus</th>
  67. </tr>
  68. </thead>
  69. <tbody>
  70. </tbody>
  71. </table>
  72. </div>
  73. <button type="button" class="btn btn-success btn-xs" disabled>+</button>
  74. </div>
  75. </div>
  76.  
  77. </div>
  78. <?php include('include/footer.php'); ?>
  79. </div>
  80. <?php include('include/script.php'); ?>
  81.  
  82. <script>
  83. var child;
  84. $(document).ready(function () {
  85. //function lain yg ada di kamu
  86.  
  87. });
  88.  
  89. function buka_popup() {
  90. if (child) {
  91. child.close();
  92.  
  93.  
  94. }
  95. child = window.open('datapart.php', 'children', 'width=600, height=300, location=0');
  96.  
  97. }
  98.  
  99. function cek(data){
  100. $('input[name=requestnumber').val(data[0].PartID);
  101. }
  102.  
  103. </script>
  104.  
  105. </body>
  106. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement