Tasks
This commit is contained in:
parent
2b82821065
commit
94f779975e
|
|
@ -251,7 +251,7 @@ abstract class TaskEntity extends Object
|
|||
}
|
||||
|
||||
double calculateAmount(double taskRate) =>
|
||||
taskRate * calculateDuration.inSeconds / 3600;
|
||||
taskRate * round(calculateDuration.inSeconds / 3600, 3);
|
||||
|
||||
Duration get calculateDuration {
|
||||
int seconds = 0;
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ InvoiceItemEntity convertTaskToInvoiceItem(
|
|||
..notes = notes
|
||||
..cost = taskRateSelector(
|
||||
company: state.selectedCompany, project: project, client: client)
|
||||
..qty = round(task.duration / (60 * 60), 2));
|
||||
..qty = round(task.duration / 3600, 3));
|
||||
}
|
||||
|
||||
var memoizedTaskList = memo2(
|
||||
|
|
|
|||
Loading…
Reference in New Issue