Feature request: Report of not invoiced hours per client or in total #587

This commit is contained in:
Hillel Coren 2023-10-30 21:42:34 +02:00
parent 18362a6221
commit 5f21d90340
2 changed files with 10 additions and 0 deletions

View File

@ -46,6 +46,7 @@ enum TaskItemReportFields {
created_by,
amount,
record_state,
is_invoiced,
}
var memoizedTaskItemReport = memo10((
@ -263,6 +264,10 @@ ReportResult taskItemReport(
case TaskItemReportFields.record_state:
value = AppLocalization.of(navigatorKey.currentContext!)!
.lookup(task.entityState);
break;
case TaskItemReportFields.is_invoiced:
value = task.isInvoiced;
break;
}
if (!ReportResult.matchField(

View File

@ -46,6 +46,7 @@ enum TaskReportFields {
created_by,
amount,
record_state,
is_invoiced,
}
var memoizedTaskReport = memo10((
@ -253,6 +254,10 @@ ReportResult taskReport(
case TaskReportFields.record_state:
value = AppLocalization.of(navigatorKey.currentContext!)!
.lookup(task.entityState);
break;
case TaskReportFields.is_invoiced:
value = task.isInvoiced;
break;
}
if (!ReportResult.matchField(