1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-13 06:32:40 +01:00

Add calculated start date to transformer

This commit is contained in:
David Bomba 2023-07-19 09:19:26 +10:00
parent d08a8d74c4
commit f40ccaed96

View File

@ -130,6 +130,7 @@ class TaskTransformer extends EntityTransformer
'status_sort_order' => (int) $task->status_sort_order, //deprecated 5.0.34
'is_date_based' => (bool) $task->is_date_based,
'status_order' => is_null($task->status_order) ? null : (int) $task->status_order,
'calculated_start_date' => $task->calculated_start_date ?: '',
];
}
}