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