Commit Graph

456 Commits

Author SHA1 Message Date
Alexis Lahouze
03f069fc74 Fix delete function in services. 2017-07-30 16:22:44 +02:00
Alexis Lahouze
1c18d93d13 Use Operation Edit form to edit operation in Operation Row component. 2017-07-30 16:15:22 +02:00
Alexis Lahouze
6da1861139 Use Operation Edit form to add new operation in Operation List component. 2017-07-30 16:11:47 +02:00
Alexis Lahouze
f6bcdcfc2b Fix form. 2017-07-30 16:10:45 +02:00
Alexis Lahouze
7b368df9b9 Cleanup component. 2017-07-30 16:10:28 +02:00
Alexis Lahouze
0782675d19 Fix form template. 2017-07-30 16:04:28 +02:00
Alexis Lahouze
7966301651 Add missing modules. 2017-07-30 16:04:05 +02:00
Alexis Lahouze
fb477429cc Add Operation Edit Modal component. 2017-07-30 15:55:24 +02:00
Alexis Lahouze
3f6d60bb50 Add Operation Form component. 2017-07-30 15:51:52 +02:00
Alexis Lahouze
10d8959178 Remove unused factory. 2017-07-30 15:40:20 +02:00
Alexis Lahouze
dcd79d085a Remove unused template. 2017-07-30 15:38:38 +02:00
Alexis Lahouze
70eb1febff Fix Operation confirmation. 2017-07-30 15:36:57 +02:00
Alexis Lahouze
896daa70c5 Cleanup. 2017-07-30 15:36:12 +02:00
Alexis Lahouze
a5769dad83 Fix currency. 2017-07-30 15:35:46 +02:00
Alexis Lahouze
bc4a69b64c Use Operation Delete Modal in List Component. 2017-07-30 15:35:26 +02:00
Alexis Lahouze
162d98add7 Add id in operation list. 2017-07-30 15:34:12 +02:00
Alexis Lahouze
b5e4b1cd08 Add Operation Delete Modal component. 2017-07-30 15:22:25 +02:00
Alexis Lahouze
072efe7fc3 Rename Operation controller to Operation List component. 2017-07-30 15:16:44 +02:00
Alexis Lahouze
8d63b30a32 Remove unused template. 2017-07-30 15:14:02 +02:00
Alexis Lahouze
129c9f9ee3 Upgrade Operation controller. 2017-07-30 15:13:36 +02:00
Alexis Lahouze
b7c2d94c62 Fix Operation Row component. 2017-07-30 15:12:57 +02:00
Alexis Lahouze
558988a57a Add Operation Row component. 2017-07-30 13:22:08 +02:00
Alexis Lahouze
2fdce22698 Indent. 2017-07-30 13:15:16 +02:00
Alexis Lahouze
c3d6fa97cf Add missing fields in operation. 2017-07-30 13:15:00 +02:00
Alexis Lahouze
3eba873eb5 Fix callbacks. 2017-07-30 09:22:14 +02:00
Alexis Lahouze
f7ea8a4621 Prepare needed injection to upgrade Operation Component to Angular2. 2017-07-29 23:06:10 +02:00
Alexis Lahouze
45af7791ff Remove unused injection. 2017-07-29 23:05:38 +02:00
Alexis Lahouze
f484833380 Remove unused injection. 2017-07-29 23:04:09 +02:00
Alexis Lahouze
f374815371 Add typing. 2017-07-29 22:58:34 +02:00
Alexis Lahouze
bb21dd700e Use Account Id service instead of $stateParam. 2017-07-29 22:53:41 +02:00
Alexis Lahouze
0a5a7e72e3 Add account_id in Operation. 2017-07-29 22:27:25 +02:00
Alexis Lahouze
75dc2afc80 Fix Operation query parameters. 2017-07-29 22:26:57 +02:00
Alexis Lahouze
8348f5bb8f Use Operation Service in Operation controller. 2017-07-29 22:26:38 +02:00
Alexis Lahouze
4c921bfaaa Add minDate and maxDate parameters in Operation query. 2017-07-29 17:59:34 +02:00
Alexis Lahouze
595fe60fc4 Add Operation Service. 2017-07-29 17:51:44 +02:00
Alexis Lahouze
1d35438444 Rename Category Chart component file. 2017-07-29 17:24:25 +02:00
Alexis Lahouze
f58afb37bd Cleanup unused dependency. 2017-07-29 17:22:25 +02:00
Alexis Lahouze
20437ba548 Indent and cleanup. 2017-07-29 17:21:45 +02:00
Alexis Lahouze
02f447d63c Upgrade Category chart component to Angular2. 2017-07-29 17:18:36 +02:00
Alexis Lahouze
1bd59cbbf8 Fix date format in category service. 2017-07-29 17:07:43 +02:00
Alexis Lahouze
89fc42c47a Fix date range in category service. 2017-07-29 16:57:05 +02:00
Alexis Lahouze
927459b6c5 Remove unused ngResource. 2017-07-29 16:36:16 +02:00
Alexis Lahouze
efcf07565b Use categoryService instead of old Categories factory. 2017-07-29 16:34:24 +02:00
Alexis Lahouze
a6a7c1cd77 Add category service in Angular2. 2017-07-29 16:33:24 +02:00
Alexis Lahouze
2812891b23 Inject account in category chart component instead of using accountIdService. 2017-07-29 16:32:07 +02:00
Alexis Lahouze
fa147e74fc Use account directly to load daily balances. 2017-07-29 16:28:59 +02:00
Alexis Lahouze
7281d1f11d Use accountIdService to retrieve current Account Id. 2017-07-27 14:31:15 +02:00
Alexis Lahouze
eb0d898c19 Fix imports. 2017-07-27 14:30:12 +02:00
Alexis Lahouze
13ffa1dc98 Cleanup. 2017-07-27 14:28:28 +02:00
Alexis Lahouze
27e3307a8e Fix callback. 2017-07-27 14:21:35 +02:00
Alexis Lahouze
2619238996 Add missing component in operation module. 2017-07-27 14:13:13 +02:00
Alexis Lahouze
e24d5defb7 Add missinf component in operation module. 2017-07-27 14:12:54 +02:00
Alexis Lahouze
99d0eb6d1c Cleanup. 2017-07-27 14:09:09 +02:00
Alexis Lahouze
6ca4c29e38 Cleanup, indent. 2017-07-27 14:08:11 +02:00
Alexis Lahouze
003b4de822 Upgrade Balance Chart component to Angular2. 2017-07-27 14:03:39 +02:00
Alexis Lahouze
863160881f Initialize Operation module. 2017-07-27 13:57:40 +02:00
Alexis Lahouze
ac0aa056cf Fix DailyBalanceService query return type. 2017-07-27 13:55:30 +02:00
Alexis Lahouze
c0bc7b82b3 Remove unused Balances factory. 2017-07-27 01:07:27 +02:00
Alexis Lahouze
64c53441cb Use Daily Balance service in Balance Chart component. 2017-07-27 01:02:02 +02:00
Alexis Lahouze
d8adfd91c5 Add Daily Balance service. 2017-07-27 01:00:33 +02:00
Alexis Lahouze
c0b236ff6c Use accountIdService to retrieve current Account Id. 2017-07-27 00:41:07 +02:00
Alexis Lahouze
2d50ad8a0b Remove uneeded dependency. 2017-07-27 00:35:11 +02:00
Alexis Lahouze
e73d105420 Move accountId retrieving into account module. 2017-07-27 00:32:38 +02:00
Alexis Lahouze
fab4880389 Add format in date field labels. 2017-07-26 23:12:03 +02:00
Alexis Lahouze
b7c44a39da Style. 2017-07-26 23:10:21 +02:00
Alexis Lahouze
3363cf682a Fix Schedule field types. 2017-07-26 23:09:55 +02:00
Alexis Lahouze
c546cbf833 Add text-mask on date fields. 2017-07-26 23:09:16 +02:00
Alexis Lahouze
931ef38f29 Fix button sizes and styles. 2017-07-25 23:33:29 +02:00
Alexis Lahouze
0e037e664f Begin migration to bootstrap v4. 2017-07-25 22:12:47 +02:00
Alexis Lahouze
b3d274eabf Replace angular-ui-notifications by toastr. 2017-07-25 22:08:18 +02:00
Alexis Lahouze
cd7aba50e5 Cleanup unused title definition. 2017-07-25 17:26:26 +02:00
Alexis Lahouze
fc14efbda1 Fix inverted create and update calls. 2017-07-25 17:26:09 +02:00
Alexis Lahouze
2f64fa1018 Use Schedule Edit Modal component in Schedule List component. 2017-07-25 17:25:50 +02:00
Alexis Lahouze
d1344d57b8 Use Schedule Edit Modal component in Schedule Row component. 2017-07-25 17:21:01 +02:00
Alexis Lahouze
57aa737465 Add Schedule Edit Modal component. 2017-07-25 17:18:04 +02:00
Alexis Lahouze
3c0d3c1a39 Add Schedule Form component. 2017-07-25 17:17:22 +02:00
Alexis Lahouze
3dd347ee8c Remove unused template. 2017-07-25 16:59:48 +02:00
Alexis Lahouze
2cf432ed2c Rename component. 2017-07-25 16:56:57 +02:00
Alexis Lahouze
d83a164cc6 Remove dependency. 2017-07-25 16:14:48 +02:00
Alexis Lahouze
53a29062ea Use Schedule Delete Modal Component in scheduleRow Component. 2017-07-25 15:59:06 +02:00
Alexis Lahouze
46f5f72bd4 Add Schedule Delete Modal component. 2017-07-25 15:45:25 +02:00
Alexis Lahouze
e8247e30ab Upgrade Schedule component to Angular4. 2017-07-25 12:04:45 +02:00
Alexis Lahouze
2166def0f1 Inject $modal and accountIdService in Angular Component. 2017-07-25 11:48:48 +02:00
Alexis Lahouze
3c148e5297 Remove unused dependency. 2017-07-25 10:42:29 +02:00
Alexis Lahouze
434020f7ad Add Restangular module and ScheduleRowComponent. 2017-07-25 10:15:00 +02:00
Alexis Lahouze
3c3741c33f Use accountIdService to retrieve current Account Id in Schedule Component. 2017-07-25 10:06:41 +02:00
Alexis Lahouze
7ea652e23e Add Shecdule Row Component. 2017-07-25 08:55:56 +02:00
Alexis Lahouze
fa9402e25e Add accountIdService to be able to correctly retrieve accountId in UiRouter transition. 2017-07-25 08:53:08 +02:00
Alexis Lahouze
17a363d69d Move up ng1 specific configuration in ng1 app module. 2017-07-24 20:33:30 +02:00
Alexis Lahouze
8fb5f2ff7a Separate hybrid application bootstrap. 2017-07-24 19:55:20 +02:00
Alexis Lahouze
6873b32005 Set name for Angular1 app module. 2017-07-24 19:51:30 +02:00
Alexis Lahouze
a7cee2891c Move states in separate files. 2017-07-24 18:48:57 +02:00
Alexis Lahouze
7b7f72bf1e Inject $modal from router. 2017-07-23 07:58:57 +02:00
Alexis Lahouze
4f090a22df Format. 2017-07-23 07:53:26 +02:00
Alexis Lahouze
1f5d4980e5 Cleanup module. 2017-07-23 07:44:31 +02:00
Alexis Lahouze
40bc4bf1e8 Rename controller to component. 2017-07-23 07:44:03 +02:00
Alexis Lahouze
c4c10f9ab7 Use component in scheduler route, inject accountId into. 2017-07-23 00:12:44 +02:00
Alexis Lahouze
3326dac51a Fix creation and update. 2017-07-22 14:29:29 +02:00
Alexis Lahouze
e927736b45 Remove unused factory. 2017-07-22 11:16:20 +02:00
Alexis Lahouze
d52d382653 Replace schedule factory by schedule service. 2017-07-22 11:16:04 +02:00
Alexis Lahouze
42c0fe6c9b Add schedule module. 2017-07-22 11:14:52 +02:00
Alexis Lahouze
c257069644 Add schedule service. 2017-07-22 11:11:39 +02:00
Alexis Lahouze
c5f3a53347 Add Schedule model. 2017-07-22 10:39:19 +02:00
Alexis Lahouze
d96a66ee3e Remove unneeded . 2017-07-22 09:46:06 +02:00
Alexis Lahouze
d5e00b8fe3 Remove eslint comments. 2017-07-22 09:18:22 +02:00
Alexis Lahouze
801d2ae380 Migrate to toastr. 2017-07-22 09:17:50 +02:00
Alexis Lahouze
68df4e5ce2 Prepare scheduler module for angular2 upgrade. 2017-07-22 09:16:16 +02:00
Alexis Lahouze
aa07ffb125 Remove unused factory. 2017-07-22 08:44:54 +02:00
Alexis Lahouze
adec1f102e Rename dependencies. 2017-07-22 08:42:17 +02:00
Alexis Lahouze
f9c2e7f4bc Cleanup imports. 2017-07-21 23:11:04 +02:00
Alexis Lahouze
fc0c08d58e Fix currency. 2017-07-21 23:07:20 +02:00
Alexis Lahouze
8626c78708 Transform controller function to class. 2017-07-21 23:06:59 +02:00
Alexis Lahouze
a398752c0c Fix export and import. 2017-07-21 23:06:10 +02:00
Alexis Lahouze
cc5b0b1ee1 Fix condition. 2017-07-21 22:42:16 +02:00
Alexis Lahouze
220426e6f8 Separate account row from account list. 2017-07-21 21:50:19 +02:00
Alexis Lahouze
bd484a994e Fix indent. 2017-07-21 00:52:47 +02:00
Alexis Lahouze
f780be6b63 Remove unused template. 2017-07-21 00:51:31 +02:00
Alexis Lahouze
fc75945a76 Fix indent. 2017-07-21 00:45:04 +02:00
Alexis Lahouze
f8fa34f269 Dissociate new account modal from editing account on AccountListComponent. 2017-07-21 00:41:04 +02:00
Alexis Lahouze
79d55bfc44 Upgrade AccountListComponent to Angular. 2017-07-21 00:39:15 +02:00
Alexis Lahouze
88e0599cd7 Remove unneeded script include. 2017-07-21 00:35:45 +02:00
Alexis Lahouze
1c93f528f6 Cleanup licence. 2017-07-21 00:33:55 +02:00
Alexis Lahouze
d522aaad45 Fix promise error handling. 2017-07-21 00:33:27 +02:00
Alexis Lahouze
d91089238d Change import order. 2017-07-21 00:32:51 +02:00
Alexis Lahouze
8b0d3decd4 Change scope of attribute. 2017-07-21 00:32:39 +02:00
Alexis Lahouze
e28500c557 Use ngx-toastr for notifications in account module. 2017-07-21 00:29:03 +02:00
Alexis Lahouze
b95f36f09c Change field parent bind. 2017-07-21 00:06:07 +02:00
Alexis Lahouze
4064848242 Change account form validation for ahtorized overdraft. 2017-07-20 23:34:07 +02:00
Alexis Lahouze
6ff893a08d Rename AccountComponent to AccountListComponent. 2017-07-20 23:00:52 +02:00
Alexis Lahouze
4e9915aab0 Cleanup. 2017-07-20 22:54:57 +02:00
Alexis Lahouze
5100d0fd0c Cleanup. 2017-07-20 22:53:22 +02:00
Alexis Lahouze
60aa6310bb Separate account form from modal. 2017-07-20 22:52:33 +02:00
Alexis Lahouze
4057705e22 Use ng-bootstrap Modal. 2017-07-20 10:32:05 +02:00
Alexis Lahouze
3e6b1ecccc Use new Logger in account module. 2017-07-16 22:25:50 +02:00
Alexis Lahouze
de945cd16c Create service for AccountBalances and use it. 2017-07-16 17:03:50 +02:00
Alexis Lahouze
330ed6b926 Transform account state to component. 2017-07-16 14:23:23 +02:00
Alexis Lahouze
83d7e61875 Switch to uirouter. 2017-07-16 13:56:49 +02:00
Alexis Lahouze
9910c0e0d3 Externalize log level in configuration file. 2017-07-16 10:51:54 +02:00
Alexis Lahouze
877f77babd Configure Logger at app level. 2017-07-16 10:49:02 +02:00
Alexis Lahouze
95fa835496 Remove newline. 2017-07-16 10:45:27 +02:00
Alexis Lahouze
6244b817d8 Use ngx-restangular to handle account API. 2017-07-16 10:44:25 +02:00
Alexis Lahouze
8b62380c52 Fix indent. 2017-07-16 10:30:53 +02:00
Alexis Lahouze
270406ff58 Remove unused AccountFactory. 2017-07-15 08:19:30 +02:00
Alexis Lahouze
716dd94943 Fix resource configuration for trailing slashes. 2017-07-15 08:17:22 +02:00
Alexis Lahouze
cd2e20c744 Import order. 2017-07-14 21:41:27 +02:00
Alexis Lahouze
faa2abfca3 Rename account controller to component. 2017-07-14 21:38:29 +02:00
Alexis Lahouze
4861f5ce49 Fix account change handling in balance chart component. 2017-07-14 10:33:20 +02:00
Alexis Lahouze
5960e9ee77 Rename item to account. 2017-07-14 10:25:33 +02:00
Alexis Lahouze
c6a406272f Use account service. 2017-07-14 10:24:46 +02:00
Alexis Lahouze
79ecb1630b Account account module in app. 2017-07-14 10:19:39 +02:00