diff --git a/app/Models/PaymentStatusModel.php b/app/Models/PaymentStatusModel.php index 974358d3..1b1a0c4a 100644 --- a/app/Models/PaymentStatusModel.php +++ b/app/Models/PaymentStatusModel.php @@ -27,7 +27,7 @@ class PaymentStatusModel extends Model ]; - public function getPaymentData($fromDate = null, $toDate = null, $status) + public function getPaymentData($fromDate, $toDate, $status) { $builder = $this->db->table('payment_status')->select('payment_status.*,concat(customers.first_name," ",customers.last_name) as customer_name,books.short_code as scheme_name')