Show a billed fixed-task under itself in the customer_form view

As billed fixed-cost tasks cannot have an active task, the task itself
still is the one that is billed.  Show the task under itself to expose
the fact that it is billed and in which invoice.
This commit is contained in:
Paul van Tilburg 2013-07-14 14:37:40 +02:00
parent 19d4efaca3
commit 30fd5ec599
1 changed files with 1 additions and 1 deletions

View File

@ -820,7 +820,7 @@ module StopTime::Controllers
if cur_active_task.nil?
# Apparently there is no active task anymore, probably
# it was a fixed-cost task
@billed_tasks[task] = []
@billed_tasks[task] = [task]
else
@billed_tasks[cur_active_task] << task
end