Commit Graph

300 Commits

Author SHA1 Message Date
Paul van Tilburg
cb215e54eb Ensure that only time entries with tasks are selected (closes: #89c2a1)
Time entries without tasks shouldn't exist/be possible though.
2016-09-11 15:09:14 +02:00
Paul van Tilburg
7184248ccd Fix the last company info is used-check 2016-03-06 15:01:14 +01:00
Paul van Tilburg
bbf2566352 Use #dup to copy models
Since we require ActiveRecord >= 3.2, #dup should be used,
not #clone (which is <= 3.1).
2016-03-06 14:59:59 +01:00
Paul van Tilburg
7c41c32dfd Add documentation for the #date_time_new_entry helper method 2016-03-06 12:17:46 +01:00
Paul van Tilburg
49bfdff822 Add support for choosing what date/time is used for new entries 2016-02-26 23:12:36 +01:00
Paul van Tilburg
81e6db24ef Fix wrong CSS class name 2015-12-17 09:41:58 +01:00
Paul van Tilburg
faf95f842e Small textual tweak 2015-12-15 12:46:27 +01:00
Paul van Tilburg
1376ac3828 Bump version to 1.16.1 2015-07-11 21:48:40 +02:00
Paul van Tilburg
f5d2c5af08 Rename the time entry filter param 2015-07-11 21:42:02 +02:00
Paul van Tilburg
ebd220aac6 Also add missing subtitle in the invoice form 2015-07-11 21:38:29 +02:00
Paul van Tilburg
5160e79953 Actually count and show the active projects/tasks in the overview 2015-07-11 21:29:35 +02:00
Paul van Tilburg
23af29b800 Add missing subtitle on the customers view 2015-07-11 21:29:09 +02:00
Paul van Tilburg
58ec60ab60 Add an anchor for timelines
Also expand the customer timeline table row to have full width.
2015-07-11 21:23:51 +02:00
Paul van Tilburg
1cf130c1dd Tweaked some form grid column widths 2015-07-11 21:23:19 +02:00
Paul van Tilburg
7ecece3950 Shorten some button labels 2015-07-11 21:21:33 +02:00
Paul van Tilburg
4eef4669a5 Only show unbilled time in the customer form
Done so that it is the same as in the task form.
Also the list of all time entries for a customer can be very long,
thus creating a long load time of the customer form.
2015-07-11 21:20:18 +02:00
Paul van Tilburg
43b9c1336f Move the customers table into a more narrow row 2015-06-20 23:30:56 +02:00
Paul van Tilburg
ad4362f471 Allow for forward navigation through the company info versions in the view 2015-06-20 23:30:02 +02:00
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