1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-11 21:52:35 +01:00
Commit Graph

687 Commits

Author SHA1 Message Date
David Bomba
dacde3358a Add Bank Services class 2022-11-11 15:28:49 +11:00
David Bomba
b3d53a7cd8 Line item tax amounts 2022-11-10 21:57:55 +11:00
David Bomba
f37715d751 Only store html backups for plan users on hosted service 2022-11-07 10:33:39 +11:00
David Bomba
9c16c12ee9 remove html_backup column from backups tables 2022-11-07 08:52:06 +11:00
David Bomba
18ce82ceed clean up for user 2022-11-07 08:20:14 +11:00
David Bomba
47916ed30a Improve handling of saving a client that has been created from an invoice import 2022-11-04 15:07:37 +11:00
David Bomba
b3e02c8a70 Override phone number with international format 2022-11-03 17:31:46 +11:00
David Bomba
e06563c00f Override phone number with international format 2022-11-03 17:26:52 +11:00
David Bomba
dddfd32757 Improve memory handling 2022-11-01 21:20:28 +11:00
David Bomba
4108868b19 don't link entities when we are in a transaction 2022-10-30 20:48:43 +11:00
David Bomba
95610fd25e Restrict size and amount of jobs 2022-10-28 13:09:17 +11:00
David Bomba
b7cb81a4dd Bank Transaction matching 2022-10-25 13:58:44 +11:00
David Bomba
ff56fa1ba8 Minor clean up for activity repo 2022-10-25 13:07:21 +11:00
David Bomba
b1dc70f18a Save Bank Transaction manually 2022-10-24 09:14:42 +11:00
David Bomba
ce47e30aa2 Merge branch 'v5-develop' into yodlee 2022-10-24 08:43:02 +11:00
David Bomba
eca5635d3e Disable creating backups 2022-10-22 08:23:36 +11:00
David Bomba
2f4e129cf0 Remove make dir for Storage:: 2022-10-22 08:19:35 +11:00
David Bomba
ab71be42a0 Delete pdf when deleting invoice 2022-10-21 15:00:33 +11:00
David Bomba
cc84f9eb2e Fix for placeholder replacements in invoices 2022-10-21 09:05:37 +11:00
David Bomba
867b960532 Merge branch 'v5-develop' into yodlee 2022-10-04 13:43:32 +11:00
David Bomba
64c5e2a4e4 Minor fixes 2022-10-02 11:00:32 +11:00
David Bomba
775ee542b5 Fixes for bank integration routres 2022-09-24 07:37:55 +10:00
David Bomba
78a1a3020c Minor fixes 2022-09-22 11:47:58 +10:00
David Bomba
f4a12660ad Refactor for bank transactions 2022-09-21 15:30:57 +10:00
David Bomba
0d2cd69ad3 Implement 3DS for Braintree 2022-09-21 12:43:24 +10:00
David Bomba
73f5c599fb Fixes for bank transactions transformer 2022-09-14 15:35:51 +10:00
David Bomba
84347eb583 Add logging 2022-09-14 13:08:35 +10:00
David Bomba
20f398d49b Add redundancy checks when creating task numbers 2022-09-13 19:32:53 +10:00
David Bomba
870da39eb3 Fixes for race condition when saving expense numbers 2022-09-08 07:57:30 +10:00
David Bomba
c0cb157309 Merge branch 'v5-develop' into yodlee 2022-09-07 14:54:50 +10:00
David Bomba
84e634c28c Handle single contact object passed into array 2022-09-06 17:42:33 +10:00
David Bomba
b35bdebccf Handle single contact object passed into array 2022-09-06 17:41:37 +10:00
David Bomba
bfff515b59 Ensure documents array is an array 2022-09-06 17:36:56 +10:00
David Bomba
ccf8aa1dea Client Paid To Date updates 2022-09-05 11:51:47 +10:00
David Bomba
f557a93533 Catch and remove updates for oauth_provider_id 2022-08-29 17:04:48 +10:00
David Bomba
861b87bc58 Fixes for applying payment number 2022-08-29 07:59:40 +10:00
David Bomba
59f9f0702a Wrap client paid to date in transaction 2022-08-25 09:05:57 +10:00
=
2c8d25eeb3 Refactor payment queries for improved efficiency 2022-08-22 13:49:07 +10:00
=
4e3f52a1ee Refactor for payments to improve query efficiency 2022-08-22 13:24:33 +10:00
=
b99e623100 fixes for restoring a credit 2022-08-22 11:21:43 +10:00
=
b63b3c707e Add daily checks for credit balances 2022-08-22 11:07:11 +10:00
=
b5f61d22a7 Tests for credit balance 2022-08-22 10:27:11 +10:00
=
59e3ab9993 Working on client credit balance field 2022-08-22 08:48:52 +10:00
David Bomba
90557a3083 Working on BankTransaction scaffolds 2022-08-11 16:26:47 +10:00
David Bomba
69f2b7059e Merge branch 'v5-stable' into yodlee 2022-08-06 16:25:56 +10:00
David Bomba
0dc50bb171 Stubbing bank integration controllers 2022-08-05 19:05:59 +10:00
David Bomba
5cd8307686 Fixes for users 2022-08-05 17:42:54 +10:00
David Bomba
96191ff1f1 Fixes for company token generation 2022-08-05 17:27:17 +10:00
David Bomba
f6821e9fcc Yodlee init 2022-07-28 14:09:13 +10:00
David Bomba
8e654c21ce Merge v5 2022-07-25 15:28:06 +10:00
David Bomba
ace8c64162 Fixes for vendors 2022-07-22 14:07:51 +10:00
David Bomba
93c782fcc5 Merge branch 'v5-develop' into l9 2022-07-21 14:22:45 +10:00
David Bomba
ccaf4b99ff Fixes for task statuses 2022-07-21 14:02:29 +10:00
David Bomba
9b6bfbf96c merge v5-dev 2022-07-17 20:38:00 +10:00
David Bomba
00eb180afc minor fixes 2022-07-17 15:26:35 +10:00
David Bomba
071f2ee102 Post Merge v5-develop 2022-07-15 17:41:30 +10:00
David Bomba
7157c95ef4 Start recurring invoice on send now 2022-07-12 20:47:17 +10:00
David Bomba
09d5b7c38f Wrap paid to date in transaction 2022-07-11 18:24:49 +10:00
David Bomba
49683e8654 Minor fixes 2022-07-10 15:53:23 +10:00
David Bomba
1ca9459365 Do no alter client balance after an invoice has been marked as paid 2022-07-10 15:07:37 +10:00
David Bomba
ffcd3b05d4 Add quantities to subscriptions 2022-07-06 17:12:29 +10:00
David Bomba
0a2a4e91e2 Minor fixes for vendor contacts 2022-07-04 16:34:35 +10:00
Nikola Cirkovic
c75b1d303f
Cirkovic/ina 16 fixes (#50)
* Dispatch | PdfCreatorTest | Removed deprecated method

* Dispatch | Remove deprecated dispatchNow() method and use dispatchSync or call handle() on class where return is mandatory.
2022-06-24 21:15:14 +10:00
Shift
6edb82308f
Shift cleanup 2022-06-21 10:03:51 +00:00
Shift
19080933b6
Apply Laravel coding style
Shift automatically applies the Laravel coding style - which uses the PSR-2 coding style as a base with some minor additions.

You may customize the code style applied by adding a [PHP CS Fixer][1] or [PHP CodeSniffer][2] ruleset to your project root. Feel free to use [Shift's Laravel ruleset][3] to help you get started.

For more information on customizing the code style applied by Shift, [watch this short video][4].

[1]: https://github.com/FriendsOfPHP/PHP-CS-Fixer
[2]: https://github.com/squizlabs/PHP_CodeSniffer
[3]: https://gist.github.com/laravel-shift/cab527923ed2a109dda047b97d53c200
[4]: https://laravelshift.com/videos/shift-code-style
2022-06-21 09:57:17 +00:00
David Bomba
d7c7289ca9 Update for invoice designs 2022-06-07 20:36:47 +10:00
David Bomba
c0ba8aa822 TDD for purchase order PDFs 2022-06-06 22:27:17 +10:00
Nikola Cirkovic
79f189d0e8 INA-6 | add getInvitationByKey method to purchase order repository. 2022-06-05 04:41:04 +02:00
Nikola Cirkovic
a752be5f8e INA-4 | Purchase Order Repository 2022-05-29 04:13:19 +02:00
Nikola Cirkovic
63061b6cf4 INA-5 | Renamed repository and added license 2022-05-26 04:32:37 +02:00
David Bomba
1973c4c214 v5.3.89 2022-05-17 21:03:07 +10:00
David Bomba
20c2a1690f Improve resilience of client number creation 2022-05-17 20:31:43 +10:00
David Bomba
eaa6ba1d39 Fixes for ACH notification with WePay 2022-05-11 16:29:56 +10:00
David Bomba
f604e463c2 Throttle payment methods to prevent spam: 2022-05-11 15:25:33 +10:00
David Bomba
6f491dfb92 Update Copyright text 2022-04-27 13:20:41 +10:00
David Bomba
654bf7a23f Disable gateway refund options for GoCardless 2022-04-27 09:05:16 +10:00
David Bomba
127683ee29 Fixes for eager loading 2022-04-20 11:55:33 +10:00
David Bomba
17b1119466 Allow draft credits to be used in payments 2022-04-07 09:06:02 +10:00
David Bomba
4efec42670 Fixes for contact key login 2022-04-05 13:54:10 +10:00
David Bomba
9722289796 Fixes for coercing types for react UI 2022-04-03 19:39:55 +10:00
David Bomba
3a22fd0384 Fixes for task edge cases 2022-03-30 13:54:40 +11:00
David Bomba
ed75514646 Fixes for default country 2022-03-30 08:05:42 +11:00
David Bomba
4faa58ec8c minor fixes for client country in repo 2022-03-25 14:49:51 +11:00
David Bomba
989f5c9210 Refactor client country assignment 2022-03-24 19:55:57 +11:00
David Bomba
4900946fa1 do no auto convert quote if converted by admin user 2022-03-17 13:41:46 +11:00
David Bomba
ae16eb66e5 Fixes for documents 2022-03-17 13:20:58 +11:00
David Bomba
2b95f2a0d4 Fixes for resolving correct company user 2022-03-13 19:48:57 +11:00
David Bomba
af8bcbf514 Fixes for start/stop tasks 2022-03-11 12:39:17 +11:00
David Bomba
7f2887afd9 Fixes for task start/stop 2022-03-10 17:54:53 +11:00
David Bomba
3967d074ed Start / Stop task via API 2022-03-10 17:26:03 +11:00
David Bomba
3edb4de3e7 Start stop tasks via API 2022-03-10 17:17:40 +11:00
David Bomba
b7dced76cd Transaction events 2022-03-10 11:32:04 +11:00
David Bomba
f2932c0354 Allow file key for uploads 2022-03-09 20:39:32 +11:00
David Bomba
b2b937f9ad Adjustments for client balance 2022-03-09 13:49:31 +11:00
David Bomba
83692ed618 refactor queries 2022-02-26 18:48:22 +11:00
David Bomba
d26082912d fixes for tests 2022-02-25 13:16:49 +11:00
David Bomba
d58a79c73d Fixes for payments 2022-02-25 13:15:10 +11:00
David Bomba
ae8bdcd273 Updates for payment currency 2022-02-25 13:06:29 +11:00
David Bomba
66a19407d1 Fixes for currency set for paymentsa 2022-02-08 23:29:59 +11:00
David Bomba
8fbab48019 Do not set exchange rate if already set 2022-02-08 20:36:07 +11:00
David Bomba
c1081f46ce Fixes for blank currency_id in manually created payments 2022-02-02 19:51:29 +11:00
David Bomba
cea49c43fc Minor fixes 2022-02-01 10:03:51 +11:00
David Bomba
263bcd8126 Add ability to purge clients 2022-01-30 10:46:39 +11:00
David Bomba
548510d686 Improvements for credits 2022-01-28 16:30:40 +11:00
David Bomba
1034622fbc updates for payment currencyid 2022-01-20 09:26:52 +11:00
David Bomba
f66c3076f1 fixes for adding users into the production system 2022-01-11 19:08:08 +11:00
David Bomba
ae0ff13e92 Handle negative payments - update client.paid_to_date 2022-01-05 10:02:46 +11:00
David Bomba
c77720672b Fixes for atomic operations 2021-12-17 22:11:36 +11:00
David Bomba
55f96e035b Create recurring invoice with invitations for draft 2021-12-15 07:05:12 +11:00
David Bomba
9397372432 Add additional functionality for tasks 2021-12-02 20:26:23 +11:00
David Bomba
24c733827b Handle negative payments 2021-11-22 21:09:28 +11:00
David Bomba
60d9b4f649 Working on negative payments for credits 2021-11-22 15:25:43 +11:00
David Bomba
d9961bb529 Return early if no client present in the repository 2021-11-21 14:52:48 +11:00
David Bomba
750f05ad8b Ensure at least one contact has send_email set 2021-11-15 21:46:58 +11:00
David Bomba
e2a6cd65cc Refactor invitation links 2021-11-06 11:46:12 +11:00
David Bomba
dad9836fa2 MInor fixes for client numbers 2021-10-27 14:17:56 +11:00
David Bomba
7d896e843b Do not mark a 0 draft invoice as paid automatically 2021-10-25 11:49:11 +11:00
David Bomba
ae3edef16c Refactor for backup storage location 2021-10-20 14:05:46 +11:00
David Bomba
5ce87d00d9 Minor refactor 2021-10-18 15:23:34 +11:00
David Bomba
37aac0db03 Fixes for converting quotes to invoices - invitations 2021-10-18 13:31:21 +11:00
David Bomba
68a8715c6d Fixes for tests 2021-10-17 14:21:13 +11:00
David Bomba
ba2f78dad0 Refactor counter/patterns to allow User variables 2021-10-17 13:49:32 +11:00
David Bomba
59c54b48e4 Fixes for invitations 2021-10-14 17:59:03 +11:00
David Bomba
dc116013d9 Fixes for observers 2021-10-14 17:54:38 +11:00
David Bomba
fb7f44615d Minor fixes 2021-10-13 15:47:56 +11:00
David Bomba
3b8ef9ccd9 Minor fixes for credit - paid - to - dates 2021-10-12 15:49:05 +11:00
David Bomba
21d08d2d7e Trigger model created event manually after model calculations have been performed 2021-10-10 20:56:05 +11:00
David Bomba
d93928ffbe Fixes for testS 2021-10-08 16:23:00 +11:00
David Bomba
9c18ab7230 Improve query efficiency 2021-10-08 15:00:17 +11:00
David Bomba
40a90c4ea8 Fixes for invoice observer 2021-10-07 17:34:23 +11:00
David Bomba
491d5e9f89 Additional logging for auto bill 2021-10-05 08:17:41 +11:00
David Bomba
43822fbfdd Return blank Backup object if none exists 2021-09-30 04:58:48 +10:00
David Bomba
02de2607e0 Fixes for recurring expenses 2021-09-14 18:52:54 +10:00
=
3733853cd3 Minor fixes for deleted_at column on invoice 2021-09-12 22:17:40 +10:00
=
1a2efecfaa Minor fixes 2021-09-12 15:29:30 +10:00
David Bomba
f3a3e63ccb fixes for client contact enforcement 2021-09-10 07:44:58 +10:00
=
b3b5793703 Fixes for MultiDB payment gateways 2021-09-09 21:18:04 +10:00
David Bomba
916c5e4da8 Trim all emails 2021-09-07 14:55:09 +10:00
David Bomba
02e8e6e000 Fixes for amounts when formatted with comma's 2021-09-07 13:57:55 +10:00
=
72bbcf2bb2 Prevent duplicate events firing on save 2021-09-05 20:31:08 +10:00
David Bomba
a1b1347498 Update all contact password if multiple contacts have the same email address 2021-09-04 11:54:20 +10:00
David Bomba
a0f6afec0f Stubs for Recurring Expenses 2021-08-23 09:38:55 +10:00
Benjamin Beganović
fbe0d3e8bd Update references to process_markdown flag 2021-08-09 14:31:31 +02:00
David Bomba
f7860093f5 Fixes for notifications 2021-08-06 09:20:21 +10:00
David Bomba
bce7667aa5 Fix translations for import email 2021-08-02 09:20:38 +10:00
David Bomba
2d6e2e5976 Fixes for tests 2021-08-01 08:44:04 +10:00
David Bomba
055e40ccc6 Add currencies to payments by default 2021-07-30 08:11:40 +10:00
David Bomba
b91af0dc69 Client Contact password reset links 2021-07-29 12:19:56 +10:00
David Bomba
27d6dd1248 Fixes for IP and TOKEN insertion into activities 2021-07-26 22:11:53 +10:00
David Bomba
60452278b5 Minor fixes 2021-07-25 22:42:03 +10:00
David Bomba
673f188100 Ensure the client is saved prior to getting a number back 2021-07-16 15:40:38 +10:00
David Bomba
e808cc62a8 Fixes for Client - Paid To Date updating when a payment with no invoices is generated 2021-07-14 12:22:37 +10:00
David Bomba
fcbef56e46 Fixes for schema migrations and always set default country on clients 2021-07-14 09:11:42 +10:00
David Bomba
8d9950ebbd Add company country as default if none is set 2021-07-14 08:39:30 +10:00
David Bomba
a963396fef Minor FIxes 2021-07-08 20:22:06 +10:00
David Bomba
2128f398c4 Fixes for wrong keys 2021-07-02 19:23:20 +10:00
David Bomba
69461104fe Fixes for client gateways 2021-07-01 15:56:44 +10:00
David Bomba
a2d954b706 Fixes for custom values 2021-07-01 13:34:57 +10:00
David Bomba
25459797db Add late fees back into reminders 2021-07-01 09:14:30 +10:00
David Bomba
d7e551fc95 Fixes for subscriptions 2021-06-27 21:55:15 +10:00
David Bomba
6544a50c01 Fixes for groupo repo on update 2021-06-26 12:33:25 +10:00
David Bomba
0c9de66a80 Set Transactions on the correct database 2021-06-24 21:52:02 +10:00
David Bomba
74aa6d46d5 Fixes for client settings 2021-06-24 21:26:14 +10:00
David Bomba
98aaf3028b Change payment exchange_currency_id from the clients currency to the company currency 2021-06-23 16:49:40 +10:00
David Bomba
8b9b30ff63 Set payment exchange rate 2021-06-21 06:55:48 +10:00
David Bomba
172604a1a0 WePay 2021-06-20 22:10:22 +10:00
David Bomba
3911a58d98 WePay JS 2021-06-19 14:05:45 +10:00
David Bomba
36f6cbbcc9 Update license in codebase 2021-06-16 16:58:16 +10:00
=
769ab49458 Force client country if none set 2021-06-10 20:18:01 +10:00
David Bomba
214396fa43 Fixes for deleting and reusing design names 2021-06-03 08:02:30 +10:00
David Bomba
b82cdb6b77 Fixes for DB::rollBack 2021-05-26 17:04:29 +10:00
David Bomba
7618666c4b Fixes for tests 2021-05-26 12:37:16 +10:00
David Bomba
0b71bc03b0 Fixes for User Route 2021-05-24 10:53:04 +10:00
David Bomba
82d274c1f2 Recurring Invoice Activities 2021-05-10 15:59:23 +10:00
David Bomba
7808b4c30d Fixes for created_at dates in migration 2021-05-10 09:52:58 +10:00
David Bomba
f3a56c8174 Add activities to entities 2021-05-07 07:41:37 +10:00
David Bomba
85c05f7c30 Fixes for VarEvents 2021-05-07 07:12:07 +10:00
David Bomba
382dd88e02 Do not update/create products from migration 2021-05-04 13:54:28 +10:00
=
6ccaf5dad9 Minor fixes for migration 2021-04-28 20:25:21 +10:00
David Bomba
73bcaae3f6 Allow invoice balances to change - but do no allow them to go negative 2021-04-28 11:18:27 +10:00
David Bomba
1bcfa1b19d Add ability to logout all tokens from company 2021-04-27 09:34:35 +10:00
David Bomba
f62518f63b Stripe Connect 2021-04-22 20:38:22 +10:00
David Bomba
e6c083cf29 Stripe Connect 2021-04-20 21:30:52 +10:00
David Bomba
68ddc6e7b1 Tests for ClientGatewayToken routes 2021-04-20 16:03:14 +10:00
David Bomba
03b19e27f7 Add client gateway tokens 2021-04-20 14:26:16 +10:00
David Bomba
fadfdca2af fxies for tests 2021-04-19 19:59:11 +10:00
David Bomba
060404cd6c set a default task_status for orphaned tasks 2021-04-19 15:33:49 +10:00
=
3cfabd88d7 Reset task statuses on delete/archive 2021-04-18 19:50:06 +10:00
David Bomba
0426b6c941 Add payment notification on manual payment creation 2021-04-16 07:58:34 +10:00
David Bomba
218aa6de73 Checks for partial/deposit greater than amount/balance 2021-04-15 08:09:36 +10:00
David Bomba
7e3a9205b9 Add event listeners for Subscriptions + fix user actioning the event() 2021-04-13 09:52:17 +10:00
=
e7707a919b Delete invoice when payments are applied 2021-04-09 19:51:17 +10:00
David Bomba
e453030b4b Fixes for subscriptions repo naming 2021-03-31 11:20:41 +11:00
David Bomba
d7bf927549 Set exchange rates on invoices 2021-03-29 13:14:55 +11:00
=
3479c127fd Fixes for subscription refactor 2021-03-27 14:22:19 +11:00
=
46a525f04d Create invoice for subscription 2021-03-27 08:55:04 +11:00
=
95749b4822 Subscriptions - invoice generation logic 2021-03-27 08:39:08 +11:00
David Bomba
2c83abe432 Subscriptions 2021-03-27 07:28:56 +11:00
David Bomba
fd24449f95 Fixes for deleting / restoring / removing users 2021-03-26 19:07:43 +11:00
David Bomba
abd3a89bc9
Subscriptions (#5248)
* Fixes for converting quote to invoice

* Fixes for naming PDFs

* Refresh entity prior to sending

* Fixes for subscriptions

* Add in required use

* Fixes for notifications

* Fixes for notifications

* Add with trasheD

* Rename BillingSubscriptions to Subscriptions

* Refactoring subscriptions
2021-03-25 21:55:59 +11:00