Time : 12:51:09
SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1
Raw SQL : select p.*,b.*,v.* from tbl_bank_payment as p join tbl_bankaccountdetail as b join tbl_vehicle as v where p.bankaccountdetail_id = b.bankaccountdetail_id  and b.vehicle_id = v.vehicle_id and p.payment_status='0' and  p.payment_due_date BETWEEN DATE_ADD(CURDATE(), INTERVAL 7 DAY)

Time : 12:50:12
SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'CURDATE() AND BETWEEN DATE_ADD(CURDATE(), INTERVAL 7 DAY)' at line 1
Raw SQL : select p.*,b.*,v.* from tbl_bank_payment as p join tbl_bankaccountdetail as b join tbl_vehicle as v where p.bankaccountdetail_id = b.bankaccountdetail_id  and b.vehicle_id = v.vehicle_id and p.payment_status='0' and  p.payment_due_date CURDATE() AND BETWEEN DATE_ADD(CURDATE(), INTERVAL 7 DAY)

Time : 06:49:00
SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'BETWEEN CURDATE() AND DATE_ADD(CURDATE(), INTERVAL 7 DAY)' at line 1
Raw SQL : SELECT SUM(payment_amount) as paidcount from tbl_bank_payment as p WHERE p.payment_status = '0' and  BETWEEN CURDATE() AND DATE_ADD(CURDATE(), INTERVAL 7 DAY)

Time : 06:11:42
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'b.bankaccountdetail_id' in 'where clause'
Raw SQL : SELECT SUM(payment_amount) as paidcount from tbl_bank_payment as p WHERE p.payment_status != '1' and b.bankaccountdetail_id = 115

Time : 06:11:41
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'b.bankaccountdetail_id' in 'where clause'
Raw SQL : SELECT SUM(payment_amount) as paidcount from tbl_bank_payment as p WHERE p.payment_status != '1' and b.bankaccountdetail_id = 115
