Commit Graph
130 Commits
Author SHA1 Message Date
Eric Davis 62cdfd35de [#6441] Refactor: only call validation on updates 2011-08-09 15:34:53 -07:00
Eric Davis 0a916fea70 [#6441] Fix a Deliverable validation error when editing with a status change 2011-08-09 15:23:08 -07:00
Eric Davis ac24ae08e6 [#6441] Block editing Locked or Closed Deliverables. 2011-08-08 15:52:13 -07:00
Eric Davis 953587ce46 [#6441] Block logging time on closed contracts or deliverables 2011-08-08 13:46:28 -07:00
Eric Davis 5e2e309304 [#6441] Add a manual Deliverable#status 2011-08-08 12:08:46 -07:00
Eric Davis 9453b52c10 [#6441] Add a manual Contract#status 2011-08-08 11:48:35 -07:00
Eric Davis f514b15361 Added some comments to make the source easier to scan 2011-02-17 11:47:59 -08:00
Eric Davis 889a825426 [#5442] Add rdocs to Contract to make it easier to understand next time 2011-02-17 11:44:28 -08:00
Eric Davis a92559c133 [#5442] Add contract totals for labor and overhead hours spent and budgeted 2011-02-17 11:30:40 -08:00
Eric Davis 75680e5a49 [#5417] Show the deliverable type on the edit form. 2011-02-04 09:45:27 -08:00
Eric Davis 726c7a206f [#4690] Clear the issue/deliverable relation when deleting deliverables 2010-10-27 14:29:50 -07:00
Eric Davis 3b5c008a65 [#4646] Memoize Deliverable subclasses 2010-10-13 15:18:52 -07:00
Eric Davis 650296bd52 [#4646] Memoize some calculated values in the Deliverable 2010-10-13 15:07:44 -07:00
Eric Davis bf270623d2 [#4646] Memoize some calculated values in the Contract 2010-10-13 15:07:30 -07:00
Eric Davis 67469c9d94 Refactor: extract methods to utility method 2010-10-05 14:34:54 -07:00
Eric Davis d6aee43b4b [#4570] Replace two queries with a single query 2010-09-29 13:58:11 -07:00
Eric Davis 39c04b9896 [#4570] Add an alert message about orphaned time on a project 2010-09-29 13:50:17 -07:00
Eric Davis 20f89adf39 [#4552] Add issue counts to the Deliverable details 2010-09-29 11:48:21 -07:00
Eric Davis 632cff8f7f [#4552] Add the Total hours to the Deliverable details 2010-09-29 11:29:04 -07:00
Eric Davis f37306aace [#4552] Add the Overhead hours spent to the Deliverable details 2010-09-29 10:54:33 -07:00
Eric Davis 38f2bcb17f [#4552] Add the Labor hours spent to the Deliverable details 2010-09-29 10:44:54 -07:00
Eric Davis 7a5599b4f9 [#4568] Change FixedDeliverable so it's markup is automatically paid 2010-09-29 10:18:25 -07:00
Eric Davis 2a60d283a4 Refactor: extract method 2010-09-23 13:38:04 -07:00
Eric Davis 56a38fbd93 Refactor: extract methods to a module and class helper, dollarized_attribute 2010-09-23 11:25:16 -07:00
Eric Davis 7bc31d6be0 Refactor: extract method 2010-09-23 11:00:05 -07:00
Eric Davis 059b971e54 Refactor: pull up method 2010-09-23 10:22:46 -07:00
Eric Davis b8d7c15b39 Refactor: pull up method 2010-09-23 10:18:44 -07:00
Eric Davis ed9f73e8a0 [#4555] Include the spent FixedBudget in Hourly and Retainers total_spent 2010-09-23 10:14:12 -07:00
Eric Davis 0a80a54be3 [#4554] Fix the markup calculation to work with plain numerics 2010-09-23 09:40:47 -07:00
Eric Davis 7c6c2797c4 Merge branch '4477-fixed-expenses' 2010-09-22 11:54:41 -07:00
Eric Davis 967ef6bc7a [#4777] Add fixed budgets to the profit_left calculations 2010-09-22 11:53:55 -07:00
Eric Davis 4a7484e1ea [#4477] Added the amounts spent for FixedBudgets 2010-09-22 11:27:42 -07:00
Eric Davis 2c04ef4f45 [#4477] Add FixedBudget items into the total and profit Deliverable calculations 2010-09-17 15:22:53 -07:00
Eric Davis d78e7b1dc3 [#4477] Scope fixed budget items by period too (for Retainers) 2010-09-17 14:51:48 -07:00
Eric Davis 67dd75a980 [#4477] Skip blank FixedBudget items in the deliverable details 2010-09-17 14:23:29 -07:00
Eric Davis 55c9f93c6c [#4477] Change Retainers to scope #fixed_budget_total and #fixed_markup_budget_total by date 2010-09-17 14:15:08 -07:00
Eric Davis 294c88f11d [#4477] Hook up FixedBudgets to Contract#fixed_budget and #fixed_markup_budget 2010-09-17 13:16:59 -07:00
Eric Davis 19ed07b617 [#4517] Default the details row to All periods when it's out of the date range 2010-09-17 10:44:18 -07:00
Eric Davis edc8db7fe2 [#4477] Hook FixedBudgets into Retainer's periods. 2010-09-09 17:27:32 -07:00
Eric Davis feee5e8b43 [#4477] Added FixedBudgets to the Deliverable finance form. 2010-09-09 17:06:35 -07:00
Eric Davis 07da5d98d8 [#4477] Added the FixedBudget markup calculations. 2010-09-09 16:12:48 -07:00
Eric Davis 7f7e5b3042 [#4477] Added model and migration for FixedBudget. 2010-09-09 15:57:58 -07:00
Eric Davis d315252565 Refactor: use #scope_date_status. 2010-09-09 15:44:36 -07:00
Eric Davis 6b38dfca91 Refactor: use utility method. 2010-09-09 15:43:38 -07:00
Eric Davis 75046cfdd1 Refactor: extract utility method. 2010-09-09 15:42:12 -07:00
Eric Davis 12fffee314 Refactor: extract scope_date_status method to find how to scope the periods. 2010-09-09 15:39:25 -07:00
Eric Davis 5ef7d0271d [#4420] Display per period Retainer values on the Contract details page. 2010-09-09 14:56:20 -07:00
Eric Davis 0a1bb9169d [#4420] Hook up Retainer's total_spent and profit_left for periods. 2010-09-09 14:22:25 -07:00
Eric Davis 91d8c1818e [#4420] Hook up Retainer's overhead_spent and labor_budget_spent for periods 2010-09-09 13:50:50 -07:00
Eric Davis 82dec74eb7 [#4420] Changed the approach for Retainer calculations by using an optional parameter. 2010-09-08 17:49:51 -07:00