17 Commits

Author SHA1 Message Date
615e4d16a7 [FIX] Import transfer: movements & transfer with the same created_at 2024-01-07 19:42:55 +01:00
c0071212b2 more gem updates; minor js refactor; first pass over tests and first fixes :) 2019-09-26 02:16:05 +02:00
2108e6c59b Adding multi transfers feature 2019-05-07 09:59:58 +02:00
6ec52460d4 don't allow transfers of 0 hours and 0 minutes 2019-02-17 14:29:10 +01:00
7f6a087726 - let's remove PushNotification when we delete an Event
- added some missing Relations specs
- remove a couple of unused Relations
2018-06-10 20:31:12 +02:00
9418484f23 delete events when deleting target object 2018-06-07 22:51:29 +02:00
1be5c19297 - add some missing "dependent: :destroy" in Organization model: fixes #359, removes all organization memberships and activity when destroying an org instance
- introduce OrganizationPolicy to properly define an access control strategy for Organizations
2018-06-07 21:56:05 +02:00
917f16d5c0 Do not allow transfers to same account
It adds a validation on the Transfer model and shows a flash error
message when that happens, without making the actual movement.
2016-11-18 18:12:19 +01:00
39ce959ae4 Revert "Extract GiveTime service"
This reverts commit 6c4202b7364e39365147702b60ba654bcfb194db.
2016-11-18 18:12:19 +01:00
eecc166eec Extract GiveTime service
I only tried to make a transfer and it worked. I followed EDD; going through
each of the errors until it worked, because I didn't find any test for this
action in the controller. Unit testing the service should be the next task.
2016-11-18 18:12:19 +01:00
e7333c70b9 Rearrange code in app/models/* 2015-11-22 18:35:59 +01:00
1b4739c889 Remove depreceations about using Model.find(instance) 2015-10-17 17:32:38 +02:00
c00b4faaa0 New statistics view: all bank transfers 2015-05-06 18:51:03 +02:00
021762dc5c Transfer has now 2 inputs (hours, minutes). Total amount (in seconds) is computed onsubmit time. 2013-12-20 20:41:30 +01:00
3ae8863545 Account and transfer documentation and some refactoring 2013-07-22 16:45:27 +02:00
5796f73829 A lot of transfers. Give time from everywhere. 2013-07-04 17:06:01 +02:00
f3c10d204a Added model, validation and behavior 2013-07-04 02:46:00 +02:00