Fix for Sale Suspend/Unsuspend

This commit is contained in:
WShells
2024-04-19 16:01:34 +03:00
committed by jekkos
parent f75c7fad15
commit f5bc497602

View File

@@ -90,7 +90,7 @@ class Customer extends Person
/**
* Gets information about a particular customer
*/
public function get_info(int $person_id): object
public function get_info(?int $person_id): object
{
$builder = $this->db->table('customers');
$builder->join('people', 'people.person_id = customers.person_id');