projecten

This commit is contained in:
2018-01-23 08:45:44 +01:00
parent 970aa53971
commit fb19c401fd
36 changed files with 1402 additions and 184 deletions
+3 -2
View File
@@ -29,13 +29,14 @@ class Customer extends BaseModel {
if( $customerID == 0)
{
$customer = Customer::create($customer);
$customerID = $customer['id'];
}
else
{
$customer = Customer::whereId($customerID)->update($customer);
Customer::whereId($customerID)->update($customer);
}
return $customer['id'];
return $customerID;
}
public static function removeCustomer($customerID)