shiftSaleReport.php 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. <?php
  2. $i=null;
  3. function decimalAndNumberFormat1($number){
  4. $i = number_format(round($number,0));
  5. return $i;
  6. }
  7. function decimalAndNumberFormat2($number){
  8. $i = number_format(round($number,1),1);
  9. return $i;
  10. }
  11. function decimalAndNumberFormat3($number){
  12. $i = number_format(round($number,3));
  13. return $i;
  14. }
  15. ?>
  16. <!DOCTYPE html>
  17. <html>
  18. <head>
  19. <meta charset="utf-8">
  20. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  21. <title>Forward Station Server</title>
  22. <!-- Tell the browser to be responsive to screen width -->
  23. <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
  24. <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
  25. <link href="https://cdn.datatables.net/r/bs-3.3.5/jq-2.1.4,dt-1.10.8/datatables.min.css" rel="stylesheet"/>
  26. <script src="https://cdn.datatables.net/1.10.12/js/jquery.dataTables.min.js"></script>
  27. <script src="https://cdn.datatables.net/1.10.19/js/dataTables.bootstrap.min.js" charset="utf-8"></script>
  28. <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"></script>
  29. <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/js/bootstrap.min.js"></script>
  30. <!-- Bootstrap 3.3.7 -->
  31. <link rel="stylesheet" href="bower_components/bootstrap/dist/css/bootstrap.min.css">
  32. <!-- Font Awesome -->
  33. <link rel="stylesheet" href="bower_components/font-awesome/css/font-awesome.min.css">
  34. <!-- Ionicons -->
  35. <link rel="stylesheet" href="bower_components/Ionicons/css/ionicons.min.css">
  36. <!-- Theme style -->
  37. <link rel="stylesheet" href="dist/css/AdminLTE.min.css">
  38. <link rel="stylesheet" href="dist/css/style.css">
  39. <!-- <link rel="stylesheet" href="dist/css/skins/_all-skins.min.css"> -->
  40. <!-- Morris chart -->
  41. <link rel="stylesheet" href="bower_components/morris.js/morris.css">
  42. <!-- jvectormap -->
  43. <link rel="stylesheet" href="bower_components/jvectormap/jquery-jvectormap.css">
  44. <!-- Date Picker -->
  45. <link rel="stylesheet" href="bower_components/bootstrap-datepicker/dist/css/bootstrap-datepicker.min.css">
  46. <!-- Daterange picker -->
  47. <link rel="stylesheet" href="bower_components/bootstrap-daterangepicker/daterangepicker.css">
  48. <!-- bootstrap wysihtml5 - text editor -->
  49. <link rel="stylesheet" href="plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.min.css">
  50. <!-- Google Font -->
  51. <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700,300italic,400italic,600italic">
  52. <link href='http://fonts.googleapis.com/css?family=Lobster' rel='stylesheet' type='text/css'>
  53. <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.2/css/all.css">
  54. </head>
  55. <body class="hold-transition skin-blue sidebar-mini">
  56. <div class="wrapper">
  57. <?php include("main_header.php");?>
  58. <!-- Content Wrapper. Contains page content -->
  59. <div class="content-wrapper">
  60. <form>
  61. <input type="date" name="selectDateToFind">
  62. <input class="btn btn-primary" type="submit" value="Find">
  63. </form>
  64. <div class="container-fluid">
  65. <div class="row">
  66. <div class="col-sm-4">
  67. <table id="example" class="table display table-striped table-bordered table-hover table-sm" cellspacing="0" width="100%">
  68. <?php include "api/v1/ShiftSaleReport/shiftSaleVw1.php" ?>
  69. <?php include "api/v1/ShiftSaleReport/shiftSaleReport1.php" ?>
  70. </table>
  71. </div>
  72. <div class="col-sm-4">
  73. <table id="example" class="table display table-striped table-bordered table-hover table-sm" cellspacing="0" width="100%">
  74. <?php include "api/v1/ShiftSaleReport/shiftSaleVw2.php" ?>
  75. <?php include "api/v1/ShiftSaleReport/shiftSaleReport2.php" ?>
  76. </table>
  77. </div>
  78. </div>
  79. </div>
  80. </div>
  81. <!-- /.content-wrapper -->
  82. </div>
  83. <!-- ./wrapper -->
  84. <!-- jQuery 3 -->
  85. <script src="bower_components/jquery/dist/jquery.min.js"></script>
  86. <script>
  87. $.widget.bridge('uibutton', $.ui.button);
  88. </script>
  89. <!-- Bootstrap 3.3.7 -->
  90. <script src="bower_components/bootstrap/dist/js/bootstrap.min.js"></script>
  91. <!-- Morris.js charts -->
  92. <script src="bower_components/raphael/raphael.min.js"></script>
  93. <script src="bower_components/morris.js/morris.min.js"></script>
  94. <script src="bower_components/moment/min/moment.min.js"></script>
  95. <script src="bower_components/bootstrap-daterangepicker/daterangepicker.js"></script>
  96. <!-- datepicker -->
  97. <script src="bower_components/bootstrap-datepicker/dist/js/bootstrap-datepicker.min.js"></script>
  98. <!-- Bootstrap WYSIHTML5 -->
  99. <script src="plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.all.min.js"></script>
  100. <!-- Slimscroll -->
  101. <!-- FastClick -->
  102. <script src="bower_components/fastclick/lib/fastclick.js"></script>
  103. <!-- AdminLTE App -->
  104. <script src="dist/js/adminlte.min.js"></script>
  105. <!-- AdminLTE dashboard demo (This is only for demo purposes) -->
  106. <script src="dist/js/pages/dashboard.js"></script>
  107. <!-- AdminLTE for demo purposes -->
  108. <script src="dist/js/demo.js"></script>
  109. </body>
  110. </html>
  111. <!-- -->