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

575 Commits

Author SHA1 Message Date
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
Benjamin Beganović
908678cdc4 wip 2021-03-12 15:00:33 +01:00
David Bomba
00eefcd781 Client Subscription scaffolding 2021-03-10 11:08:58 +11:00
Benjamin Beganović
ea5117ecbe Billing subscriptions: Factory, repository & transformer 2021-03-08 15:18:14 +01:00
=
6360f62ef3 Integrate phantom js secret default value into config 2021-03-07 17:27:44 +11:00
David Bomba
20440189d2 Fixes for password protection middleware 2021-03-04 16:03:28 +11:00
=
c23b9b147d Fixes for attaching a user to different companies 2021-03-03 18:22:14 +11:00
David Bomba
f7e4bca5a5 Update task status_order on update() 2021-02-24 13:12:23 +11:00
David Bomba
1b3a9e6398 Fixes for updating products 2021-02-23 09:08:43 +11:00
David Bomba
9a46a886a1 fixes for surcharge tax calculations and also implemented Zero % tax rates 2021-02-21 20:36:34 +11:00
Joshua Dwire
e11e71514a Add tests; block sending payment emails during an import. 2021-02-17 22:05:33 -05:00
David Bomba
6681b4fbfe Fixes for import / migrartions 2021-02-07 23:35:16 +11:00
=
a217b086b1 Delete payment migration 2021-02-06 15:30:01 +11:00