1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-13 22:54:25 +01:00
Commit Graph

463 Commits

Author SHA1 Message Date
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
David Bomba
d93928ffbe Fixes for testS 2021-10-08 16:23:00 +11:00
David Bomba
f2d3388cbd Minor fixes 2021-10-07 19:04:33 +11:00
David Bomba
3eb03e7ad4 Fixes for terms 2021-10-07 19:01:10 +11:00
David Bomba
2d791f26b7 Remove checks for send_email 2021-10-05 15:20:44 +11:00
David Bomba
0bf387a56d Fixes for auto bill 2021-10-05 12:02:01 +11:00
David Bomba
c30a06bd70 Fixes for auto bill 2021-10-05 11:41:05 +11:00
David Bomba
6b4aee77b1 Catching exceptions when payment gateway throw exceptions 2021-10-04 22:29:23 +11:00
David Bomba
03bb31a9e3 clean up 2021-10-04 21:12:20 +11:00
David Bomba
129a8a0210 Order gateways by is_default 2021-10-04 21:10:56 +11:00
David Bomba
e09bbfaaea Minor fixes 2021-10-04 09:36:30 +11:00
David Bomba
492dc1cd04 Unwind gateway fees prior to marking as paid 2021-09-26 19:56:09 +10:00
David Bomba
e2668b3b3e Turning on token billing for PayFast 2021-09-23 15:36:31 +10:00
David Bomba
a66fa1c678 Fixes for incorrect fee calculation edge case 2021-09-22 11:57:03 +10:00
David Bomba
42c27d1cac Fixes for Triggered Actions 2021-09-09 17:23:47 +10:00
David Bomba
fa635a7ef0 minor fixes 2021-09-04 15:51:31 +10:00
David Bomba
801b9e0d15 Allow users to define From Name in UI 2021-09-03 22:59:48 +10:00
David Bomba
e084e85eeb Additional logging for auto biller 2021-09-03 15:38:20 +10:00
David Bomba
fd0a162197 Fixes for tests 2021-08-31 10:16:26 +10:00
David Bomba
ac763b3a0a Small fix for edge case where invoice may appear to be paid 2021-08-29 21:17:27 +10:00
David Bomba
0a25df317e Minor fixes for balance adjustments 2021-08-29 21:03:00 +10:00
David Bomba
850c8bbf28 Fixes for namespace include 2021-08-23 07:34:25 +10:00
David Bomba
b0282c2364 Fix missing includes for triggered actions 2021-08-23 07:12:58 +10:00
David Bomba
5f0efcffc5 Fixes for Stripe exceptions 2021-08-15 15:30:46 +10:00
David Bomba
05fafb2f0e Apply payment amount 2021-08-13 11:30:48 +10:00
Benjamin Beganović
fbe0d3e8bd Update references to process_markdown flag 2021-08-09 14:31:31 +02:00
David Bomba
d29f1798a2 Fixes for auto-archive invoices 2021-08-08 08:40:04 +10:00
David Bomba
a316982171 Fixes for client balance when deleting an invoice 2021-08-07 15:25:22 +10:00
David Bomba
a11dff6fe7 Additional logging for autobill 2021-08-05 10:46:03 +10:00
David Bomba
2d6e2e5976 Fixes for tests 2021-08-01 08:44:04 +10:00
David Bomba
9acc02a7df Tets 2021-07-31 19:59:04 +10:00
David Bomba
0837252c47 Working on deleted invoice accounting 2021-07-30 15:55:02 +10:00
David Bomba
8e41c801c8 minor fixes for handle reversal 2021-07-29 20:30:02 +10:00
David Bomba
dbb60c029e Fixes for reminderS 2021-07-20 14:49:04 +10:00
=
643e05212b Fixes for reminders 2021-07-18 21:49:25 +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
75d012af06 Set date on credit generated from an invoice reversal 2021-07-11 10:21:24 +10:00
David Bomba
32036a8569 Fixes for PDF paths 2021-07-07 21:39:49 +10:00
=
34bd341182 Fixes for endless reminder pulling in the wrong scheduled interval 2021-06-27 12:12:39 +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
b56b5c1ec9 Fixes for Two Factor 2021-06-23 14:55:12 +10:00
David Bomba
a3a406b122 Set Exchange Rates on invoice when marked as paid 2021-06-22 08:41:15 +10:00
David Bomba
823d23df24 Set exchange rates on invoices/payments when marking as paid 2021-06-22 08:39:08 +10:00
David Bomba
36f6cbbcc9 Update license in codebase 2021-06-16 16:58:16 +10:00
David Bomba
31c8eb1a19 Fixes for stripe import customers 2021-06-15 11:09:12 +10:00
David Bomba
887bc3d4a6 Fixes for reminders 2021-06-15 08:06:01 +10:00
David Bomba
59fcbfe52c Don't delete the PDF prior to sending 2021-06-13 14:19:40 +10:00
David Bomba
0a0ea46851 Declare disk for storage 2021-06-13 14:09:33 +10:00
David Bomba
7709bd32d1 Ensure directories are created prior to PDF generation 2021-06-13 10:18:07 +10:00
=
afdfddd7e9 Refactor for entity paths 2021-06-12 21:50:01 +10:00
David Bomba
edf2dfcc80 Minor fixes 2021-06-12 19:40:28 +10:00
David Bomba
c367ea60ae Timezone Offset implementation 2021-06-11 08:20:46 +10:00
David Bomba
4675cc92b5 Inject delays in emails to allow enough time for attachment resources to upload when using S3 type storage 2021-06-10 19:01:30 +10:00
David Bomba
a5054f87a5 Fixes for endless reminders 2021-06-10 11:15:21 +10:00
David Bomba
1f4493f191 Bug fixes 2021-05-28 11:02:43 +10:00
David Bomba
e76567f337 Fixes for creating an account using OAuth 2021-05-26 16:14:47 +10:00
David Bomba
fb17dd7e0b Force stripe amount to int 2021-05-26 16:04:38 +10:00
David Bomba
7618666c4b Fixes for tests 2021-05-26 12:37:16 +10:00
David Bomba
ba672f6fdd Fixes for test 2021-05-26 11:32:01 +10:00
David Bomba
e254a9ad73 Refactor reminders 2021-05-26 10:35:39 +10:00
David Bomba
4e8ed1e32d Force deletes from local storage also 2021-05-24 20:58:37 +10:00
David Bomba
8970f6415b Fixes for reminder scheduling 2021-05-21 23:29:59 +10:00
David Bomba
0b7891e24f Fixes for restore invoice numbering 2021-05-21 07:58:46 +10:00
David Bomba
b0d1b7e1a1 Fixes for delivering PDFs over the wire 2021-05-16 16:26:55 +10:00
David Bomba
8f996d9a93 Fixes for gateway fees less that 2021-05-16 08:18:43 +10:00
David Bomba
c52311bcde Fixes for PDF file paths 2021-05-15 12:19:36 +10:00
David Bomba
7756ca7436 Don't store PDFs 2021-05-14 21:15:11 +10:00
David Bomba
1bfa0f709e Fixes for typo 2021-05-14 19:50:33 +10:00
David Bomba
de8fb374ab Fixes for S3 storage and delivery notes 2021-05-14 19:43:06 +10:00
David Bomba
87ddad6670 Working on PDF generator flags 2021-05-09 21:30:31 +10:00
David Bomba
5510993d13 Fixes for gateway fees 2021-05-03 21:51:00 +10:00
David Bomba
aba280d9ab Fixes for recurring 2021-04-30 09:01:56 +10:00
David Bomba
7e3a9205b9 Add event listeners for Subscriptions + fix user actioning the event() 2021-04-13 09:52:17 +10:00
David Bomba
62401555cd Working on pro rata refunds 2021-04-10 14:07:08 +10:00
=
e7707a919b Delete invoice when payments are applied 2021-04-09 19:51:17 +10:00
David Bomba
f1f8201683 fixes for delivery note generation 2021-04-02 22:44:44 +11:00
David Bomba
d7bf927549 Set exchange rates on invoices 2021-03-29 13:14:55 +11:00
=
9fd40f55c6 Exchange rates 2021-03-27 14:51:34 +11:00
David Bomba
f52fb31ced Remove illegal characters from pdf file names 2021-03-17 22:29:20 +11:00
David Bomba
9888d7acb9 Improve delete pdf performance 2021-03-10 13:28:35 +11:00
David Bomba
18e8934e70 Delete pdf in service rather than child job 2021-03-10 12:28:12 +11:00
=
b57d4bfb7c Fixes for recurring invoice number not being prefixed 2021-03-02 21:57:14 +11:00
David Bomba
e56a37a718 Return object not null if you have to return early!! 2021-02-08 00:03:59 +11:00
David Bomba
47eabf5434 Invoice Actions 2021-02-05 16:03:34 +11:00
David Bomba
55839d66ed Auto archive invoice - Mark Paid 2021-02-05 16:02:38 +11:00
Benjamin Beganović
84f7e14d11
Merge pull request #4781 from beganovich/v5-2701-checkout-autobill
(v5) Checkout.com auto-billing
2021-01-29 12:01:54 +01:00
Benjamin Beganović
dbade2f497 wip 2021-01-29 12:00:30 +01:00
David Bomba
756f421319 Add gateway fees for autobill 2021-01-28 08:31:31 +11:00
David Bomba
8e06644fac Track payment ID with Activity 54 2021-01-25 07:55:04 +11:00
David Bomba
cecee6cbfe Fixes for tests 2021-01-24 20:28:18 +11:00
David Bomba
0f8ee2d101 Tests for paid_to_date 2021-01-24 20:08:57 +11:00
David Bomba
6170dfae12 Fixes for tests 2021-01-24 20:00:45 +11:00
David Bomba
24dfbe48dc working on paid_to_date fields and calculations 2021-01-24 17:44:14 +11:00
David Bomba
c173fdcc5b Fixes for ledger 2021-01-21 15:42:30 +11:00
David Bomba
05ea7f092a Fixes for ledger adjustments 2021-01-21 15:05:05 +11:00
David Bomba
ff4f2f3953 Checks on Company Ledger sanity 2021-01-21 12:33:39 +11:00
David Bomba
db9e8ff830 Add rules preventing overpayment on invoices 2021-01-21 10:53:02 +11:00
David Bomba
e054894ffa Working on payments 2021-01-20 21:59:24 +11:00
David Bomba
63eae6000a fixes for service methods 2021-01-19 07:04:13 +11:00
David Bomba
40f336c469 Fixes for defaults 2021-01-19 07:02:32 +11:00
David Bomba
1a4b5ed51d Add public notes to invoices 2021-01-18 22:08:18 +11:00
David Bomba
a33c781919 Payment notifications for online payments to the client 2021-01-18 08:31:49 +11:00
David Bomba
13be9c5ad6 Fixes for autobill 2021-01-17 21:33:05 +11:00
David Bomba
af86d1e69f Fix for import 2021-01-17 20:35:01 +11:00
David Bomba
ae5f5ac30a Fixes for invitation creation 2021-01-14 10:00:32 +11:00
David Bomba
7f03a1900e Refactor notifications to be more specific, ie. Invoice -> Reminder 1 template 2021-01-13 18:20:46 +11:00
David Bomba
f0bf26ad14 Fixes for system logging successful gateway responses" 2021-01-12 20:35:47 +11:00
David Bomba
51cd6f71fd fixes for tests which handle remote disks 2021-01-12 19:04:05 +11:00
David Bomba
e3f0493c48 Cleanup for emails 2021-01-12 10:21:17 +11:00
Benjamin Beganović
132f9da3ff Pass GatewayType from gateway_type_id on token 2021-01-06 13:06:18 +01:00
Benjamin Beganović
5833df9850 Refactor calcGatewayFee:
- Remove default GatewayType::CREDIT_CARD
- Swapped spaces for taxes & gateway type
2021-01-04 14:07:50 +01:00
David Bomba
934610a01c Update copyright + version bump + set canadian dollar symbol to $ 2021-01-04 08:54:54 +11:00
Benjamin Beganović
3d5730d653 pass inclusive taxes 2020-12-31 11:55:09 +01:00
Benjamin Beganović
03cdb516c7 fix issue with gateway type id not being passed 2020-12-31 11:29:40 +01:00
Benjamin Beganović
5a8dfd85eb Apply php-cs-fixer 2020-12-21 11:46:46 +01:00
David Bomba
f45588d26e
Merge pull request #4522 from turbo124/v5-develop
Handle invoice numbers on restore
2020-12-18 07:12:17 +11:00
David Bomba
adab53ed97 Handle restoring a deleted invoice 2020-12-18 07:11:31 +11:00
Benjamin Beganović
220c7f080a Provide action selectors to match PDF elements:
- Add ext-libxml to composer.json
- Support outputting the PDF in CreateEntityPdf.php & GenerateDeliveryNote.php
- Add reference names to Design.php
2020-12-17 15:44:01 +01:00
David Bomba
6f451b8924 Remove redundant info() Change document download route 2020-12-13 20:46:29 +11:00
David Bomba
d440d4421d Fix for doubling client balance erroneously on emailing" 2020-12-13 11:04:56 +11:00
Benjamin Beganović
1f2c3f2823 update pagination links & apply php-cs-fixer 2020-12-05 14:24:21 +01:00
David Bomba
d8efdc6817 Tests for deleting and restoring an invoice 2020-12-05 09:10:32 +11:00
David Bomba
4f0776a323 Working on tests for deleted invoice 2020-12-05 09:08:10 +11:00
David Bomba
bc621aa01a fixes for directories 2020-12-04 08:24:34 +11:00
David Bomba
02c810633a Working on invoice delete restore refactor 2020-12-03 21:46:49 +11:00
David Bomba
fceaab9e40 Working on invoice delete restore refactor 2020-12-03 21:46:36 +11:00
David Bomba
f96bde6fca Refactor invoice delete/restore 2020-12-03 15:20:39 +11:00
David Bomba
73c9474912 Working on invoice delete refactor 2020-12-03 14:56:00 +11:00
David Bomba
48f2f469d3 refactor for invoice deletion 2020-12-03 14:11:24 +11:00
David Bomba
bcb21fb234 Working on invoice deletion 2020-12-02 22:01:50 +11:00
Benjamin Beganović
ae88d5e08e php-cs-fixer format 2020-11-25 15:19:52 +01:00
David Bomba
a1119f9bbe Fix edge cases with cloning invoice 2020-11-15 19:24:57 +11:00
David Bomba
7af791a4c4 Working on from, replyTo and bcc emails 2020-11-12 12:43:32 +11:00
David Bomba
c5643bea7b
Merge pull request #4287 from turbo124/v5-develop
Fixes for reminder templates
2020-11-10 19:32:44 +11:00
Benjamin Beganović
8adab67251 - Pass $invoice to the getInvoiceDeliveryNote() in InvoiceService
- GenerateDeliveryNote action for InvoiceService
- New delivery-note-table element in the \Services\PdfMaker\Design.php
- $item & $description variables in the HtmlEngine
2020-11-09 14:30:50 +01:00
David Bomba
2e8cb84570 Payment emails 2020-11-09 13:57:34 +11:00
=
cd0bbbe096 Remove redundant classes 2020-11-08 21:53:47 +11:00
David Bomba
09fbc9762a Fixes for custom emails. 2020-11-05 21:14:30 +11:00
David Bomba
5c5102baeb Working on reminders 2020-11-04 20:32:49 +11:00
David Bomba
d598aeeb03 Working on reminders 2020-11-04 19:43:20 +11:00
David Bomba
5fe85ca3f0 Working on company settings implmentation 2020-11-04 17:02:15 +11:00
David Bomba
c995ac5f44 Add API Documentation to repo 2020-11-04 12:27:07 +11:00
David Bomba
ae44b9c032 Version bump + linking tasks expenses with invoices 2020-11-01 18:53:43 +11:00
David Bomba
e891238db0 Set next_send_date to null when balance == 0 2020-10-29 13:55:26 +11:00
David Bomba
9aeb2d7a5b Psalm cleanup 2020-10-28 21:10:49 +11:00
David Bomba
adeda5526e Add Psalm, code cleanup! 2020-10-28 17:58:15 +11:00
David Bomba
0a02323792 Quote email engine 2020-10-28 10:02:32 +11:00