<?xml version="1.0"?>
<t t-name="hr_timesheet.timesheet_report_subtask">
        <t t-set="subtasks" t-value="doc.browse(subtask_ids_per_task_id.get(task_id, []))"/>
        <t t-foreach="subtasks.sorted('sequence')" t-as="subtask">
            <t t-if="subtask in timesheets_per_task">
                <h2 class="my-4">
                    Sub-Task of '<t t-out="doc.name"/>': <t t-out="subtask.name"/>
                </h2>
                <t t-set="lines" t-value="timesheets_per_task[subtask]"/>
                <t t-call="hr_timesheet.timesheet_table"/>
            </t>
            <t t-set="task_id" t-value="subtask.id"/>
            <t t-call="hr_timesheet.timesheet_report_subtask"/>
        </t>
    </t>

    