Commit Graph

282 Commits

Author SHA1 Message Date
Paul van Tilburg fef9f5c0b6 Bump version to 1.16.0 2015-06-20 21:53:43 +02:00
Paul van Tilburg be676d97ba Sync up all forms so they look the same; use variable field sizes
Also, add missing headers where needed and put forms in a row and
cell for medium sized device as not to use the full width.
2015-06-20 21:48:51 +02:00
Paul van Tilburg 7ee05f54f8 Transform underscores into dashes in all attributes 2015-06-20 19:37:04 +02:00
Paul van Tilburg 531af840f9 Use dashes in literal class names 2015-06-20 18:56:11 +02:00
Paul van Tilburg 0af0b169ba Make the VAT rate input less wide for xs devices in the task form 2015-06-20 18:54:16 +02:00
Paul van Tilburg 01c8e205ae Reduce the width of the time entries table based on columns shown 2015-06-20 18:53:35 +02:00
Paul van Tilburg d852b84ec9 Remove the unused CustomerNInvoices#get method 2015-06-20 18:36:22 +02:00
Paul van Tilburg f8f3da1bdd Use two columns when showing invoices in the invoices view 2015-06-20 18:35:43 +02:00
Paul van Tilburg dc3d7496ca Also hide the register time entries header if there are no time entries 2015-06-20 18:35:11 +02:00
Paul van Tilburg 7139f00286 Add a Register time button to the time line
This button is most needed when viewing the interface on an extra small
screen, because in this case the register time first row will ben hidden.
2015-06-20 18:32:46 +02:00
Paul van Tilburg ee1f3a1f5e Add missing button name set 2015-06-20 18:31:57 +02:00
Paul van Tilburg 5e4f4fd456 Wrap code to 80 chars; fix comment errors 2015-06-20 18:31:40 +02:00
Paul van Tilburg da7d49eaf1 Highlight project/task rows in the invoice select form view 2015-06-20 18:29:07 +02:00
Paul van Tilburg d4b75e1e04 Fix the Create new invoice button 2015-06-20 18:27:33 +02:00
Paul van Tilburg 69faada059 Follow Bootstrap in using em and strong instead of i and b 2015-06-20 18:26:49 +02:00
Paul van Tilburg 96435e3d86 Fix text class 2015-06-20 18:25:24 +02:00
Paul van Tilburg 67d0b60a9f Add an _icon helper method; add icons to almost all buttons 2015-06-20 18:24:19 +02:00
Paul van Tilburg e43821dc69 Remove fixed column widths to improve responsiveness of tables 2015-06-20 18:22:44 +02:00
Paul van Tilburg 118499396a Rework all views to work with Boostrap 3
* Add responsiveness to tables (use col-xs* and hidden-xs where needed) and
  use the grid system
* Update al inline and horizontal forms (add extra options to the
  form helper methods)
* Replace the accordion by collapsing panels in the task form
* Update buttons and alerts
* Update the navbar in the main layout
2015-06-20 18:16:31 +02:00
Paul van Tilburg 17cad0d0ba Enable responsiveness; drop/remove the unused Bootstrap theme 2015-06-20 17:59:47 +02:00
Paul van Tilburg ca9e889e84 Update the Bootstrap file links in the main layout 2015-06-19 22:25:38 +02:00
Paul van Tilburg a97a305f6c Bump version to 1.14.0 2015-06-19 22:08:08 +02:00
Paul van Tilburg a744a4f0d1 Add a grand total of unbilled hours and amount to the overview view 2015-06-19 22:02:13 +02:00
Paul van Tilburg 55e18615e4 Hook up a customer-specific time entries list in the customer form view 2015-06-19 21:41:22 +02:00
Paul van Tilburg 7a1d18269a Turn the time entries view into a partial view; create timeline view
Adapt the task form view to use the time entries partial view as well.
2015-06-19 21:39:36 +02:00
Paul van Tilburg 90b0df148e Merge branch 'release/1.12.1' 2015-06-06 12:27:47 +02:00
Paul van Tilburg 4eaf0cb58a Bump version to 1.12.1 2015-06-06 12:26:36 +02:00
Paul van Tilburg 656867e044 Add a footer (with version) 2015-06-06 12:26:16 +02:00
Paul van Tilburg 9928fc6f2a Bump version to 1.12 2015-06-05 22:36:00 +02:00
Paul van Tilburg ac551fcf7a Add helper method for LaTeX-escaping strings in ERB 2015-06-05 22:26:59 +02:00
Paul van Tilburg 4cf1517b43 Show message if there are tasks but no active tasks
Show links to the task form of each of these tasks so that time can be
registered there.
2014-11-08 12:06:34 +01:00
Paul van Tilburg 2e5985b32b Discern customer tasks and active tasks 2014-11-08 12:06:19 +01:00
Paul van Tilburg 730736a84a Bump version to 1.10 2014-11-01 22:10:45 +01:00
Paul van Tilburg 38c8d7dd17 Only select time entries that are not in the current month 2014-11-01 22:09:44 +01:00
Paul van Tilburg d613a095e1 Add in_current_month? method to the TimeEntry model 2014-11-01 22:09:21 +01:00
Paul van Tilburg 68c6a337a1 Show only active tasks in the invoice select form
If there are tasks with an hourly rate that have no time entries,
then it's not worth showing them.
2014-11-01 22:08:16 +01:00
Paul van Tilburg 58f5e4bbe6 Rework all documentation in YARD format 2014-11-01 21:37:41 +01:00
Paul van Tilburg 49eb58ff51 Build a span per customer so that they flow and use two columns in the overview 2014-11-01 17:47:52 +01:00
Paul van Tilburg 35462ed0dd Show a total of unbilled time and earned money (excl. VAT) per customer 2014-11-01 17:47:13 +01:00
Paul van Tilburg d1ac6ff979 Show only active tasks in the overview view
Active tasks are unbilled tasks that are tasks that are either fixed cost
or that have time entries that should be billed.
2014-11-01 17:45:16 +01:00
Paul van Tilburg 03ca8b6d47 Bump version to 1.8 2014-10-31 22:06:41 +01:00
Paul van Tilburg 46409502fb Merge branch 'feature/4235ef-force-invoice-regeneration' into development (closes: #4235ef) 2014-10-31 21:59:34 +01:00
Paul van Tilburg 371ec2c81a Handle delete requests for invoices 2014-10-31 21:59:17 +01:00
Paul van Tilburg 236729be6c Check and show a delete button if an invoice file is present 2014-10-31 21:55:04 +01:00
Paul van Tilburg b94d5ccff2 Fix invoice period calculation
Currently, the end time of the period was always the creation time of
the invoice (due to the initialisation), as it is generally by definition
later than any of the task periods.
2014-10-28 10:02:13 +01:00
Paul van Tilburg 8d8eba1e18 Documentation fix 2014-10-25 22:33:05 +02:00
Paul van Tilburg 60230c5854 Fixed bug preventing updates tasks 2014-10-25 22:32:57 +02:00
Paul van Tilburg b12d78bdb2 Round start and end time before validation (and thus saving)
I've chosen to connect the callback to before_validation because
at a later point we want to check for overlap between time entries
and this should be done using the corrected versions.
2014-10-25 21:55:23 +02:00
Paul van Tilburg 26862ed2ef Add private method for the TimeEntry model to round time
The method uses the configuration to determine the resolution and is
inspired by the following StackOverflow answer:
https://stackoverflow.com/a/4182700.
2014-10-25 21:53:33 +02:00
Paul van Tilburg b182711f39 Add configuration for time resolution rounding 2014-10-25 21:35:53 +02:00