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

640 Commits

Author SHA1 Message Date
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
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
David Bomba
f6435ab030 Working on emails 2020-10-27 22:57:12 +11:00
David Bomba
4561ed41f2 Minor fixes for email template 2020-10-27 08:54:59 +11:00
David Bomba
8f53424017 Fixes 2020-10-27 06:10:04 +11:00
David Bomba
8d508bb1f9 Refactor pdf generation 2020-10-26 15:06:58 +11:00
David Bomba
651a1a6cbe Add credit gateway type id 2020-10-26 13:06:24 +11:00
David Bomba
2d0e1a53f2 Fixes for autobill 2020-10-23 15:18:16 +11:00
David Bomba
3139539f46 Fixes for paid to date when refund is applied 2020-10-23 12:57:54 +11:00
David Bomba
90494547c5 Fix for whitelabel getter 2020-10-20 13:23:48 +11:00
David Bomba
2f948b603b Using Credits for payment 2020-10-15 20:41:59 +11:00
David Bomba
27f678bd8c working on credit payments 2020-10-15 15:07:42 +11:00
David Bomba
0d17b299a0 Refactor payments for credits 2020-10-15 11:37:16 +11:00
David Bomba
0ec89c18ac Fixes for autobill 2020-10-14 21:45:26 +11:00
David Bomba
96750d5fdb Refactor for payments via client portal 2020-10-13 21:32:15 +11:00
David Bomba
d89b4fcbc3 Refactor for gateway fee calculations 2020-10-12 22:25:27 +11:00
David Bomba
65a1f150d5 Fixes for tests 2020-10-12 20:38:55 +11:00
David Bomba
f063337ec4 Refactoring gateway fees and limits 2020-10-12 15:58:07 +11:00
David Bomba
046805995a Recalculating gateway fees depending on gateway type 2020-10-12 15:30:53 +11:00
David Bomba
c8770f09ca Refactor for determining gateway fees 2020-10-12 15:10:34 +11:00
David Bomba
c8a9997a98 fix return type in AddGatewayFee 2020-10-12 10:27:38 +11:00
David Bomba
b6bea31646 Working on gateway fee slippage 2020-10-10 21:57:28 +11:00
David Bomba
407304d3c6 Console commands for small test data batches 2020-10-10 14:32:10 +11:00
David Bomba
cf7ee6338e Working on templates 2020-10-09 12:59:59 +11:00
David Bomba
d2d6262941 Testing Autobill 2020-10-08 14:31:02 +11:00