SHARE
TWEET

proses_packing_coba.php

a guest May 24th, 2019 77 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2.   require_once 'core/init.php';
  3.  
  4.    $laporan = tampilkan_temp_packing_jumlah();
  5.     $data = mysqli_fetch_assoc($laporan);
  6.     $jmlhscan = $data['jumlah'];
  7.  
  8.     $no_karton =$_POST['kartonpo'];
  9.     $master = $_POST['master'];
  10.     $kode_barcode = $_POST['isi_barcode'];
  11.     $tanggal = date("Y-m-d");;
  12.     $jam     = date("H:i:s");
  13.     $qty     = 1;
  14.     $isikarton = $_POST['isi_karton3'];
  15.     $jmlhscan = $_POST['jumlah_scan'];
  16.  
  17.  
  18.     // $kode_barcode == $master &&
  19.     if( $kode_barcode == $master && 3 $jmlhscan < $isikarton) {
  20.      
  21.       if(tambah_data_temp_packing($no_karton, $tanggal, $jam, $kode_barcode, $qty )){
  22.       echo "true";
  23.       }else {
  24.       echo "error";
  25.     }
  26.     }else{
  27.         echo "false";
  28.     }
  29. //   }else{
  30. //     echo "false";
  31. // }
  32. ?>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top