Eric Davis
5d3946366d
Fixed the 'No Deliverable' query. #1383 #1384
2008-06-26 16:16:45 -07:00
Eric Davis
20899e64c0
Added links to the issues and deliverables for missing budget amounts. #1383 #1384
2008-06-26 16:11:38 -07:00
Eric Davis
a1167e67d1
Adding Budget Missing calculations. #1383 #1384
2008-06-26 15:58:26 -07:00
Eric Davis
6c34f7b35f
Added Budget.labor_budget and Budget.labor_budget_spent. #1382
2008-06-26 15:33:53 -07:00
Eric Davis
3b5c46dfab
Updated labels. #1377 #1378 #1379 #1380
2008-06-26 15:25:05 -07:00
Eric Davis
5c0ccc549b
Updated CSS to remove cell borders on the alternative CSS. #1374
2008-06-26 15:21:43 -07:00
Eric Davis
d06af8384f
Removed space before paren
2008-06-23 16:17:19 -07:00
Eric Davis
e9da38fd2d
Hide the labor budget from users without permission
2008-06-23 16:12:04 -07:00
Eric Davis
28d23109f2
Updated Deliverable filter to have the All and None options. #1360
2008-06-23 15:59:39 -07:00
Eric Davis
e5822befb0
Added the ability to pass a default value into the field_with_budget_observer_and_totals so the system defaults will appear correctly. #1351
2008-06-20 11:54:44 -07:00
Eric Davis
3dea68522e
Added custom fields to track number or % values. #1348
2008-06-19 17:23:39 -07:00
Eric Davis
ab67d20fcf
Don't use hooks if the project doesn't have the module enabled. #1300
2008-06-19 16:52:21 -07:00
Eric Davis
8295b737a1
Potential fix by calling the update every 5 seconds. Brute force but works.
...
When the FireFox "suggest history" dropbox is used, neither the blur nor change event is fired. I have one solution that covers many of the common cases but fails on some others:
* Works - type, down arrow to suggest history, tab
* Works - type, down arrow to suggest history, enter, tab
* Works - type, click
* Works - type, tab
* Fails - down arrow to suggest history, enter, tab
* Fails - down arrow to suggest history, arrow right, tab
I have another solution which is to have a timer update the budget every 5 seconds. This will make sure that even if the blur/change events are not fired, the values will be updated soon. It's brute force but works (in FF so far, still need to test cross-browser). I'm not seeing any performance impact, even with debugging on.
#1350
2008-06-19 16:33:15 -07:00
Eric Davis
b776098c7d
Changed profit to take into account the overhead along with the total labor cost
...
when profit is a %
* Fixed Models
* Fixed JS Calculator
* Cleaned up specs to access attributes directly
#1349
2008-06-19 15:29:02 -07:00
Eric Davis
5431df3d8d
Check for special case with the Issue.find to not conflict with Search, #1347
2008-06-19 14:59:40 -07:00
Eric Davis
63ba3fafc7
Progress and Score should be 0 by default. #1305
2008-06-12 16:31:15 -07:00
Eric Davis
42efb03925
Converted all details into tables. #1274
2008-06-12 16:25:19 -07:00
Eric Davis
9989b6971b
Adding dollar signs or % to amounts
...
* Added number_or_percent helper to return the correct string
* Deliverable.labor_budget will now return 0.0 if it's nil
#1274
2008-06-12 16:05:02 -07:00
Eric Davis
d3cbbbb07f
Hiding bulk version assignment when there are no version. #1274
2008-06-12 15:51:03 -07:00
Eric Davis
123412dd38
Header data is now a table... ick #1274
2008-06-12 15:49:04 -07:00
Eric Davis
55aa505243
Refactored arrows. #1274
2008-06-12 15:41:49 -07:00
Eric Davis
60a0539d53
Added toggling arrows. #1274
2008-06-12 15:32:36 -07:00
Eric Davis
c5a59ba5fe
More form cleanup. #1274
2008-06-12 15:14:17 -07:00
Eric Davis
52d6687f52
More form cleanup. #1274
2008-06-12 15:04:01 -07:00
Eric Davis
8a69714981
Converted side form to a table. #1274
2008-06-12 14:54:37 -07:00
Eric Davis
739d9f7a83
Removing any spacing in the JS buttons that is defined in the base Redmine. #1274
2008-06-12 14:31:11 -07:00
Eric Davis
ae723394d7
Reduced the size of the subject lin. #1274
2008-06-12 14:27:15 -07:00
Eric Davis
9da7ac6fdd
Added class for the budget header. #1274
2008-06-12 14:25:26 -07:00
Eric Davis
4fa05796c2
Rounding member rates. #1304
2008-06-12 14:21:24 -07:00
Eric Davis
888308da2e
Added edit image instead of text for Deliverable actions
2008-06-11 09:21:49 -07:00
Eric Davis
83c4cdc628
Rdoc'ing helpers
2008-06-11 09:21:26 -07:00
Eric Davis
b1b24da6e4
Updated plugin description and marking as version 0.1.0
2008-06-11 09:20:53 -07:00
Eric Davis
191221908d
Added rdoc comments and using the Base class now
2008-06-11 09:20:22 -07:00
Eric Davis
8150cfcabc
Added rdoc comments
2008-06-11 09:19:51 -07:00
Eric Davis
cb7d4a41a0
Adding documentation files
2008-06-11 09:18:08 -07:00
Eric Davis
8594ea53c6
Moved rake tasks into the Rakefile so Rails will not pick them up. Added rdoc task
2008-06-11 09:17:25 -07:00
Eric Davis
6b361642d2
Added protection
2008-06-09 17:20:28 -07:00
Eric Davis
618b3757af
Minor CSS tweaks
2008-06-09 17:19:19 -07:00
Eric Davis
1bb2742521
Matched layout to comp. #1190
2008-06-09 17:08:17 -07:00
Eric Davis
211fc5879d
Added MemberSpent class to help create the fields for getting the amounts per member. #1190
2008-06-09 16:32:26 -07:00
Eric Davis
b571a1f338
Added count of the issues based on tracker. #1190
2008-06-09 15:46:45 -07:00
Eric Davis
09f88d623c
Updating the dropdown per comp. #1190
2008-06-09 15:32:39 -07:00
Eric Davis
6c6f756de8
Added labor_budget virtual field and made that the Budget column. #1190
2008-06-09 15:31:57 -07:00
Eric Davis
e691f4c2f0
Fixing the Journal display on the issue list. #1276
2008-06-04 18:20:41 -07:00
Eric Davis
b048542307
Refactored budget panel so it can be updated by RJS when a new deliverable is added. #1278
2008-06-04 17:01:43 -07:00
Eric Davis
94bbbff012
Clear preview pane on submission. #1277
2008-06-04 16:53:16 -07:00
Eric Davis
ba8a3400ec
Added ability to change a deliverables type
2008-06-04 16:50:19 -07:00
Eric Davis
86741878c6
Added pagination
2008-06-04 16:21:25 -07:00
Eric Davis
85affdb59b
Fixing TODOS.
2008-06-04 16:04:32 -07:00
Eric Davis
96bddffd53
Cleanup of view
2008-06-04 15:59:01 -07:00
Eric Davis
9b4072875c
Added more protection from permissions. #1138
2008-06-04 15:47:40 -07:00
Eric Davis
203ad5c90e
Adding helper to show or hide elements based on permissions. #1138
2008-06-04 15:44:44 -07:00
Eric Davis
23c6ee6e92
Renamed Deliverable.due_date to due so it doesn't conflict with issue.due_date
2008-06-03 17:36:57 -07:00
Eric Davis
490bf73efe
Calc cleanup
2008-06-03 17:19:30 -07:00
Eric Davis
5180b5b218
Remove partial dollars
2008-06-03 16:53:06 -07:00
Eric Davis
81d1c212b7
Fixed funky forms.
2008-06-03 16:48:45 -07:00
Eric Davis
f9a8ffdb0d
Cleanup of the form. #1274
2008-06-03 16:37:03 -07:00
Eric Davis
1ea8264c7d
Moved call to after the form fields are setup. #1274
2008-06-03 16:30:58 -07:00
Eric Davis
9012487889
Corrected field display. #1274
2008-06-03 16:26:48 -07:00
Eric Davis
065e0ecc9f
Added header image. #1274
2008-06-03 16:21:44 -07:00
Eric Davis
df6d9af808
Formatted the cells. #1268
2008-06-03 16:10:23 -07:00
Eric Davis
f21bc2480b
Added Ruby sorts on the virtual attributes. #1135
2008-06-03 16:00:15 -07:00
Eric Davis
e1cea90cd0
Added bulk issue assignment by version. #1157
2008-06-03 15:17:11 -07:00
Eric Davis
322013f4a0
Added Budget.profit. #1137
2008-06-03 14:41:04 -07:00
Eric Davis
1b04fbcbc5
Added html specdocs
2008-06-03 14:39:21 -07:00
Eric Davis
060f8401ae
Removing extras
2008-05-28 17:06:55 -07:00
Eric Davis
cfa4a372db
Added delete link. #1190
2008-05-28 17:05:58 -07:00
Eric Davis
821b779535
Hooked up the edit form. #1190
2008-05-28 16:59:16 -07:00
Eric Davis
f5adad48d1
Added link to issues filtered by query. #1190
2008-05-28 16:35:36 -07:00
Eric Davis
eba994a686
Building up the JavaScript details. #1190
2008-05-28 16:14:55 -07:00
Eric Davis
e96bdccb42
Cleanup of values when a project is empty. #1137
2008-05-28 13:13:08 -07:00
Eric Davis
c433de9ec7
Added some defaults when there are no deliverables.
2008-05-28 13:03:42 -07:00
Eric Davis
990a10a4e8
Completed budget.spent calculation. #1137
2008-05-28 13:01:10 -07:00
Eric Davis
65da8e7594
Completed deliverable.spent calculation. #1136
2008-05-28 12:55:02 -07:00
Eric Davis
9df51da8f8
Fixing nil values
2008-05-28 12:23:13 -07:00
Eric Davis
fb3f7c9977
Added Ajax form to update the member rate. #1150
2008-05-28 12:12:22 -07:00
Eric Davis
80e2d7cdcf
Added members.rate field. #1151
2008-05-28 10:10:27 -07:00
Eric Davis
d05de4ff11
Fixed bulk edit hook. Started on hooks for members. #1147
2008-05-27 17:13:05 -07:00
Eric Davis
6835ec59dc
Registering hooks for the issues. #1147
2008-05-27 16:47:00 -07:00
Eric Davis
5af52d5c15
Added budget items to view. #1137
2008-05-23 18:17:27 -07:00
Eric Davis
1eb49e3c87
Fixed API usage, projects are not releated to Deliverables. #1137
2008-05-23 18:17:05 -07:00
Eric Davis
50f0d02391
Implemented Budget.overruns. #1137
2008-05-23 17:46:52 -07:00
Eric Davis
6056069858
Implemented a lot more Budget calculations by building on the basics. #1137
2008-05-23 17:41:19 -07:00
Eric Davis
332925b31a
Implemented Budget.final_due_date. #1137
2008-05-23 17:22:13 -07:00
Eric Davis
8c02ee4ade
Implementing Budget class along with it's helper methods. #1137
2008-05-23 17:14:53 -07:00
Eric Davis
5093377a5b
Base Budget class, #1137
2008-05-23 16:48:03 -07:00
Eric Davis
f20b614f84
Removed TODO flag
2008-05-23 16:39:42 -07:00
Eric Davis
1637e5cdd1
Implemented more of the Deliverable calculations
...
* Added deliverable.score
* Added fixed_deliverable.score as 0
* Added deliverable.budget_ratio
#1136
2008-05-23 16:38:27 -07:00
Eric Davis
9e743932d1
Updated deliverable.progress to return 100 if it has no issues. #1136
2008-05-23 16:18:40 -07:00
Eric Davis
7e9e2759b8
Updated Deliverable.progress
...
* Make it return 100 if there are no issues
* Get rid of sum in favor of manually adding values
* Expand the progress bar to 100%
#1136
2008-05-23 16:16:42 -07:00
Eric Davis
dee52c0042
Check if include is nil before appending. #1136
2008-05-23 16:15:30 -07:00
Eric Davis
c88de6ce4e
Implemented the Deliverable.progress calculations. #1136
2008-05-23 15:59:41 -07:00
Eric Davis
b429ee23a8
Fully hooked the Deliverable columns into the filters and Queries
...
* The Deliverable subject can now be filtered on the issues list
* The Deliverable subject can now be displayed on the issues lists with
as a default column or part of a saved query
* The issues can be sorted by the deliverable
#1148
2008-05-21 11:51:28 -07:00
Eric Davis
600750a3c1
Added patch to add the deliverable_id to issue queries. #1148
2008-05-21 11:24:34 -07:00
Eric Davis
0e23c3c1c2
Added signoff checkboxes. #1135
2008-05-21 10:25:14 -07:00
Eric Davis
697b966dd7
Added issues relationship to deliverables. #1135
2008-05-21 10:22:13 -07:00
Eric Davis
a9c8897ed4
Added percent fields and changed the setters on Deliverables to save the values. #1135
2008-05-21 10:17:26 -07:00
Eric Davis
1330740fa3
Adding Fixed Bid language entry
2008-05-21 10:16:45 -07:00
Eric Davis
e05cf1dc12
Added precisions to the decimals. Moved virtual fields to be actual db fields. #1135
2008-05-21 10:02:23 -07:00
Eric Davis
91f56a6f21
Hooked up the toggle to adjust the calculations. #1135
2008-05-21 09:30:15 -07:00