1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-14 15:13:29 +01:00
Commit Graph

609 Commits

Author SHA1 Message Date
David Bomba
aa82f50150 Improve gateway descriptions for Stripe - credit card + acss 2023-02-23 11:29:16 +11:00
David Bomba
010f324b4c Fixes for tests 2023-02-23 06:22:20 +11:00
David Bomba
e302b9f9cb Only send one payment email receipt 2023-02-22 20:13:50 +11:00
David Bomba
4babfbb651 php-cs-fixer 2023-02-16 12:36:09 +11:00
David Bomba
a5f303f338 Support passing reference with amount_paid and paid 2023-02-10 09:47:22 +11:00
David Bomba
768d26c2ed
Merge pull request #8245 from LarsK1/patch-3
Feature: Webhook at send
2023-02-08 07:06:28 +11:00
David Bomba
cb47c9d40e Fixes for applying invoice numbers to subscriptions where invoice number is set to When Sent 2023-02-07 22:25:40 +11:00
Lars Kusch
400fb609ee Refactor Webhook to BaseModel.php 2023-02-07 09:45:02 +01:00
Lars Kusch
d0cfaff6d6 Added models and implemented the sent Webhook 2023-02-03 12:54:34 +01:00
Lars Kusch
052ca31297
Add Webhooks at send 2023-02-03 12:46:55 +01:00
David Bomba
a2f0c5d4fe Refactor for observers 2023-02-01 15:00:45 +11:00
David Bomba
1c664d5960 remove updateQuietly( 2023-02-01 07:21:23 +11:00
David Bomba
b8d97a69a2 Refactor for observers 2023-02-01 01:06:21 +11:00
David Bomba
6c86d7151a Update copyright year 2023-01-29 09:21:40 +11:00
David Bomba
cb620f09ed Fixes for sending payment email on Mark Paid 2023-01-22 18:25:04 +11:00
David Bomba
24aa73c359 Fixes for notifications 2023-01-19 17:20:31 +11:00
David Bomba
3ce3187ec2 Minor fixes for client ledger balance update 2023-01-15 17:42:13 +11:00
David Bomba
a743504ed3 Minor fixes for transactions 2023-01-15 15:10:41 +11:00
David Bomba
1720baccc8 Checks inside transactions 2023-01-15 14:59:42 +11:00
David Bomba
9e415b420c Refactor for scheduled tasks 2023-01-13 12:43:38 +11:00
David Bomba
1974f0e5f3 Set invoice autobill based on configuration 2023-01-13 00:36:25 +11:00
David Bomba
02899b931e Fixes for tests 2022-12-21 22:20:54 +11:00
David Bomba
13f8aa2140 Refactor subscription invoices to use standard allow temporary invoice numbers until they are confirmed 2022-12-20 21:46:20 +11:00
David Bomba
1ca6810132 Subscriptions v2 2022-12-09 16:50:48 +11:00
David Bomba
69a1419e9b Fixes for updateinvoice events 2022-12-08 11:17:18 +11:00
David Bomba
b0933f7468 Additional checks for reminder scheduling for endless reminders 2022-12-02 07:30:24 +11:00
David Bomba
b28aa5d1cd Add form request for enable two factor 2022-12-01 15:33:40 +11:00
David Bomba
b831658da4 Do not allow restoration of a invoice with a deleted payment 2022-11-30 15:36:30 +11:00
David Bomba
9e69488254 Fixes for multiple deletes on a single invoice 2022-11-30 14:39:45 +11:00
David Bomba
4d1555b46e Fixes for applying payment from a transaction, and then unwinding the transaction 2022-11-30 13:10:24 +11:00
David Bomba
cb8c3f4f39 Minor fix for client balance adjustment 2022-11-29 17:20:40 +11:00
David Bomba
20810bd7fe Minor fixes for company count 2022-11-24 20:33:52 +11:00
David Bomba
8f5fb2ca9f Fixes for recurring invoice edge case 2022-11-24 17:23:36 +11:00
David Bomba
264a4df13b Adjustments for handling invoice deletion 2022-11-24 16:49:03 +11:00
David Bomba
53f38d8cb7 Handle Cancellation Webhook Event 2022-11-15 07:23:14 +11:00
David Bomba
ccac01bacd Save default terms/footers 2022-11-14 12:02:52 +11:00
David Bomba
46e71117f1 ensure we post event notifications when the invoice is marked as sent 2022-11-14 07:53:23 +11:00
David Bomba
dd4d5534fb Minor fixes 2022-11-09 08:09:42 +11:00
David Bomba
10c8fbf4c1 Minor fixes for phone validation 2022-11-07 21:00:21 +11:00
David Bomba
dddfd32757 Improve memory handling 2022-11-01 21:20:28 +11:00
David Bomba
c4e0295b32 Remove inventory adjustments when deleting a invoice 2022-10-29 12:14:25 +11:00
David Bomba
540ae8df63 Fixes for restore 2022-10-28 17:04:48 +11:00
David Bomba
95610fd25e Restrict size and amount of jobs 2022-10-28 13:09:17 +11:00
David Bomba
c05a0dd598 restore paymentable reliably when restoring invoice with attached payment 2022-10-28 10:37:58 +11:00
David Bomba
a27d47552a minor fixes when calculating invoice cancellations 2022-10-27 14:56:59 +11:00
David Bomba
b3351d88f1 Merge branch 'yodlee' into v5-develop 2022-10-26 13:26:51 +11:00
David Bomba
118ddc87a1 Adjust status if invoice is modified after payment 2022-10-26 10:58:53 +11:00
David Bomba
ce47e30aa2 Merge branch 'v5-develop' into yodlee 2022-10-24 08:43:02 +11:00
David Bomba
922aecdd9f Add configuration for R2 2022-10-24 08:42:38 +11:00
David Bomba
76badf854c Add R2 options to filesystems 2022-10-22 17:04:42 +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
0892b6035f handle invoices going from zero balance to positive balance 2022-10-12 13:39:08 +11:00
David Bomba
271a81da3e Clean up for preload 2022-10-12 12:55:11 +11:00
David Bomba
0a2cb6f88d Merge branch 'v5-develop' into yodlee 2022-10-06 20:55:44 +11:00
David Bomba
64c5e2a4e4 Minor fixes 2022-10-02 11:00:32 +11:00
David Bomba
a1629bbab4 Fixes for applying numbers 2022-09-12 21:08:50 +10:00
David Bomba
9dd06fae34 minor fixes + additional logging 2022-09-12 13:03:39 +10:00
David Bomba
c0cb157309 Merge branch 'v5-develop' into yodlee 2022-09-07 14:54:50 +10:00
David Bomba
52d5afbce0 Remove DispatchNow() 2022-09-07 14:15:27 +10:00
David Bomba
28915d82a4 CLean up code paths for client balance 2022-09-07 08:35:19 +10:00
David Bomba
d79b374eda Fixes for select box background color 2022-09-06 20:51:42 +10:00
David Bomba
a0d1635a58 Fixes for handling partial payments with credits 2022-09-06 19:18:05 +10:00
David Bomba
8dbc70d277 Working on credit paymentS 2022-09-05 21:15:23 +10:00
David Bomba
9e7f70dacd Fixes for auto billing when using credits 2022-09-05 18:15:08 +10:00
David Bomba
8d250209e3 Fixes for tests. 2022-09-05 17:51:26 +10:00
David Bomba
9846a3e18f Fixes for default mark down settings 2022-09-05 17:18:08 +10:00
David Bomba
0934925071 Add option to send payment email when invoice has been marked as paid 2022-09-02 20:43:35 +10:00
David Bomba
fee7d2c697 Fresh client prior to updating 2022-09-02 14:22:04 +10:00
David Bomba
384ce1fa8d Use transaction when marking an invoice as paid 2022-08-29 18:15:50 +10:00
David Bomba
e31e7f8502 Ensure invoice marked as paid 2022-08-26 15:35:20 +10:00
David Bomba
87e3f12920 Fixes for edge case when deleting an invoice with a partial payment 2022-08-19 12:48:58 +10:00
David Bomba
6e134098b5 tests for deleting an invoice 2022-08-19 12:09:50 +10:00
David Bomba
d80ec520f9 Fast link provisioning 2022-08-10 11:56:46 +10:00
David Bomba
0c05370686 Move payment numbering into service 2022-08-05 08:08:19 +10:00
David Bomba
7ac4786bff Refactor to remove dispatchSync from code path 2022-08-01 07:30:04 +10:00
David Bomba
48c36d0004 Fixes for mailers 2022-07-31 19:11:32 +10:00
David Bomba
e337abe819 Patches from v5-dev 2022-07-20 10:56:02 +10:00
David Bomba
c5b8c97b57 Fixes for invoice status if balance changes to negative 2022-07-19 19:36:55 +10:00
David Bomba
071f2ee102 Post Merge v5-develop 2022-07-15 17:41:30 +10:00
David Bomba
3a8513cbaf Fixes for required fields 2022-07-14 21:29:17 +10:00
David Bomba
a55dd2ec40 Purchase Orders 2022-07-05 09:55:05 +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
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
f014cda4e6 Ensure we save auto_bill_tries 2022-06-18 17:10:15 +10:00
David Bomba
81e507271a Fixes for reminders when no due date is set 2022-06-18 13:52:30 +10:00
David Bomba
063d600bbd Vendor Portal - Purchase Orders 2022-06-14 22:18:20 +10:00
David Bomba
8164d40007 MInor fixes for correct disk configuration 2022-06-13 09:33:40 +10:00
David Bomba
aa832e1d24 Update product request 2022-06-09 10:20:18 +10:00
David Bomba
f92070e3be Inventory Management Tests 2022-06-08 20:40:26 +10:00
David Bomba
e153a0a06a Update license 2022-06-08 14:25:44 +10:00
David Bomba
21c5bdcd90 Fixes for tests 2022-06-08 08:27:47 +10:00
David Bomba
3d9bb490e3 first pass 2022-05-31 21:17:18 +10:00
David Bomba
e071c3aae7 Ensure freshness of models 2022-05-27 09:51:54 +10:00
David Bomba
7f1cf9ea30 Minor fixes for auto billing 2022-05-18 14:37:11 +10:00
=
ede64ef03d Minor refactor for auto billing 2022-05-17 14:46:03 +10:00
David Bomba
d7bbc36251
Merge pull request #7439 from CirkaN/Cirkovic/INA-2!
Cirkovic/INA-2 (Add limit to the auto bill )
2022-05-17 14:44:17 +10:00
Nikola Cirkovic
adc6e7b32a
Merge branch 'v5-develop' into Cirkovic/INA-2! 2022-05-17 01:46:30 +02:00
Nikola Cirkovic
6d2b3a1c05 INA-2 | Added counter logic into the auto bill service 2022-05-17 01:33:52 +02:00
David Bomba
b398154ebc unwind reminder changes 2022-05-16 20:38:04 +10:00
David Bomba
2dfe001152 Fixes for reminders 2022-05-16 18:53:01 +10:00
David Bomba
f604e463c2 Throttle payment methods to prevent spam: 2022-05-11 15:25:33 +10:00
David Bomba
b5c0e678cb Improve WePay guardian 2022-04-28 12:40:07 +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
3a6258fd42 Release transactions on failures 2022-04-26 11:46:33 +10:00
David Bomba
8a6eea8350 Fixes for regression - incorrect type setting in ClientSettings 2022-04-22 22:01:32 +10:00
David Bomba
127683ee29 Fixes for eager loading 2022-04-20 11:55:33 +10:00
David Bomba
4f10dcd913 Improve invoice number generation when race conditions encountered 2022-04-07 17:40:59 +10:00
David Bomba
ee6f2012f6 prevent double gateway fee removal 2022-04-07 14:47:05 +10:00
David Bomba
4080c47e9b Localize timezonen for payment date 2022-04-05 20:47:44 +10:00
David Bomba
a2ef847f54 Fixes for ledger 2022-04-02 16:13:31 +11:00
David Bomba
5a4614da1f Fixes for api docs 2022-04-01 13:46:55 +11:00
David Bomba
4a4b324af5 Improve test coverage for triggered actions 2022-03-30 14:12:53 +11:00
David Bomba
dd2f9cf545 Fixes for tests 2022-03-29 20:09:08 +11:00
David Bomba
e4fc7fa55a Fixes for tests 2022-03-29 20:06:35 +11:00
David Bomba
b3f753cbf3 Fixes for tests 2022-03-29 19:57:14 +11:00
David Bomba
7e3f1f19ec Remove authorize method for SEPA 2022-03-29 16:07:40 +11:00
David Bomba
77d5016de7 Improve client paid to date calc 2022-03-29 14:13:11 +11:00
David Bomba
4c2c62bd85 Improve invoice payment registrations 2022-03-28 16:36:00 +11:00
David Bomba
ea18f24c4e remove -increment() methods 2022-03-27 17:04:13 +11:00
David Bomba
641e2d4979 v5.3.76 2022-03-26 22:21:35 +11:00
David Bomba
1a21460626 minor fixes 2022-03-25 23:34:56 +11:00
David Bomba
3ada7f9997 Convert shared quote/invoice counters 2022-03-25 17:12:49 +11:00
David Bomba
83b99f296f refactor for workflow with invoice services 2022-03-24 13:50:55 +11:00
David Bomba
35f97d1b91 Factor in gateway fees to client / invoice balances 2022-03-24 13:11:09 +11:00
David Bomba
3e8c1b7910 GMail credentials notification 2022-03-24 08:34:52 +11:00
David Bomba
bd24a10409 minor fixes 2022-03-23 15:51:32 +11:00
David Bomba
edf73b2b18 Fixes for tests 2022-03-15 20:20:05 +11:00
David Bomba
305045a742 Fixes for tests 2022-03-10 14:19:13 +11:00
David Bomba
6351cc8c60 Fixes for balances 2022-03-10 12:17:05 +11:00
David Bomba
b7dced76cd Transaction events 2022-03-10 11:32:04 +11:00
David Bomba
26ef7c7c0d Refactor to use increments 2022-03-09 15:45:13 +11:00
David Bomba
7dbb8154f5 Refactor to use increments 2022-03-09 14:44:05 +11:00
David Bomba
b0d5117a0f Sort order or payment methods 2022-03-09 12:31:54 +11:00
David Bomba
2b145e8833 Fixes for getting first contact/primary 2022-03-07 08:53:32 +11:00
David Bomba
3ee38d54b4 Fixes for model freshness 2022-03-05 09:21:17 +11:00
David Bomba
ded4b2af28 Hide archived payment methods where the gateway has been archived / deleted 2022-02-18 10:52:17 +11:00
David Bomba
f6686c7df5 Allow draft quotes to be approved if accessed directly 2022-02-08 21:18:41 +11:00
David Bomba
8fbab48019 Do not set exchange rate if already set 2022-02-08 20:36:07 +11:00
David Bomba
5897a4e749 Fixes for allowing a deleted invoice to be marked as sent 2022-02-06 13:46:19 +11:00
David Bomba
4115a6837b Vendor Import 2022-02-03 17:38:23 +11:00
David Bomba
7fa19a140a Minor fixes for delivery notes with illegal chars 2022-01-30 18:39:35 +11:00
David Bomba
c7c26532c5 Allow negative invoices 2022-01-28 10:56:14 +11:00
David Bomba
c26387a376 Fixes for import 2022-01-12 20:29:10 +11:00
David Bomba
f3947b104a change deletePdf() to touchPdf() 2022-01-12 13:05:07 +11:00
David Bomba
239b180a21 Fixes for pdf regeneration 2022-01-10 12:47:16 +11:00
David Bomba
e0204a19d5 touch pdf on sent 2022-01-08 12:28:41 +11:00
David Bomba
3417b1ff0f Fixes for send_email triggered action not generating PDFs in time. 2022-01-07 11:54:12 +11:00
David Bomba
89ce2b443e Fixes for mollie payment driver 2022-01-06 21:06:46 +11:00
David Bomba
37a4c4810d Stripe Apple Pay 2022-01-06 11:52:24 +11:00
David Bomba
2362ecb137 Minor Fixes 2022-01-05 15:32:07 +11:00
David Bomba
1efdd262fe Slack notifications for bounce/spam emails 2022-01-05 14:41:57 +11:00
David Bomba
538ea20437 Force public access to PDFs 2022-01-04 12:52:17 +11:00
David Bomba
b6f382bae2 Add option in client statements for filtering by invoice status 2022-01-03 18:22:10 +11:00
David Bomba
39b99c4d78 Try / Catch on delete PDF 2021-12-30 08:10:24 +11:00
David Bomba
cd592f7080 fixes for token gateways 2021-12-28 21:34:53 +11:00
David Bomba
b4f375d877 Minor fixes for invoice service 2021-12-28 20:57:48 +11:00
David Bomba
4af4f2a2a8 Ensure zero balance invoices are marked as Paid 2021-12-21 10:53:17 +11:00
David Bomba
0e01b376e4 Fixes for localizing emails to company localization 2021-12-19 08:43:25 +11:00
David Bomba
c77720672b Fixes for atomic operations 2021-12-17 22:11:36 +11:00
David Bomba
cda41fbd46 Tests for redis vs database performance 2021-12-17 18:04:34 +11:00
David Bomba
adef375aaf v5.3.37 2021-12-17 16:06:20 +11:00
David Bomba
32f39d9e6d Set locale 2021-12-14 22:02:53 +11:00
David Bomba
b1a2403e35 Fixes for duplicate payment numbers" 2021-12-10 21:50:46 +11:00
David Bomba
88b41b70d5 Fixes for triggered actions 2021-12-05 19:42:12 +11:00
David Bomba
4b2417f44e Fixes for a race condition affecting autobilling 2021-12-03 17:19:24 +11:00
David Bomba
0531138c25 minor fixes for gateway fee parameters 2021-12-03 07:01:13 +11:00
David Bomba
2eeaea61a5 Minor fixes 2021-12-01 21:29:48 +11:00
David Bomba
5af0ad72e9 Fixes for recurring invoices where auto_email_invoice not set 2021-11-30 16:05:15 +11:00
David Bomba
8916c57777 Enforce types when checking values of boolean 2021-11-27 11:40:18 +11:00
David Bomba
14e9e8358d Only generate invitations for contacts with send_email true 2021-11-22 21:30:32 +11:00
David Bomba
24c733827b Handle negative payments 2021-11-22 21:09:28 +11:00
David Bomba
07eba43901 Minor refactor for update balance 2021-11-19 17:13:57 +11:00
David Bomba
0d9bab647a Save after applying payment 2021-11-16 09:50:07 +11:00
David Bomba
a64dec0191 Additional logging for invoice balances 2021-11-14 14:59:15 +11:00
David Bomba
4b494ab5fd improve rate limiting 2021-11-11 15:01:24 +11:00
David Bomba
193e473c8a Fixes for marking invoice as sent 2021-11-10 16:41:33 +11:00
David Bomba
57e1385cbf Fixes for invitations 2021-11-09 21:15:08 +11:00
David Bomba
bbf2168a31 Fixes for reversals 2021-11-06 17:07:00 +11:00
David Bomba
e2a6cd65cc Refactor invitation links 2021-11-06 11:46:12 +11:00
David Bomba
f2f52e05c7 Fixes for recurring invoices 2021-10-25 21:39:02 +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
e22967f10d Performance improvements removing unpaid gateway fees 2021-10-25 07:25:14 +11:00
David Bomba
b92f16bfe5 Minor fixes for subscriptions 2021-10-22 10:55:58 +11:00
David Bomba
f878dc5cd4 Pseudo code for auto-pausing recurring invoices 2021-10-20 18:07:33 +11:00
David Bomba
121c9d2cfd Minor fixes for imports 2021-10-20 17:16:22 +11:00
David Bomba
a09666fb96 Minor fixes for marking an invoice as sent 2021-10-19 20:04:19 +11:00
David Bomba
6641320567 Refactor for payment failure mailers 2021-10-17 21:40:40 +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
b57159b362 Minor fixes for invitations 2021-10-16 10:01:44 +11:00
David Bomba
c26afd69e2 Fixes for Payment Webhooks 2021-10-15 18:47:41 +11:00
David Bomba
dc116013d9 Fixes for observers 2021-10-14 17:54:38 +11:00
David Bomba
0cfe5bc39a Refactor invitations 2021-10-14 16:25:09 +11:00
David Bomba
fb7f44615d Minor fixes 2021-10-13 15:47:56 +11:00
David Bomba
c4f09c23ba Set default payment type if none defined 2021-10-12 21:48:07 +11:00
David Bomba
ebca34503b Fixes for N+1 2021-10-12 20:45:15 +11:00
David Bomba
4345dece14 Minor fixes for double payments 2021-10-11 17:05:14 +11:00
David Bomba
21d08d2d7e Trigger model created event manually after model calculations have been performed 2021-10-10 20:56:05 +11:00