feat: add project invoicing cell.

This commit is contained in:
elforjani13
2022-09-08 21:44:16 +02:00
parent c75f46d8a4
commit 2ae720821e
4 changed files with 62 additions and 0 deletions

View File

@@ -40,6 +40,9 @@ function ProjectDetailActionsBar({
// Handle new transaction button click.
const handleNewTransactionBtnClick = ({ path }) => {
switch (path) {
case 'invoincing':
openDialog('project-invoicing-form');
break;
case 'expense':
openDialog('project-expense-form', { projectId });
break;