php IHDR w Q )Ba pHYs sRGB gAMA a IDATxMk\U s&uo,mD )Xw+e?tw.oWp;QHZnw`gaiJ9̟灙a=nl[ ʨ G;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ y H@E7j 1j+OFRg}ܫ;@Ea~ j`u'o> j- $_q?qS XzG'ay
files >> /var/www/html/fl/android/ |
files >> /var/www/html/fl/android/harian.php |
<?php include "../konfig/koneksi.php"; include "global.php"; $id_staff = $_POST['id_staff']; $tanggal = $_POST['tanggal']; $result = array(); $customer = mysql_query("SELECT * FROM customer WHERE id_staff='$id_staff'"); while($r = mysql_fetch_array($customer)){ $ada = mysql_num_rows(mysql_query("SELECT * FROM list_pembayaran a, list_orderan b WHERE a.id_list_orderan=b.id_list_orderan AND a.tanggal_pembayaran='$tanggal' AND b.id_customer='$r[id_customer]'")); if($ada>0){ $list_pembayaran = mysql_query("SELECT * FROM list_pembayaran a, list_orderan b WHERE a.id_list_orderan=b.id_list_orderan AND a.tanggal_pembayaran='$tanggal' AND b.id_customer='$r[id_customer]'"); $nama_toko = $r['nama_toko']; while($d=mysql_fetch_array($list_pembayaran)){ $temp = array(); $temp['nama_toko'] = $nama_toko; //$temp['id_list_pembayaran'] = $d['id_list_pembayaran']; //$temp['no_invoice'] = $d['no_invoice']; //$temp['tanggal_pembayaran'] = $d['tanggal_pembayaran']; //$temp['jam_pembayaran'] = $d['jam_pembayaran']; //$temp['cicilan_ke'] = $d['cicilan_ke']; //$temp['denda'] = $d['denda']; $temp['jumlah_bayar'] = $d['jumlah_bayar']; array_push($result, $temp); } } } echo json_encode($result); ?>y~or5J={Eeu磝Qk ᯘG{?+]ן?wM3X^歌>{7پK>on\jy Rg/=fOroNVv~Y+ NGuÝHWyw[eQʨSb> >}Gmx[o[<{Ϯ_qFvM IENDB`