Consider task duration in ordergroup stats.
* Also added duration to task template in workgroup task_duration.
This commit is contained in:
parent
be85296ddb
commit
c2496aa4fd
19 changed files with 80 additions and 32 deletions
|
|
@ -9,6 +9,8 @@ class GroupTest < Test::Unit::TestCase
|
|||
end
|
||||
end
|
||||
|
||||
|
||||
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: groups
|
||||
|
|
@ -17,7 +19,7 @@ end
|
|||
# type :string(255) default(""), not null
|
||||
# name :string(255) default(""), not null
|
||||
# description :string(255)
|
||||
# account_balance :decimal(8, 2) default(0.0), not null
|
||||
# account_balance :decimal(, ) default(0.0), not null
|
||||
# account_updated :datetime
|
||||
# created_on :datetime not null
|
||||
# role_admin :boolean default(FALSE), not null
|
||||
|
|
@ -35,5 +37,6 @@ end
|
|||
# contact_phone :string(255)
|
||||
# contact_address :string(255)
|
||||
# stats :text
|
||||
# task_duration :integer default(1)
|
||||
#
|
||||
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ class TaskTest < Test::Unit::TestCase
|
|||
end
|
||||
end
|
||||
|
||||
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: tasks
|
||||
|
|
@ -24,6 +25,6 @@ end
|
|||
# updated_on :datetime not null
|
||||
# required_users :integer default(1)
|
||||
# weekly :boolean
|
||||
# duration :integer
|
||||
# duration :integer default(1)
|
||||
#
|
||||
|
||||
|
|
|
|||
|
|
@ -7,6 +7,8 @@ class WorkgroupTest < ActiveSupport::TestCase
|
|||
end
|
||||
end
|
||||
|
||||
|
||||
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: groups
|
||||
|
|
@ -15,7 +17,7 @@ end
|
|||
# type :string(255) default(""), not null
|
||||
# name :string(255) default(""), not null
|
||||
# description :string(255)
|
||||
# account_balance :decimal(8, 2) default(0.0), not null
|
||||
# account_balance :decimal(, ) default(0.0), not null
|
||||
# account_updated :datetime
|
||||
# created_on :datetime not null
|
||||
# role_admin :boolean default(FALSE), not null
|
||||
|
|
@ -33,5 +35,6 @@ end
|
|||
# contact_phone :string(255)
|
||||
# contact_address :string(255)
|
||||
# stats :text
|
||||
# task_duration :integer default(1)
|
||||
#
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue