Skip to content

Commit

Permalink
feat(reports): add debtor column to projects
Browse files Browse the repository at this point in the history
  • Loading branch information
italoteix committed Apr 20, 2021
1 parent 1284532 commit eaba8e9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions composables/useMonthlyProjectsReport.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ export default () => {
return [
{ key: "name", sortable: true },
{ key: "project", sortable: true },
{ key: "debtor", sortable: true },
{ key: "billable", sortable: true, variant: "success" },
];
};
Expand All @@ -21,6 +22,7 @@ export default () => {
name: user.name,
billable: getTotalHours(records) || 0,
project: customer.name,
debtor: customer.debtor,
};
};

Expand Down

0 comments on commit eaba8e9

Please sign in to comment.