149 Commits
Author SHA1 Message Date
Palo Delincak bc33dd1127 preklad 2011-12-21 11:41:04 +01:00
Palo Delincak fd4b640c2f preklady budgetu 2011-12-21 09:58:41 +01:00
Eric Davis cce10b04d8 Merge remote branch 'pasco/master'
Conflicts:
	app/views/deliverables/_deliverable_summary_row.html.erb
2010-11-18 08:45:59 -08:00
Eric Davis 04d0be203e [#2809] Add some extra css classes on the deliverables list 2010-11-18 08:42:57 -08:00
Jason Derrett 4b1a4cd156 For client project, remove 'view all issues' from sidebar 2010-04-21 10:32:16 -05:00
root 4b18f20eba updated views and helpers to specify the currency unit when outputting currency values.
A label_currency localisation variable has been added to config/locales/en.yml
2010-03-03 08:14:39 +00:00
Eric Davis a53ceb2804 [#3294] Expand the new form if the project doesn't have any deliverables yet. 2009-11-11 13:16:00 -08:00
Eric Davis d552aa7f6f [#3294] Allow the query string to control if the new deliverable form is visible. 2009-11-11 13:11:21 -08:00
Adam Soltys 6a9ead4ad0 Set issues' deliverable_id to NULL if their deliverable is deleted 2009-08-31 15:17:43 -07:00
Eric Davis a55227c9bb [#2863] Split the single deliverable template into 3 partials. 2009-08-07 10:42:03 -07:00
Eric Davis 14a6aa2c28 Added a few plugin hooks for Deliverables 2009-08-05 14:57:52 -07:00
Eric Davis 3b26d08f0d [#2405] Make the Total Budget in the header bold 2009-04-27 15:13:11 -07:00
Eric Davis 833c2877af [#2403] [#2404] Added a Total Budget column to the Deliverable row. 2009-04-27 15:07:30 -07:00
Eric Davis d88fce97f8 [#1498] Added the Deliverable description to the expanded row. 2009-04-27 14:22:20 -07:00
Eric Davis 931c1ef6ed [#1999] Added a link to expand/collapse all Deliverable rows to the sidebar 2009-04-27 14:13:51 -07:00
Eric Davis 2018561e6a [#1919] Moved the JavaScript for calculating the Budget to an assets file. 2009-04-27 13:57:52 -07:00
Eric Davis e218218ffb [#1840] Completed the i18n string support.
Thanks to Pau Garcia i Quiles for the patch
2009-04-27 13:31:47 -07:00
Eric Davis 7ed5c20a93 [#1959] Fixed a typo in the css class name. 2009-04-27 13:24:44 -07:00
Eric Davis 71ab0c6b54 [#2301] Check that the session has a sort before trying to access it. 2009-04-01 08:43:37 -07:00
Eric Davis 3720c486b4 Added a Deliverable#to_s so the Deliverable subject can be printed. 2009-02-18 14:44:06 -08:00
Eric Davis 049885c170 Refactored the class and added more tests on calculations. #1924 2009-01-21 16:20:18 -08:00
Eric Davis 42325fadf4 Added tests for Budget#amount_missing_on_deliverables. #1924 2009-01-21 16:06:03 -08:00
Eric Davis 559b52112d Added tests to check Budget#amount_missing_on_issues. #1924 2009-01-21 15:52:56 -08:00
Eric Davis aed49c68da Make things simple and they are easier to understand. #1924 2009-01-21 15:29:00 -08:00
Eric Davis 075310da6b Swapped inject with a simple sum method. #1924 2009-01-21 15:26:46 -08:00
Eric Davis 3d8c1ecc5c Removed all the duplicate methods that were getting the rate for each TimeEntry
and replaced them with a simple collector that uses the new TimeEntry#cost
method (that wraps the Rate API).

  #1924
2009-01-21 15:20:21 -08:00
Eric Davis 7fa4f33748 Ported more items to the new Rate API. #1924 2009-01-21 14:46:58 -08:00
Eric Davis 045f50e0dd Fixed format of the date request to Rate.amount_for. #1924 2009-01-21 14:34:19 -08:00
Eric Davis 4f18c28bba Ported FixedDeliverable.spent to use Rate. #1924 2009-01-21 14:31:06 -08:00
Eric Davis 50a466d7af Ported HourlyDeliverable.spent to use Rate. #1924 2009-01-21 14:27:12 -08:00
Eric Davis 88026a1049 Renamed the settings view so it will not conflict with others. #1700 2009-01-02 21:19:31 -08:00
Eric Davis 8e31e8fb8a Added a required parameter to the sorting field. #1910 2009-01-02 18:35:28 -08:00
Eric Davis 52e80b4f56 Wrapped Deliverable.budget getter so it will return 0 if the budget is nil. #1708 2008-10-15 09:43:22 -07:00
Eric Davis 71060831fc Removed console logging statement. #1703 2008-10-13 11:19:22 -07:00
Eric Davis 8037833f13 Deliverable.spent_by_members will now sum the amount of money spent. #1447 2008-07-16 09:13:17 -07:00
Eric Davis 2dd140efa5 Wrapped Budget.budget, .labor_budget, and .spent with checks for nil values in the deliverables.
#1444
2008-07-16 09:03:07 -07:00
Eric Davis f21b9007eb Changed verbage. #1439 2008-07-10 17:56:45 -07:00
Eric Davis 495c5f6ac8 Added some better details on the deliverables based on if they are hourly or fixed. #1439 2008-07-10 17:54:50 -07:00
Eric Davis 1b8d4c6d52 Moved methods from HourlyDeliverable to Deliverable. #1439 2008-07-10 17:44:29 -07:00
Eric Davis 7dd531d0ee Added the cost of logged time to Fixed Deliverables's spent method. #1439 2008-07-10 17:43:22 -07:00
Eric Davis c90e7337f5 FixedDeliverable.spent will now return the fixed cost. #1439 2008-07-10 17:36:14 -07:00
Eric Davis abc4dd84c6 Hiding the hours used unless they are greater than 0. #1440 2008-07-10 17:32:05 -07:00
Eric Davis 6c638ffb83 Refactored Deliverable.progress so it doesn't depend on the custom issue status
for done ratio patch.  The plugin will test for the presence of the setting and
if it's true in order to control the logic.

  #1390
2008-06-30 15:57:42 -07:00
Eric Davis a5d88b67a8 HourlyDeliverable profit was being counted twice because HourlyDeliverable.profit would return the actual profit or the profit percent already. #1389 2008-06-30 15:32:00 -07:00
Eric Davis 5e36cf455e Catch nil cost_per_hour and total_hours on the HourlyDeliverable.profit. #1387 2008-06-26 16:39:20 -07:00
Eric Davis 47339e024b Hide missing amounts if they are 0. #1383 #1384 2008-06-26 16:23:30 -07:00
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