Commit Graph

71 Commits

Author SHA1 Message Date
Paul van Tilburg b6b81308bb Documented the model attributes. 2011-11-28 12:46:48 +01:00
Paul van Tilburg 45550c9d51 Merge branch 'master' of git.luon.net:users/paul/stoptime 2011-11-16 11:00:23 +01:00
Paul van Tilburg cfcd7ef31d Tweaked the layout of the invoice selection form. 2011-11-16 11:00:17 +01:00
Paul van Tilburg dcd6f553b7 Fixed routing conflict between CustomersNInvoicesNew and CustomersNInvoicesX. 2011-11-16 10:59:18 +01:00
Paul van Tilburg ad86acd40a Fixed bug in updated start/end time of time entries. 2011-11-16 09:47:40 +01:00
Paul van Tilburg aec92710b8 Application description fix. 2011-11-15 17:54:09 +01:00
Paul van Tilburg 52c5b858f5 Drop ruby-mime-types support in favour of Rack::MIME. 2011-11-15 17:22:57 +01:00
Paul van Tilburg 08a7ef3c01 Small fix concerning static serving with Passenger; updated gitignore. 2011-11-15 17:01:52 +01:00
Paul van Tilburg 73de5b6222 Fixes for the separate time entry date support. 2011-11-11 15:18:51 +01:00
Paul van Tilburg 8ddd31f662 Added seperate date support for time entries. 2011-11-11 14:55:17 +01:00
Paul van Tilburg edc86f8913 Fixed handling of customers without a short name. 2011-11-11 13:53:49 +01:00
Paul van Tilburg 18d34c11e1 Fixed syntax error. 2011-11-10 18:26:15 +01:00
Paul van Tilburg 161084868f Documented the source code; translated the ToDo list. 2011-11-10 18:24:11 +01:00
Paul van Tilburg ab59365849 Fixed bug for creating links to invoices. 2011-11-10 15:23:24 +01:00
Paul van Tilburg 7119c2872c When a customer is created, proceed to CustomersN. 2011-11-10 15:23:09 +01:00
Paul van Tilburg 75e9d3b235 Improved VAT addition: only apply when VAT number is set. 2011-11-10 15:22:13 +01:00
Paul van Tilburg 6079d90b7a Ensure titlecasing for h2. 2011-11-10 13:09:56 +01:00
Paul van Tilburg 11627e85fc Corrected detection of an empty list of invoices. 2011-11-10 13:08:17 +01:00
Paul van Tilburg b2ce309d5f Implemented showing of which tab is selected. 2011-11-10 13:07:55 +01:00
Paul van Tilburg aa3e53b925 Removed some solved FIXMEs; cleaned up the code a bit. 2011-11-10 13:07:30 +01:00
Paul van Tilburg a628b83129 Beautified the pages a bit.
* Mention when a list is empty.
* Add a link to where to create new items when the list is emtpy.
* Add form reset buttons.
* Synced and added the page headers.
2011-11-10 12:51:12 +01:00
Paul van Tilburg 5f64874252 Fixed a problem where a cancel button was not handled. 2011-11-10 12:50:02 +01:00
Paul van Tilburg c67589f452 Fixed an error in the InvoiceSupport migration. 2011-11-10 12:49:31 +01:00
Paul van Tilburg 9fc843db2d Tweaked the layout a bit. 2011-11-09 23:00:13 +01:00
Paul van Tilburg 347691c4b1 Add some style to the application, use SASS for this. 2011-11-09 22:55:59 +01:00
Paul van Tilburg c792cb70a8 Added missing I18n module. 2011-11-09 19:44:59 +01:00
Paul van Tilburg 4ca48511ba Added dutch i18n for invoice generation (controller, template). 2011-11-09 18:31:23 +01:00
Paul van Tilburg a2de4fa6fd Added TimelineNew router; synced CustomerNew stuff. 2011-11-09 17:01:13 +01:00
Paul van Tilburg 06a4cafe02 Handle billed tasks differently (no timereg, but visable in overview). 2011-11-09 16:23:48 +01:00
Paul van Tilburg 9e238780df Added separate LaTeX generation, added links to the invoices. 2011-11-09 16:11:51 +01:00
Paul van Tilburg 4c5a3ddfcd Added invoice listings (also per customer). 2011-11-09 16:03:02 +01:00
Paul van Tilburg f420cb58dd Added a main task overview for the index. 2011-11-09 16:02:43 +01:00
Paul van Tilburg c4e3161b87 Fiddled a bit with created_at/updated_at for invoices. 2011-11-09 16:02:04 +01:00
Paul van Tilburg 6aa19d1e08 Removed trailing whitespace. 2011-11-09 15:14:48 +01:00
Paul van Tilburg e4e709bd72 Changed period logic, use update_at attribute if there are no time entries. 2011-11-09 15:14:09 +01:00
Paul van Tilburg f0c7f59529 Added invoices subview for customers, improved invoice forms. 2011-11-09 15:13:39 +01:00
Paul van Tilburg 95de3d4dc3 Renamed TimeEntry#total to hours_total, replaced @entries with @time_entries. 2011-11-09 15:12:29 +01:00
Paul van Tilburg 6ffe7b23b0 Renamed Task#task_type to Task#type; use time_entries instead of entries. 2011-11-09 14:07:31 +01:00
Paul van Tilburg ee58b00d2c Added support for not adding VAT in views and template. 2011-11-09 14:07:03 +01:00
Paul van Tilburg 69d6424462 Make invoices task oriented; implemented correct invoicing.
* Split a task in two when billing.  The task tied to the invoice
  contains all time entries to be billed.
* For a fixed cost task all time entries are billed automatically,
  no selection is allowed.
* Updated the models with helper methods (billing, period, summaries).
* Prepare for improved templating.
* Improved invoice numbering.
* Improved support for fixed cost tasks.
2011-11-09 14:02:33 +01:00
Paul van Tilburg 0f59b9ceae Rename Timereg/time registration to Timeline/timeline. 2011-11-08 13:08:51 +01:00
Paul van Tilburg f543ac554a Moved the CustomersNInvoicesNew lower to fix routing order. 2011-11-08 13:08:22 +01:00
Paul van Tilburg 69497e93d4 Removed useless header. 2011-11-07 17:45:34 +01:00
Paul van Tilburg 9d1c3283dd Added time entry editing. 2011-11-07 17:44:58 +01:00
Paul van Tilburg a940972b8b Added experimental invoice generation (and fixing). 2011-11-07 17:44:34 +01:00
Paul van Tilburg a75aa40389 Use a hash with attributes to mimick not-yet-existing objects. 2011-11-07 17:43:10 +01:00
Paul van Tilburg 6fa7334919 Tweaked the model a bit, moved and added helper methods. 2011-11-07 17:41:46 +01:00
Paul van Tilburg 056b6d511b Fixed task editing bug due to erroneous task type retrieval. 2011-11-07 15:10:48 +01:00
Paul van Tilburg c73efb5bde Added support for company info; adjusted the template accordingly. 2011-11-07 14:54:11 +01:00
Paul van Tilburg 7e6637aace Added/modified stuff for adding, deleting and editing tasks. 2011-11-07 13:41:09 +01:00