Hallo! Selamat Datang di Marketplace produk digital, Freelancer terbaik di indonesia (68414 Members, 793 Products, 5353 Topic, 13045 Comments)

Manggaleh Laporan - Error Number: 1054

Dibuat
Login Terakhir 3 Tahun lalu,
Telah Dilihat 1392 Kali
Teguh iman budhi Mengatakan : Sultan Account
  1. Assalamualaikum Warahmatullahi Wabarakatuh...
  2.  
  3.  
  4. A Database Error Occurred
  5.  
  6. Error Number: 1054
  7.  
  8. Unknown column 'b.ppn' in 'field list'
  9.  
  10. select a.nama_pelanggan, a.alamat_pelanggan_1, a.kota, b.trx, c.total from (select x.*, y.name as kota from mu_pelanggan x JOIN mu_city y ON x.city_id=y.city_id) as a LEFT JOIN (select id_pelanggan, COUNT(*) trx from mu_transaksi GROUP BY id_pelanggan HAVING COUNT(id_pelanggan)) as b on a.id_pelanggan=b.id_pelanggan LEFT JOIN (SELECT a.*, b.id_pelanggan, sum(a.jumlah_jual*a.jumlah_satuan*a.harga_jual-a.diskon_jual-(b.ppn/100*(a.jumlah_jual*a.jumlah_satuan*a.harga_jual))) as total FROM `mu_transaksi_detail` a JOIN mu_transaksi b ON a.id_transaksi=b.id_transaksi GROUP BY b.id_pelanggan) as c on a.id_pelanggan=c.id_pelanggan where b.trx >=1 ORDER BY b.trx DESC
  11.  
  12. Filename: I:/xampp/htdocs/manggaleh/application/models/Model_laporan.php
  13.  
  14. Line Number: 70
  15.  

Ada 1 Jawaban

Bukhori Muslim
commented on 04 Mei 2020 10:04:51
  1. Assalamualaikum,.. disini gan sudah dibahas :
  2. https://members.phpmu.com/forum/read/error-manggaleh-tidak-bisa-jalan
Maaf, Untuk Memberikan Komentar Anda Harus Login !!!

Online