added short invoice calculator and timesheet invoice template #104 (#105)

This commit is contained in:
Kevin Papst
2018-01-23 22:30:41 +01:00
committed by GitHub
parent 50b5e93a10
commit 7f5b5ac254
10 changed files with 215 additions and 5 deletions

View File

@@ -231,6 +231,17 @@ class InvoiceController extends AbstractController
]);
}
/**
* @param InvoiceModel $model
* @return \Symfony\Component\HttpFoundation\Response
*/
public function timesheetAction(InvoiceModel $model)
{
return $this->render('invoice/timesheet.html.twig', [
'model' => $model,
]);
}
/**
* @param InvoiceQuery $query
* @return \Symfony\Component\Form\FormInterface