support custom fields for timesheets, customers, projects and activities (#871)
This commit is contained in:
@@ -22,6 +22,18 @@ use Pagerfanta\Pagerfanta;
|
||||
|
||||
class CustomerRepository extends AbstractRepository
|
||||
{
|
||||
/**
|
||||
* @param Customer $customer
|
||||
* @throws ORMException
|
||||
* @throws \Doctrine\ORM\OptimisticLockException
|
||||
*/
|
||||
public function saveCustomer(Customer $customer)
|
||||
{
|
||||
$entityManager = $this->getEntityManager();
|
||||
$entityManager->persist($customer);
|
||||
$entityManager->flush();
|
||||
}
|
||||
|
||||
/**
|
||||
* @param int $id
|
||||
* @return null|Customer
|
||||
|
||||
Reference in New Issue
Block a user