$this->db->join( \'people as P\', \'P.id = payment.customer_id and ( payment.customer_type = \\\'P\\\' or payment.customer_type = \\\'CP\\\' or payment.customer_ty