Commit Graph

3055 Commits

Author SHA1 Message Date
Graham Miller
eb31934fb7 Add a new helper to handle fiscal issues.
Used initially to provide fiscal year support to the reports.
2016-01-27 11:54:04 +10:00
Graham Miller
000f86d318 Added fiscal year start date stored in 'm-d' format to preferences.
Displays YYYY-MM-DD for current year to get input.
2016-01-27 11:31:33 +10:00
Graham Miller
d9b3ebc82f Add preferences option to enable or disable the custom fiscal year handling.
Stored in DB as 0 or 1 and converted:-
- twig expression in view (expandedform needs true boolean)
- checkbox true/false converted to integer in set function in controller

Oh and I worked out how to localize the label ... took me a while but ended up so simple.

This is stage 1 of the overall custom fiscal year extension for Firefly.
2016-01-27 11:28:14 +10:00
Graham Miller
91b3ca047a Merge branch 'develop' of https://github.com/JC5/firefly-iii.git 2016-01-27 10:35:33 +10:00
James Cole
08131e42af Implemented some new tests. 2016-01-24 20:38:58 +01:00
James Cole
a013553a6c More cleanup. 2016-01-24 18:11:57 +01:00
James Cole
7b2fe8eb4a Test code cleanup. 2016-01-24 18:05:04 +01:00
James Cole
610f782054 Translations. 2016-01-24 16:51:01 +01:00
James Cole
94700f4064 Fixed some things in the rule controllers. 2016-01-24 16:50:55 +01:00
James Cole
0f12ebb31c Expanded tests. 2016-01-24 16:25:03 +01:00
James Cole
00a8a9ac0e Removed parameter rule trigger / rule action since they weren't being used. 2016-01-24 16:12:59 +01:00
James Cole
92616c6ae3 New test data with required role. 2016-01-24 16:05:14 +01:00
James Cole
97db618cd8 Some code cleanup and reordering 2016-01-24 15:58:16 +01:00
James Cole
2832d308f1 Optimize scripts. 2016-01-24 15:55:48 +01:00
James Cole
a7ecdf715f New translations. 2016-01-24 15:54:54 +01:00
James Cole
935dc3ff9f Some new tests 2016-01-23 16:48:34 +01:00
James Cole
99d14e8cbe This prevents constraint errors when the specified category has already been set. 2016-01-23 16:48:15 +01:00
James Cole
664fde2344 Some forgotten translations. 2016-01-23 09:10:22 +01:00
James Cole
27c45eface Updated test env. 2016-01-23 08:51:34 +01:00
James Cole
f83bc3c8b3 Updated tests. 2016-01-23 08:48:36 +01:00
James Cole
0d5efb8d27 Better mocking of objects. 2016-01-23 06:59:22 +01:00
James Cole
bf9c1c1875 Fixed some tests so they will not be skipped. 2016-01-23 06:54:29 +01:00
James Cole
049d866f62 Unskipped some tests. 2016-01-22 23:00:32 +01:00
James Cole
d672f0c2ad Better scripts (accept arguments) 2016-01-22 22:39:51 +01:00
James Cole
7b040e8583 Some changes to test coverage. 2016-01-22 21:08:04 +01:00
James Cole
e1cf285272 Various updates in test data and test configuration. 2016-01-22 20:47:48 +01:00
James Cole
53f7f13362 New env file. 2016-01-22 20:44:25 +01:00
James Cole
f710677cdc Also check for CSV delimiter presence. 2016-01-22 20:43:44 +01:00
James Cole
b5fbc8b632 test data 2016-01-22 20:13:55 +01:00
James Cole
1fdc0a196c Test data. 2016-01-22 20:13:27 +01:00
James Cole
559f429f5e Merge pull request #148 from roberthorlings/bugfix/rulegrouprepository
Added binding for RuleGroupRepositoryInterface
2016-01-22 19:30:37 +01:00
James Cole
ae4b198d3d Merge pull request #147 from roberthorlings/develop
Fixed a bug in storing date changes for the opening balance
2016-01-22 19:30:02 +01:00
Robert Horlings
e088ecbbad Added binding for RuleGroupRepositoryInterface to enable storing a rulegroup 2016-01-22 16:01:33 +01:00
Robert Horlings
f6b7bd5b44 Fixed a bug in storing date changes for the opening balance of an account 2016-01-22 15:44:23 +01:00
James Cole
f5a21f64c0 More magic words. 2016-01-22 10:10:51 +01:00
James Cole
f5cbed7c0c Added magic words "currentMonthEnd" and "currentMonthStart". 2016-01-22 07:54:15 +01:00
James Cole
59fff8928b Simplified some methods. 2016-01-22 07:35:28 +01:00
James Cole
8743b49a17 Some fixes for code climate. 2016-01-22 07:27:49 +01:00
James Cole
19dc91937e Remove double badge. 2016-01-22 07:22:34 +01:00
James Cole
4846cb7b14 Merge branch 'develop' of https://github.com/JC5/firefly-iii into develop 2016-01-21 13:56:30 +01:00
James Cole
54e0ac816b Updated readme. [skip ci] 2016-01-21 13:56:08 +01:00
James Cole
9ce960b3d7 There are no converters that need the role of the current field. 2016-01-21 09:52:45 +01:00
James Cole
cc9d1c4bfd Some unrelated code cleanup. 2016-01-20 21:24:48 +01:00
James Cole
d211555beb Only fire post-processing specifix in the import routine. See issue #145 2016-01-20 21:24:27 +01:00
James Cole
9350557d10 Properly extend the current specifix to indicate they're all post-processors. See issue #145 2016-01-20 21:24:08 +01:00
James Cole
ea6c54cad0 Expand specifix to have a property that determines whether they fire before anything happens, or after. Could be expanded to allow for even more fine-grained control. See issue #145 2016-01-20 21:23:39 +01:00
James Cole
81287602d7 Updated tests. 2016-01-20 16:15:23 +01:00
James Cole
441ba79ec7 Some tests 2016-01-20 15:27:53 +01:00
James Cole
c9e4a09da6 Sort by alphabet. 2016-01-20 15:23:36 +01:00
James Cole
c84f4e2bc0 Sort by alphabet. 2016-01-20 15:21:27 +01:00