mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-04-12 19:09:34 -04:00
Fix for Sale Suspend/Unsuspend
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user