Commit Graph

441 Commits

Author SHA1 Message Date
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 8863f27e77 Tweaked the template for the new invoice generation params. 2011-11-07 17:45:22 +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
Paul van Tilburg 89a3464e6f Changed the forms to use the new form element generators. 2011-11-07 13:40:24 +01:00
Paul van Tilburg d91b65c2f5 Added form element generators for radio buttons and checkboxes. 2011-11-07 13:39:24 +01:00
Paul van Tilburg 5f0ae36745 Tweaked the model a bit (forgotten the hourly_rate attribute). 2011-11-07 13:38:07 +01:00
Paul van Tilburg adb1896506 Changed save into update, following more RESTful methods. 2011-11-07 11:12:12 +01:00
Paul van Tilburg 41ba9ba162 Moved some stuff that didn't belong in the views. 2011-11-07 10:44:35 +01:00
Paul van Tilburg c5d28419de Updated the tasks model for fixed cost tasks and added invoices. 2011-11-07 10:40:54 +01:00
Paul van Tilburg 3a26743e0b Ignore stuff in public; added a place older to ensure the dir exists. 2011-11-03 23:46:45 +01:00
Paul van Tilburg e5d9d97028 Added (default) hourly rates per customer instead of a global constant. 2011-11-03 23:44:06 +01:00
Paul van Tilburg b5609956b8 Added support for marking time entries as 'to bill'. 2011-11-03 23:07:42 +01:00
Paul van Tilburg 8f2eff9410 Added comments to time entries. 2011-11-03 22:23:50 +01:00
Paul van Tilburg 0489d7e3cd Calculate and add VAT (fixed rate for now). 2011-11-03 22:17:18 +01:00
Paul van Tilburg d1c1b252a7 Updated the mockup. 2011-11-03 20:26:05 +01:00
Paul van Tilburg 4e2f90f5aa Updated the invoice template for UTF-8, cleaned it up. 2011-11-03 20:25:45 +01:00
Paul van Tilburg 2b4a67111c Added todo list. 2011-11-03 17:18:32 +01:00
Paul van Tilburg df7ed0ba02 Updated the mockup. 2011-11-03 16:11:31 +01:00
Paul van Tilburg f64c80ad12 Fixed missing number of hours value. 2011-11-03 16:11:21 +01:00
Paul van Tilburg d76d10fd0d Make rubber clean everything. 2011-11-03 16:11:07 +01:00
Paul van Tilburg dd16588684 Added mockup documentation. 2011-11-03 11:41:13 +01:00
Paul van Tilburg ea78905fec Added (not so clean) invoice PDF generation. 2011-11-03 11:40:58 +01:00
Paul van Tilburg 55b40bf0b6 Seperate static dir from template dir. 2011-11-03 11:39:58 +01:00
Paul van Tilburg 4819a50a6e Added (dummy) invoice numbering for now. 2011-11-03 11:00:52 +01:00
Paul van Tilburg 9b8f2368fd Added static file serving from public/. 2011-11-03 11:00:35 +01:00
Paul van Tilburg 614e73bad1 Moved task summary calculation to the Customer model. 2011-11-03 10:30:02 +01:00
Paul van Tilburg c7cc4312b3 Implemented generating/viewing individual invoices and an overview. 2011-11-02 22:52:47 +01:00
Paul van Tilburg 28fa689a52 Implemented adding/deleting time registrations. 2011-11-01 15:29:55 +01:00
Paul van Tilburg d9da9568c8 Implemented customer adding/editing/removing. 2011-11-01 15:29:24 +01:00
Paul van Tilburg 268870689d Switch to a more suitable date/time format. 2011-11-01 15:27:16 +01:00
Paul van Tilburg 7719124655 Some initial views and controllers. 2011-10-31 16:14:54 +01:00
Paul van Tilburg 853814e429 Initial skeleton/start of the Camping application. 2011-10-31 14:36:01 +01:00