254 Commits

Author SHA1 Message Date
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
Eric Davis
bdec36e7ea Added toggle for the fixed cost, #1135 2008-05-21 09:26:22 -07:00
Eric Davis
8548d46637 Added support for STI deliverables
* HourlyDeliverables cost are based on the time used
* FixedDeliverables are based on a flat rate
* Added a checkbox on the new Deliverable form to pick which one to use

  #1135
2008-05-21 09:15:52 -07:00
Eric Davis
bd5bb6d1c5 Added validation on subject. Fixed failed save. #1135 2008-05-20 23:34:36 -07:00
Eric Davis
bebb2ff15b Hide budget field, added text for budget. #1134 2008-05-20 23:24:14 -07:00
Eric Davis
d11e964aba Removed old functions 2008-05-20 23:12:44 -07:00
Eric Davis
df37d248a1 Updated the JS API to be singleton, #1135 2008-05-20 23:11:43 -07:00
Eric Davis
cbd084eae1 Updates to the JS calucluations
* Moved JavaScript into a Class
* Updated the alignment of the form
* Added some JavaScript form DZone to format the number to a currency

  #1135
2008-05-20 22:52:30 -07:00
Eric Davis
f8399f1968 Complted the JavaScript subtotals on the new Deliverable form
* Subtotals will be updated as data is entered
* Created a helper to setup the fields with observers
* Added JavaScript functions to calculate the values

  #1135
2008-05-20 22:27:00 -07:00
Eric Davis
d3abeb7dec Language update 2008-05-20 21:50:22 -07:00
Eric Davis
1b35005881 Added todo marker 2008-05-20 21:42:39 -07:00
Eric Davis
a9e4d6f490 Cleaned up JavaScript bugs in the amount parasr. #1135 2008-05-20 21:42:04 -07:00
Eric Davis
e2df0f8925 Hooking up budget elements on the form. #1135 2008-05-20 21:30:39 -07:00
Eric Davis
02a1a28a53 Renamed deliverable.cost to deliverable.budget. #1135 2008-05-20 21:05:55 -07:00
Eric Davis
b2ecaca21e Made the new deliverable form to submit via Ajax
* Added DeliverablesController#create
* Refactored each deliverable row to a partial
* Added RJS to update the page after a submission

  #1135
2008-05-20 20:58:35 -07:00
Eric Davis
d1418c25d3 Cleanup of form UI. #1135 2008-05-20 20:29:55 -07:00
Eric Davis
f49763c423 Adding TODO for other field 2008-05-20 20:20:16 -07:00
Eric Davis
ca96475b52 Added the start of the deliverable form. #1135 2008-05-20 20:18:31 -07:00
Eric Davis
f99883c1bd Basic deliverable table implemented. #1135 2008-05-20 19:48:15 -07:00
Eric Davis
67dc53bdca Registered @settings in the plugin. #1139 2008-05-20 17:04:27 -07:00
Eric Davis
ceee191244 Added settings for the system. #1139 2008-05-20 17:03:15 -07:00
Eric Davis
eb2c22bd69 Setting up basic UI. #1135 2008-05-20 16:53:03 -07:00
Eric Davis
5919d7b177 Building specs for the controller. #1135 2008-05-20 16:39:24 -07:00
Eric Davis
15cc2c992d Adding basic Deliverable controller and index page. #1135 2008-05-20 16:19:15 -07:00
Eric Davis
439a649b40 Associating a deliverable with a project. #1135 2008-05-20 16:09:09 -07:00
Eric Davis
9484d41850 Don't clobber RAILS_ROOT 2008-05-20 16:06:32 -07:00
Eric Davis
00f8b19acf Created Deliverable model and tables. #1135 2008-05-20 16:01:43 -07:00