1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-10 21:24:20 +01:00
Commit Graph

200 Commits

Author SHA1 Message Date
Sylvain
80aab9f17c fixed: create event with custom price 2019-01-21 11:26:42 +01:00
Sylvain
a1ba272538 Merge branch 'dev' into host 2019-01-14 13:00:24 +01:00
Sylvain
0927336956 fixed reservation after removing disable_invoicing + updated vcr cassettes 2019-01-14 12:45:17 +01:00
Sylvain
a2eb10331e [ongoing] remove invoicing disabled per user 2019-01-10 16:50:54 +01:00
Sylvain
1db5e76bc9 tests on accounting periods + force reload periods when opening periods/avoir modal 2019-01-10 15:12:22 +01:00
Sylvain
18454b362b test that generate refund in closed period is not available 2019-01-10 14:16:59 +01:00
Sylvain
8c57588876 closed period 2015 in test fixtures 2019-01-10 12:42:01 +01:00
Sylvain
e322ac08a1 Merge branch 'dev' into us78 2019-01-10 12:40:53 +01:00
Sylvain
d00dfad8d8 improved invoices test + added fixtures 2019-01-10 12:40:42 +01:00
Sylvain
dafeb668e0 Merge branch 'dev' into us78 2019-01-09 12:07:47 +01:00
Sylvain
56829190d6 refactored invoices controller 2019-01-09 12:07:31 +01:00
Sylvain
0a684c8e13 rails DB model for accounting periods 2019-01-07 12:29:52 +01:00
Sylvain
96e980e7b2 removed dead code + improved test suite 2018-12-27 14:53:11 +01:00
Sylvain
ed65976c41 [ongoing] save settings history 2018-12-17 16:02:02 +01:00
Sylvain
425927900a members tests 2018-12-17 10:43:57 +01:00
Sylvain
d01a93e0f0 [ongoing] members tests 2018-12-12 17:24:31 +01:00
Sylvain
ae9caef8af insertions on subscriptions count 2018-12-12 15:27:12 +01:00
Sylvain
811b7193f7 improved & fixed test suite 2018-12-12 13:49:14 +01:00
Sylvain
f2eaf4e4e1 improved tests and bug fixes 2018-12-11 17:27:25 +01:00
Sylvain
ad69b647f7 fix reservation + subscription 2018-12-11 15:07:32 +01:00
Sylvain
7822ab4572 [ongoing] fix reservation processes 2018-12-10 17:20:23 +01:00
Sylvain
bef3118649 [ongoing] refactor user.subscriptions to save history
TODO: - refactor subscription.save_with_payment (stripe)
- offer free days
- extend the subscription
- renew a subscription
- buy subscription + reservation
2018-12-06 18:26:01 +01:00
Sylvain
82e6dda353 updated cassettes 2018-11-27 10:09:44 +01:00
Sylvain
0b7f84aaff updated cassettes 2018-09-18 15:38:04 +02:00
Sylvain
1e3066f6f4 Ability to parametrize machines order on the booking page 2018-09-18 15:30:54 +02:00
Sylvain
0b1ae3482e updated test suite to reflect elastic api upgrade + updated cassettes 2018-07-24 14:36:18 +02:00
Sylvain
1b33f3c865 display the machine reservation user name to other members 2018-07-24 12:24:51 +02:00
Sylvain
2cbf2c3a79 add test for machine credits 2017-12-21 14:24:50 +01:00
Sylvain
563eee40fa add test for credits 2017-12-21 12:00:11 +01:00
Sylvain
72634162c6 [bug] unable to create training credit 2017-12-21 11:49:51 +01:00
Sylvain
77e218aa7e fix test suite
- update VCR cassettes
- fix test fixtures to allow pass test suite at the end of the week
2017-12-14 16:40:01 +01:00
Sylvain
a5b718d981 fix tests with invoices 2017-12-14 15:52:34 +01:00
Sylvain
89d1586e53 update VCR cassette to fix rake test: renew subscription as user 2017-11-13 13:06:57 +01:00
Sylvain
db88eea8ba update test data, allow passing test suite 2017-09-18 11:00:20 +02:00
Sylvain
0e94f8c3d4 Redo "change DB model to allow many_to_many relationship between Slot and Reservation"
This reverts commit 4cbfbdc4e0.
2017-02-28 13:23:31 +01:00
Sylvain
4cbfbdc4e0 Revert "change DB model to allow many_to_many relationship between Slot and Reservation"
This reverts commit 03d922e214.
2017-02-28 12:36:50 +01:00
Sylvain
03d922e214 change DB model to allow many_to_many relationship between Slot and Reservation 2017-02-27 13:15:31 +01:00
Sylvain
34e8ffeffd test space availabilities api 2017-02-15 16:22:19 +01:00
Sylvain
46fbcc06f3 add attachment & characteristics to spaces 2017-02-13 15:53:12 +01:00
Sylvain
560bb46383 space db model 2017-02-13 14:38:28 +01:00
Sylvain
9edf723373 [bug] wrong statistics about hours available for reservation 2017-01-03 13:35:36 +01:00
Sylvain
df411b10b2 test wallet credit with refund invoice generation 2016-12-13 16:00:12 +01:00
Sylvain
c582d4665d improved cash coupon test 2016-12-13 15:37:43 +01:00
Sylvain
853cc67ee3 add nomal coupon test 2016-12-13 15:33:24 +01:00
Sylvain
5a1abe409a tests for price compute API 2016-12-12 16:44:56 +01:00
Sylvain
4c68f815e7 added coveralls 2016-12-01 13:08:41 +01:00
Sylvain
2a92b06ef6 test invoice with VAT 2016-12-01 12:12:44 +01:00
Sylvain
cf1c868546 test suite is now testing pdf files content 2016-12-01 11:37:09 +01:00
Sylvain
a9e593a840 fix statistics generation with cash coupon 2016-11-29 14:57:43 +01:00
Sylvain
6c933857f4 fix statistics generation with cash coupon 2016-11-29 14:57:21 +01:00
Sylvain
684a33716c tests subscription 2016-11-28 12:33:03 +01:00
Sylvain
dd177c6ec9 test reservation training 2016-11-28 12:31:22 +01:00
Sylvain
32a2699bc4 test reservation machine w/o subscription 2016-11-28 12:30:18 +01:00
Sylvain
34d2d108ba test reservation machine+subscription 2016-11-28 12:29:10 +01:00
Sylvain
35cfed126d test reservation trining w/ expired coupon 2016-11-28 12:25:35 +01:00
Sylvain
1b9d397c06 test reservation machine+plan w/ coupon 2016-11-28 12:25:03 +01:00
Sylvain
c879a7e10c test create reservation training+plan by wallet 2016-11-28 12:24:26 +01:00
Sylvain
78002e66aa add comments about prices 2016-11-28 12:23:48 +01:00
Sylvain
7858d261c3 test event reservation with wallet + coupon 2016-11-28 11:50:16 +01:00
Sylvain
265ed3967c change events test architecture 2016-11-28 11:49:59 +01:00
Sylvain
6439bc68e5 add event fixtures 2016-11-28 11:00:01 +01:00
Sylvain
585d137cfc some automated tests about cash coupons 2016-11-28 10:40:02 +01:00
Sylvain
c13f640e81 remove rails find_by_* helpers 2016-11-23 16:30:19 +01:00
Sylvain
0f8f1a14b4 add test for event reservation with custom price's category 2016-09-08 17:26:59 +02:00
Sylvain
0307972f9c add tests about event price's categories 2016-09-08 16:58:18 +02:00
Sylvain
7592a778ae clean cassettes 2016-09-08 15:51:59 +02:00
Sylvain
d233297469 check coupon code server side + integration test for wrong copon 2016-09-08 15:19:12 +02:00
Sylvain
c6d9cbd88d add integration test for coupon 2016-09-08 14:26:21 +02:00
Sylvain
53dd54b175 working custom aggs w/ result tidy in stats query 2016-09-06 16:32:41 +02:00
Sylvain
1fec50accf ability to run custom aggregation with query and append result to query 2016-09-06 14:21:52 +02:00
Sylvain
ea671d03a4 database structure for custom aggregations in statistics 2016-09-05 17:16:23 +02:00
Sylvain
ea73b9a88b fix create event without custom price + fix test fixtures 2016-08-30 14:48:22 +02:00
Sylvain
4f41aa6554 event custom prices: various fixes and removed artifacts 2016-08-30 13:07:47 +02:00
Sylvain
c6a83e98cb [ongoing] db architecture for custom prices reservation 2016-08-25 18:41:33 +02:00
Sylvain
6c3dfab0a9 API for price categories management 2016-08-24 12:30:48 +02:00
Sylvain
26aed7a1b5 ability for the admin to set custom settings for the reservation reminders + fix settings customization confirmation message 2016-08-17 12:49:52 +02:00
Sylvain
c23b6fa3e0 fix coupons test 2016-08-08 15:43:02 +02:00
Sylvain
3a932e75c0 coupon data model & tests 2016-08-03 17:25:00 +02:00
Sylvain
2afd6ade8a allow user to set his organization on registration 2016-08-02 12:27:45 +02:00
Sylvain
ccc1eaf3a0 database structure for organizations 2016-08-01 17:36:38 +02:00
Sylvain
4d2f46ca95 [feature] Async statistics export to XLSX
- fix tests due to removal of event_categories
- rake task for generating statistics
2016-07-27 11:28:54 +02:00
Sylvain
32d239f723 [Bug #28] Event type disappear when editing the event 2016-07-25 16:16:25 +02:00
Peng DU
8bebf6730f add more test for a reservation with plan and pay by wallet 2016-07-21 16:32:58 +02:00
Peng DU
909c204af5 show invoice download link in wallet transaction debit operator 2016-07-21 16:32:57 +02:00
Peng DU
9ba8e46450 refactroing wallet service, credit/debit in transaction of db, if have an error we rollback all 2016-07-21 16:32:57 +02:00
Peng DU
85153c201e test invoice wallet amount 2016-07-21 16:32:56 +02:00
Peng DU
38fafb7a70 wallet credit amount can be a float 2016-07-21 16:32:55 +02:00
Peng DU
220676b4dc test user reservation/subscription with wallet 2016-07-21 16:32:55 +02:00
Peng DU
61273bd66f fix test 2016-07-21 16:32:55 +02:00
Peng DU
31d5c6d3b3 pay totalement/partialement reservation by wallet 2016-07-21 16:32:54 +02:00
Peng DU
fc7eaaab94 add notification and alert when user wallet credit 2016-07-21 16:32:54 +02:00
Peng DU
d0956bb0aa show wallet transactions of user 2016-07-21 16:32:54 +02:00
Peng DU
1dab903054 refactoring wallet amount to concern 2016-07-21 16:32:54 +02:00
Peng DU
9116e8c04a wallet transaction type must be credit/debit 2016-07-21 16:32:54 +02:00
Peng DU
cac9e16c17 cant debit/credit a negative 2016-07-21 16:32:53 +02:00
Peng DU
363fd73bc4 add model WalletTransaction 2016-07-21 16:32:53 +02:00
Peng DU
db8a6e8a32 application can show user wallet 2016-07-21 16:32:53 +02:00
Sylvain
e930e04ed6 add age&theme filters to statistics 2016-06-30 12:48:46 +02:00
Sylvain
6e5fd86ad3 fix tests for age_range 2016-06-29 11:23:21 +02:00
Sylvain
cbbd697d38 age_range & theme for event model 2016-06-28 15:56:37 +02:00