From 253996901a10918e3207d46839cdfdc90d200e72 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 14 Mar 2015 20:53:33 -0400 Subject: Calculate the time spent based on the timetable --- app/Template/user/timesheet.php | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'app/Template/user') diff --git a/app/Template/user/timesheet.php b/app/Template/user/timesheet.php index 4f052006..3ae84df0 100644 --- a/app/Template/user/timesheet.php +++ b/app/Template/user/timesheet.php @@ -8,10 +8,11 @@ - - - - + + + + + getCollection() as $record): ?> @@ -19,6 +20,7 @@ +
order(t('Task'), 'task_title') ?>order(t('Subtask'), 'subtask_title') ?>order(t('Start'), 'start') ?>order(t('End'), 'end') ?>order(t('Task'), 'task_title') ?>order(t('Subtask'), 'subtask_title') ?>order(t('Start'), 'start') ?>order(t('End'), 'end') ?>order(t('Time spent'), 'time_spent') ?>
a($this->e($record['subtask_title']), 'task', 'show', array('project_id' => $record['project_id'], 'task_id' => $record['task_id'])) ?>
-- cgit v1.2.3