Commit Graph

128 Commits

Author SHA1 Message Date
Paul van Tilburg feb0dc71c1 Add financial info to the CompanyInfo and Customer models and database 2012-01-03 16:49:14 +01:00
Paul van Tilburg 80cead274b Handle empty time entry comments in the invoice form view 2012-01-02 16:15:35 +01:00
Paul van Tilburg f11ddbbd53 Simplified the configuration code base
* Merged the Config mix-in module with the main StopTime module.
* Renamed Models::Config#load to initialize, remove the old initialize.
2012-01-02 15:59:06 +01:00
Paul van Tilburg 99370625ec Actually give access to the global configuration 2012-01-02 15:13:33 +01:00
Paul van Tilburg 32de91327f Fixed missing default configuration problem 2012-01-02 15:13:18 +01:00
Paul van Tilburg 4d2e2bb217 The task form should also list billed tasks 2012-01-02 14:58:36 +01:00
Paul van Tilburg 768d2d55f6 Allow for modification of the invoice comment (refs: #69f890) 2012-01-02 14:05:03 +01:00
Paul van Tilburg 0abad65328 Show the list of contained time entries for tasks with an hourly rate 2012-01-02 14:04:43 +01:00
Paul van Tilburg 57943f913e Added links to billed tasks from an invoice (refs: #69f890) 2012-01-02 14:04:09 +01:00
Paul van Tilburg 0ba447524d Adjust the task form for showing invoice information for billed task (refs: #69f890) 2012-01-02 14:00:56 +01:00
Paul van Tilburg cc0bb4a371 Adjust the title time_entries view based on whether the task is billed 2012-01-02 13:59:43 +01:00
Paul van Tilburg 91cb9d42b2 Only treat fixed cost tasks of the selected tasks (closes: #21f52e) 2012-01-02 13:58:47 +01:00
Paul van Tilburg d488c5f3be Really fixed config file location; added some type checking 2012-01-02 13:03:45 +01:00
Paul van Tilburg 217985afc8 Fixed default config file location 2012-01-02 12:52:28 +01:00
Paul van Tilburg 643520e577 Merge branch 'master' of git.luon.net:users/paul/stoptime 2012-01-02 12:47:42 +01:00
Paul van Tilburg 6b05536d91 Show the spent time for fixed cost tasks in the invoice 2012-01-02 12:46:47 +01:00
Paul van Tilburg c8ced1777c Use the new configuration throughout the views, controllers and templates (closes #21e3ae) 2011-12-23 21:17:44 +01:00
Paul van Tilburg 71ee97c34c Added the Stoptime::Config module and Config model to hold the configuration 2011-12-23 21:17:02 +01:00
Paul van Tilburg c62a7f36d0 Also show the customer in the timeline (reverting earlier removal) 2011-12-22 16:34:37 +01:00
Paul van Tilburg 1ed1cef49a Compact controller code using the new Customer#shortest_name method 2011-12-22 16:33:57 +01:00
Paul van Tilburg 48490991cc Added Customer#shortest_name 2011-12-22 16:32:47 +01:00
Paul van Tilburg 4860aec9ca Use the time_entries partial view to show time entries for a task (closes #e966ae) 2011-12-12 17:10:18 +01:00
Paul van Tilburg d6af1a7319 Modified time_entries to view to be (ab)used as partial view 2011-12-12 17:09:35 +01:00
Paul van Tilburg d38f5dc5fd Added missing documentation for Controllers::Index#get 2011-12-10 21:13:26 +01:00
Paul van Tilburg 3570cbb3f4 Rename Views#invoice to invoice_form for consistency 2011-12-10 21:08:48 +01:00
Paul van Tilburg cb0b014640 Mark partial views as private 2011-12-10 21:05:58 +01:00
Paul van Tilburg 32cea1211d Fixed regression problem of entries not being marked for billing anymore 2011-12-10 17:07:10 +01:00
Paul van Tilburg 79e9190956 Small fixes for the invoice dir changes 2011-12-10 16:58:38 +01:00
Paul van Tilburg a32cb00846 Merge branch 'master' of git.luon.net:users/paul/stoptime 2011-12-10 16:57:21 +01:00
Paul van Tilburg 8ff07620b6 Show paid status of invoices (closes: #c937b1) 2011-12-10 16:54:43 +01:00
Paul van Tilburg 9ab76555f6 Use the newly introduced _form_input_checkbox partial form view 2011-12-10 16:50:01 +01:00
Paul van Tilburg 07cb9dd6fe Extend partial form views with optional options 2011-12-10 16:49:28 +01:00
Paul van Tilburg 2b0fb9631d Adapted the code for the invoice subdir changes 2011-12-06 14:34:31 +01:00
Paul van Tilburg 2f36d30873 Merge branch 'master' of git.luon.net:users/paul/stoptime 2011-12-06 14:31:35 +01:00
Paul van Tilburg f3d8426a4f Fixed crash in the overview, don't try to get the task comment there 2011-12-02 22:58:58 +01:00
Paul van Tilburg 2539750c76 Merge branch 'feature/invoice_comments' (closes #7ede70) 2011-12-02 22:25:17 +01:00
Paul van Tilburg f40b429d10 Adapted the invoice view to show the task invoice comment 2011-12-02 22:20:21 +01:00
Paul van Tilburg 194b0033d1 Changed invoice_select_form and CustomersNInvoicesX to actually set task invoice comments 2011-12-02 22:18:55 +01:00
Paul van Tilburg e53374a713 Changed Invoice#summary to use the task as the key, not just its name 2011-12-02 22:17:27 +01:00
Paul van Tilburg e4202b8048 Added Task#comment_or_name to return the comment if set and the task is billed 2011-12-02 22:16:27 +01:00
Paul van Tilburg c7d32e8611 Added an invoice comment field to the task to store what the comment was 2011-12-02 22:15:58 +01:00
Paul van Tilburg afd1ab7730 Fixed LaTeX spelling 2011-12-02 14:09:02 +01:00
Paul van Tilburg 8cbbb1c434 Fixed invoice view issue given the new fixed cost task summary 2011-12-02 14:08:50 +01:00
Paul van Tilburg 6ee025f3c5 Also show the customers in the project/task selector of the timeline
* Added partial view Views#_form_select_nested.
* Updated the Timeline controller to build the nested list.
* Set the last used task as the default task.
2011-11-29 17:21:51 +01:00
Paul van Tilburg f593996f89 Some link decoration/tweaks 2011-11-29 16:47:32 +01:00
Paul van Tilburg f9a0ee323e Also show total of hours for fixed cost tasks 2011-11-29 16:47:16 +01:00
Paul van Tilburg 347da9e0e3 Properly sort customers and tasks in the overview 2011-11-29 16:46:44 +01:00
Paul van Tilburg aa35d43986 Fix value class issue in task form preseeding 2011-11-29 16:21:09 +01:00
Paul van Tilburg bd45416675 Improved link embedding 2011-11-29 12:16:27 +01:00
Paul van Tilburg 4b69bb02ec Sort tasks by name in the overview 2011-11-29 12:12:53 +01:00