No longer disable billed tasks for editing in the customer form

This commit is contained in:
Paul van Tilburg 2012-01-31 22:52:13 +01:00
parent bf1d0c633d
commit 53ec809f08
1 changed files with 1 additions and 2 deletions

View File

@ -1624,8 +1624,7 @@ module StopTime::Views
select :name => "task_id", :size => 10 do
@tasks.each do |task|
if task.billed?
option(:value => task.id,
:disabled => true) { task.name + " (#{task.invoice.number})" }
option(:value => task.id) { task.name + " (#{task.invoice.number})" }
else
option(:value => task.id) { task.name }
end