Commit graph

180 commits

Author SHA1 Message Date
Paul van Tilburg
5b1953ee40 Really fix the form method override stuff 2012-01-25 12:26:13 +01:00
Paul van Tilburg
15b9b84cc4 Fix form method override for PUT/DELETE support 2012-01-25 11:31:58 +01:00
Paul van Tilburg
9879bb3a47 Fixed syntax error in input arguments 2012-01-24 17:11:49 +01:00
Paul van Tilburg
df86725760 Fixed more typos in the README 2012-01-24 17:09:54 +01:00
Paul van Tilburg
4980559769 Fix Camping version requirement 2012-01-24 16:57:02 +01:00
Paul van Tilburg
f731ddee4e Determine and set the request format before calling the controllers 2012-01-20 00:36:19 +01:00
Paul van Tilburg
45da051bf0 Prepare for PUT/DELETE support in forms and controllers 2012-01-20 00:35:44 +01:00
Paul van Tilburg
69bf1bd735 Tweaked the registered time colum layout (treat it as an exception) 2012-01-09 17:38:30 +01:00
Paul van Tilburg
22299c2d6e Show the total amount in invoices list 2012-01-09 17:38:06 +01:00
Paul van Tilburg
606b3a4d88 Tweaked style and layout of the invoice form view 2012-01-09 17:14:54 +01:00
Paul van Tilburg
7cd58f019e Tweaked table layout (mainly customers and timeline view) 2012-01-09 17:14:30 +01:00
Paul van Tilburg
ea9cb0e39c Fixed firefox rendering issue in the overview (repeated columns) 2012-01-09 17:13:16 +01:00
Paul van Tilburg
18451546c0 Support editing of company info revisions (refs: #ba1a26) 2012-01-09 15:56:40 +01:00
Paul van Tilburg
fb20d2825f Create a revision of the company info when it has related invoices (refs: #ba1a26) 2012-01-09 15:52:09 +01:00
Paul van Tilburg
016cb0b21d Added company info revisioning in the models (refs: #ba1a26)
* Extended CompanyInfo with an "original" association with the previous
  revision (in case revisions can be removed in the future).
* Created a belongs_to relation of Invoice with CompanyInfo and an
  has_many reverse relation.
2012-01-09 15:48:20 +01:00
Paul van Tilburg
14b7a8fd4a Tweaked the forms layout some more 2012-01-06 20:19:58 +01:00
Paul van Tilburg
0218c5a647 Compacted the forms a bit 2012-01-06 16:39:37 +01:00
Paul van Tilburg
f85ca3f34f Order the tasks in the customer_form view by name and invoice ID 2012-01-06 16:32:19 +01:00
3e6ecead87 Tweaked form layout a bit 2012-01-03 17:39:46 +01:00
c51686fd7f Added the .warn class in the CSS 2012-01-03 17:39:21 +01:00
ea5884f97a Show bill information for billed time entries (and link the invoice) 2012-01-03 17:38:54 +01:00
8e3ebc709a Set the invoices billed flags in the CustomersNInvoices controller 2012-01-03 17:38:14 +01:00
2dc1e964e4 Improved handling of template errors 2012-01-03 16:56:51 +01:00
00e5aa2902 Adapted forms and the invoice template to accommodate more financial info
* Allow for setting and updating the financial contact of a customer
  and show in invoices when set (closes: #9d4c2e).
* Allow for setting and updating bank information (IBAN, BIC, name)
  and use it in the template (closes: #a11265).
2012-01-03 16:51:07 +01:00
feb0dc71c1 Add financial info to the CompanyInfo and Customer models and database 2012-01-03 16:49:14 +01:00
80cead274b Handle empty time entry comments in the invoice form view 2012-01-02 16:15:35 +01:00
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
1f350950ec Small invoice template tweaks 2012-01-02 15:16:54 +01:00
99370625ec Actually give access to the global configuration 2012-01-02 15:13:33 +01:00
32de91327f Fixed missing default configuration problem 2012-01-02 15:13:18 +01:00
4d2e2bb217 The task form should also list billed tasks 2012-01-02 14:58:36 +01:00
768d2d55f6 Allow for modification of the invoice comment (refs: #69f890) 2012-01-02 14:05:03 +01:00
0abad65328 Show the list of contained time entries for tasks with an hourly rate 2012-01-02 14:04:43 +01:00
57943f913e Added links to billed tasks from an invoice (refs: #69f890) 2012-01-02 14:04:09 +01:00
0ba447524d Adjust the task form for showing invoice information for billed task (refs: #69f890) 2012-01-02 14:00:56 +01:00
cc0bb4a371 Adjust the title time_entries view based on whether the task is billed 2012-01-02 13:59:43 +01:00
91cb9d42b2 Only treat fixed cost tasks of the selected tasks (closes: #21f52e) 2012-01-02 13:58:47 +01:00
d488c5f3be Really fixed config file location; added some type checking 2012-01-02 13:03:45 +01:00
217985afc8 Fixed default config file location 2012-01-02 12:52:28 +01:00
643520e577 Merge branch 'master' of git.luon.net:users/paul/stoptime 2012-01-02 12:47:42 +01:00
9cc034aeb3 Fixed fixed cost task detection; also print time spent 2012-01-02 12:47:36 +01:00
6b05536d91 Show the spent time for fixed cost tasks in the invoice 2012-01-02 12:46:47 +01:00
c8ced1777c Use the new configuration throughout the views, controllers and templates (closes #21e3ae) 2011-12-23 21:17:44 +01:00
71ee97c34c Added the Stoptime::Config module and Config model to hold the configuration 2011-12-23 21:17:02 +01:00
c0c3d9773a Tweaked timeline table layout (set width of customer column) 2011-12-22 16:35:03 +01:00
c62a7f36d0 Also show the customer in the timeline (reverting earlier removal) 2011-12-22 16:34:37 +01:00
1ed1cef49a Compact controller code using the new Customer#shortest_name method 2011-12-22 16:33:57 +01:00
48490991cc Added Customer#shortest_name 2011-12-22 16:32:47 +01:00
f59cb4eb3c Added remark about installing Haml instead of Sass 2011-12-16 14:08:18 +01:00
146c08921d Updated the ToDo list a bit 2011-12-13 17:09:15 +01:00