1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-20 16:31:33 +02:00
Commit Graph

661 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
David Bomba
ff783804ff Working on mail drivers 2022-06-24 13:15:56 +10:00
David Bomba
ade8b24031 Laravel 9 2022-06-23 09:24:56 +10:00
Shift
0a20889916
Convert optional() to nullsafe operator 2022-06-21 09:59:25 +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
0f32e43fb6 Accept listener 2022-06-15 16:27:21 +10:00
David Bomba
90bff41600 Purchase Order Emails 2022-06-10 17:04:16 +10:00
David Bomba
f9685035cd Fixes for purchase orders 2022-06-05 19:41:19 +10:00
David Bomba
4a2ecdb6a7 Update Purchase Order Scaffold 2022-06-05 19:22:58 +10:00
Nikola Cirkovic
4e4420dd32 INA-6 |Added purchase order number counter 2022-06-05 05:59:33 +02:00
David Bomba
720e42e35e Purchase order scaffold 2022-05-31 08:28:32 +10:00
David Bomba
56e83f6e6c Fixes for schedule form validation 2022-05-29 16:43:07 +10:00
David Bomba
a6fea388ad Enable page numbering logic 2022-05-26 11:13:46 +10:00
David Bomba
b6f48c0d8c Page numbering for PDFs 2022-05-25 22:00:17 +10:00
David Bomba
a2977ef1ad minor fixes for self updater 2022-05-25 20:53:12 +10:00
David Bomba
51455cacef Page numbering for PDFs 2022-05-25 16:34:43 +10:00
David Bomba
bdb08bf93a Page numbering trait 2022-05-25 11:49:27 +10:00
David Bomba
36f8dddc4d Page numbering with TCPDF 2022-05-25 11:00:20 +10:00
=
b29831f8a4 Fixes for failed payment email 2022-05-17 11:18:34 +10:00
=
c7a9e2bac7 Fixes for generates counter 2022-05-03 09:33:18 +10:00
=
d7d3c8d591 Fixes for generates counter 2022-05-02 12:50:55 +10:00
=
6709e5bbc4 Fixes for localizing dates for reset counter 2022-05-02 08:20:54 +10:00
David Bomba
6f491dfb92 Update Copyright text 2022-04-27 13:20:41 +10:00
David Bomba
e521718605 New Schema Dump 2022-04-26 16:53:41 +10:00
David Bomba
70c5f268ed Fixes for type checks 2022-04-21 16:04:59 +10:00
David Bomba
ebc498a815 Type checking 2022-04-21 12:07:08 +10:00
David Bomba
cfd9ed4875 Fixes for types in settings 2022-04-18 23:10:43 +10:00
David Bomba
0d5ee8269d Fixes for client tests 2022-04-18 21:02:06 +10:00
David Bomba
fabf8e0bae Query lazy loading imrpovements 2022-04-11 17:45:37 +10:00
David Bomba
912d0aebc5 Do not send notifications to archived/deleted users 2022-04-07 08:52:10 +10:00
David Bomba
9722289796 Fixes for coercing types for react UI 2022-04-03 19:39:55 +10:00
David Bomba
eec5e47302 Fixes for translations corrupting client savings 2022-04-01 15:13:46 +11:00
David Bomba
3eee79d9b3 Fixes for migration validation 2022-03-28 12:46:38 +11:00
David Bomba
3ada7f9997 Convert shared quote/invoice counters 2022-03-25 17:12:49 +11:00
David Bomba
ea30be3a51 Fixes for company settings saver 2022-03-25 08:25:06 +11:00
David Bomba
130803efd6 Attempt to cast floats immediately in settings saver 2022-03-23 21:06:47 +11:00
David Bomba
f4f0290451 Fixes for testing for float 2022-03-23 17:37:39 +11:00
David Bomba
1440a1291a Fixes for spaces in designs 2022-03-16 18:50:34 +11:00
David Bomba
f1da2bebce Hide values with 0 in the invoice table 2022-03-14 10:30:38 +11:00
David Bomba
f2932c0354 Allow file key for uploads 2022-03-09 20:39:32 +11:00
David Bomba
e964ff8137 Improve resolution of invitations 2022-02-27 18:33:29 +11:00
David Bomba
9311882c23 Add unsubscribe links to emails 2022-02-25 13:55:32 +11:00
David Bomba
68f735d43b Fixes for trailing zeros in quantity column 2022-02-13 18:54:33 +11:00
David Bomba
42069e82e9 Fixes for quantity regression 2022-02-08 19:58:21 +11:00
David Bomba
4769204a3f Fixes for rounding display on line items 2022-01-30 13:51:30 +11:00
David Bomba
8cff663d52 Minor fixes for counter reset 2022-01-19 14:11:08 +11:00
David Bomba
7677cd07a4 Fixes for reset counter 2022-01-19 10:03:41 +11:00
David Bomba
e844abf27d Fixes for client store request 2022-01-14 21:24:20 +11:00
David Bomba
848cb6ae4c Do not translate date if none is present 2022-01-12 17:55:12 +11:00
David Bomba
239b180a21 Fixes for pdf regeneration 2022-01-10 12:47:16 +11:00
David Bomba
386131f618 minor fixes for settings saver 2022-01-10 07:33:11 +11:00
David Bomba
16a158e251 Rollback precision 2022-01-10 06:14:56 +11:00
David Bomba
f6f9bccdb4 Increased precision for unit cost 2022-01-08 20:16:21 +11:00
David Bomba
e9d9b8a137 Tests for apple pay 2022-01-06 10:19:31 +11:00
David Bomba
a1366c0cce Fixes for UBL creation 2021-12-27 09:05:00 +11:00
David Bomba
c76cb3eb7c Delay events slightly to prevent race conditions 2021-12-17 18:57:26 +11:00
David Bomba
f3d91c4414 Allow custom client numbering for projects 2021-12-08 12:54:19 +11:00
David Bomba
08963d7cd6 Fixes for types in user notifies 2021-11-28 15:05:59 +11:00
David Bomba
7376702748 minor fixes 2021-11-27 20:25:27 +11:00
David Bomba
08d2250ca8 Fixes for notifications 2021-11-27 20:24:31 +11:00
David Bomba
94fa01091d Fixes for user notifications 2021-11-27 19:59:55 +11:00
David Bomba
dc1fe692a3 Adjustments for entity notifications 2021-11-27 15:54:49 +11:00
David Bomba
706e8cf240 logging for user notiifcations 2021-11-27 12:03:53 +11:00
David Bomba
9086b224ce Fixes for payment failure mailers 2021-11-26 16:33:49 +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
3cf2a28b49 Fixes for invitations 2021-10-14 18:03:03 +11:00
David Bomba
0cfe5bc39a Refactor invitations 2021-10-14 16:25:09 +11:00
David Bomba
543288c525 Refactor PDF generation into common .env var 2021-10-11 13:19:38 +11:00
David Bomba
eb7de25e64 payment links 2021-10-06 15:05:16 +11:00
David Bomba
9523927a8e Remove additional logging 2021-10-06 12:53:53 +11:00
David Bomba
aae78bce2a Fixes for gross line totals 2021-10-06 04:39:09 +11:00
David Bomba
e63d9828f1 Implement future migration refactor for v4 when we upgrade to L6 2021-09-29 21:06:42 +10:00
Benjamin Beganović
b14c8616cb Remove processReservedKeywords method 2021-09-21 18:19:06 +02:00
=
e1b052a843 Minor Fixes 2021-09-18 09:26:28 +10:00
=
6696d2ba36 Add recurring_expense property if it doesn't exist. 2021-09-18 08:10:44 +10:00
=
b6b4ca0267 minor fixes 2021-09-18 07:59:04 +10:00
David Bomba
dc790559e9 Merge branch 'v5-develop' into recurring_expenses 2021-09-15 10:16:24 +10:00
David Bomba
618027dcd8 Add gross line and subtotals 2021-09-15 10:00:29 +10:00
David Bomba
02de2607e0 Fixes for recurring expenses 2021-09-14 18:52:54 +10:00
David Bomba
32b0479101 Fixes for quantity number in line items 2021-09-06 15:37:52 +10:00
David Bomba
79ef62fefb Fixes for System Log Filter types 2021-09-06 13:07:11 +10:00
David Bomba
d575fac950 Fixes for edge cases when applying :MONTH in invoice pdfs 2021-09-06 11:48:08 +10:00
David Bomba
c72722ed05 Wrap all env vars in double quotes 2021-09-03 22:30:05 +10:00
David Bomba
10ad4b6248 v5.3.5 2021-09-02 17:51:54 +10:00
David Bomba
003f326f8d WePay ACH / Credit card Token billing 2021-08-30 13:20:29 +10:00
David Bomba
06157e95a6 Recurring Quotes Tests 2021-08-24 15:32:22 +10:00
David Bomba
a0f6afec0f Stubs for Recurring Expenses 2021-08-23 09:38:55 +10:00
=
f315ebd715 Fixes for tests 2021-08-21 16:24:00 +10:00
David Bomba
c3f05d5c8c Handle company logo not present failure 2021-08-21 14:57:31 +10:00
David Bomba
d768c334cb Fixes for line items 2021-08-17 18:45:00 +10:00
David Bomba
9ec7a48eae Force line items to have a default type_id 2021-08-17 15:35:26 +10:00
Benjamin Beganović
8bacd14d91 :WEEK_AHEAD notation 2021-08-06 14:07:07 +02:00
Benjamin Beganović
d10ffefd7e :WEEK_BEFORE notation 2021-08-06 14:04:46 +02:00
Benjamin Beganović
baa16f6adb :WEEK notation 2021-08-06 14:02:23 +02:00
David Bomba
176fb66391 Tweak email delays 2021-07-24 11:34:09 +10:00
David Bomba
ce696f7950
Merge pull request #6311 from turbo124/v5-develop
Fixes for reminders
2021-07-22 18:33:51 +10:00
David Bomba
5f5a33bac9 Fixes for Notifications 2021-07-22 18:33:25 +10:00
David Bomba
c6ed151813 Fixes for ACH 2021-07-22 08:44:03 +10:00
Benjamin Beganović
ff5769ef78 Allow type_id=5 for invoice items 2021-07-21 15:07:01 +02:00
David Bomba
a4c1829257 Fixes for shared counterS 2021-07-16 23:33:53 +10:00
David Bomba
4555859936 Fixes for shared counterS 2021-07-16 23:10:27 +10:00
David Bomba
72a6dd8f4c Cache timezones and languages 2021-07-10 11:40:27 +10:00
Will G
a0520f38d0 Added ability to set arguments sent to Snappdf 2021-07-06 20:47:50 -04:00
David Bomba
39db18f532 adjustment for string methods 2021-07-04 16:37:31 +10:00
David Bomba
16ee6d0f6e Minor fixes for tests 2021-07-03 13:47:15 +10:00
Benjamin Beganović
a60807b274 Localization support for range dates (MONTH+1) 2021-06-25 08:21:04 +02:00
David Bomba
7e6e1d3de0 Backward compatiblity for custom counters 2021-06-23 22:55:01 +10:00
David Bomba
36f6cbbcc9 Update license in codebase 2021-06-16 16:58:16 +10:00
David Bomba
a5054f87a5 Fixes for endless reminders 2021-06-10 11:15:21 +10:00
David Bomba
e17ff7dbfd Fix for regression in Handler.php 2021-06-04 08:30:21 +10:00
David Bomba
e97b6f00ed Fix for regression in Handler.php 2021-06-04 08:23:42 +10:00
David Bomba
c77660495c Fixes for subscriptions 2021-06-04 08:16:18 +10:00
David Bomba
e254a9ad73 Refactor reminders 2021-05-26 10:35:39 +10:00
David Bomba
f42de7f949 Tests for reminders 2021-05-26 09:43:23 +10:00
David Bomba
9d21b4fd57 Refactor LoginController 2021-05-23 18:43:50 +10:00
David Bomba
9773e4808d Fixes for URLs 2021-05-17 20:16:30 +10:00
David Bomba
7808b4c30d Fixes for created_at dates in migration 2021-05-10 09:52:58 +10:00
David Bomba
92bcc0946b
Merge pull request #5635 from turbo124/v5-develop
Add activities to entities
2021-05-07 08:32:44 +10:00
David Bomba
85c05f7c30 Fixes for VarEvents 2021-05-07 07:12:07 +10:00
Benjamin Beganović
5f14c0a541 Fixing the 500 when using negative taxes 2021-05-06 12:46:02 +02:00
David Bomba
e7526cb4dc Fixes for reset of counters 2021-05-05 10:58:18 +10:00
David Bomba
83da701646 Fixes for company domain 2021-04-28 13:58:37 +10:00
David Bomba
300cc9fb9e Fixes for Checkout.com 2021-04-22 23:32:34 +10:00
David Bomba
d892e0b6ed Fixes for counter 2021-04-21 19:57:59 +10:00
David Bomba
25fe52ab18 Add portal_url variable 2021-04-19 11:19:00 +10:00
David Bomba
aabe5683e1 Refactoring subscriptions 2021-04-14 14:41:04 +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
477aa691a9 Add custom exceptions 2021-04-12 14:36:51 +10:00
David Bomba
7372aecb1a Remove logging 2021-04-10 12:15:37 +10:00
David Bomba
1696c63ba4 fixes for endless recursion 2021-04-10 12:01:36 +10:00
David Bomba
d9d042724e Add daily reset 2021-04-08 20:38:31 +10:00
David Bomba
c1b6e2043e Fixes for subscriptions 2021-04-07 21:05:09 +10:00
David Bomba
3a3ddc031c Working on subscriptions 2021-04-07 18:06:50 +10:00
David Bomba
fac1eebd2c PHP 8.0 suppotr 2021-04-06 10:43:56 +10:00
Benjamin Beganović
2cd3ceed2e Allow expenses to be part of products table 2021-04-05 14:21:49 +02:00
David Bomba
9c4a223923 Fixes for notification gates 2021-03-31 13:28:03 +11:00
Benjamin Beganović
eb0aed513f wip 2021-03-30 14:44:33 +02:00
David Bomba
cb7f27462b
Client subscriptions + bug fixes (#5238)
* 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
2021-03-24 20:14:30 +11:00
=
3d375e4148 Workig on client subscriptions 2021-03-23 23:17:28 +11:00
=
5b290b1770 Small fix for usernotifies 2021-03-21 08:57:11 +11:00
David Bomba
f00c1f95c0 Add new counter settings 2021-03-17 21:06:08 +11:00
David Bomba
c95e0c3d7e Tuning company settings for missing properties 2021-03-17 20:28:44 +11:00
David Bomba
059cec705d Small fix for user notifications 2021-03-17 11:13:29 +11:00
David Bomba
db03dccbaf Limit reminders for free plans 2021-03-17 08:15:43 +11:00
=
487cf555b9 Fix for displaying logo 2021-03-13 16:56:52 +11:00
Benjamin Beganović
b88533d3d2 Catch possible invalid format exception & return "Invalid date!" 2021-03-10 16:56:17 +01:00
=
b57d4bfb7c Fixes for recurring invoice number not being prefixed 2021-03-02 21:57:14 +11:00
Benjamin Beganović
441db23414 Format quantity output using formatValue() 2021-02-26 07:05:44 +01:00
Benjamin Beganović
c074aa9aca
Merge pull request #4790 from beganovich/v5-2701-dynamic-dates-for-recurring
(v5) PDF: Support for dynamic keywords in items description
2021-02-25 12:01:04 +01:00
Benjamin Beganović
81dfb25f5f Use translated format of months based on locale 2021-02-25 12:00:01 +01:00
David Bomba
90b33ef063 clean up 2021-02-24 11:48:32 +11:00
Benjamin Beganović
7319d073c8 wip 2021-02-23 14:56:16 +01:00
David Bomba
62feba5a51 Localizing Dates 2021-02-23 21:04:39 +11:00
Benjamin Beganović
b22825bf17 wip 2021-02-22 17:01:01 +01:00
Benjamin Beganović
8e3875da96 Merge remote-tracking branch 'upstream/v5-develop' into v5-2701-dynamic-dates-for-recurring 2021-02-22 13:15:37 +01:00
David Bomba
c0d49fff40 Fixes for casts 2021-02-22 21:35:00 +11:00
David Bomba
84d3ca8738 Fixes for casts 2021-02-22 21:30:28 +11:00
=
633210e281 Fixes for PHP 8 2021-02-20 21:51:33 +11:00
David Bomba
5ad5606ea2 Request cancellation notification refactor 2021-02-15 09:12:14 +11:00
David Bomba
2b31b3bd8c Notification types 2021-02-15 08:32:59 +11:00
David Bomba
fc79835ed6
Merge pull request #4825 from turbo124/v5-develop
Working on migrations.
2021-02-03 23:30:31 +11:00
David Bomba
2e2843c27d Fixes for migrations 2021-02-03 23:29:44 +11:00
Benjamin Beganović
9e08ce7415 escape hash 2021-02-02 14:52:21 +01:00
David Bomba
58970fab99 payment failure emails 2021-02-01 23:41:11 +11:00
David Bomba
2ab99e8132 AutoBilling failure mailer 2021-02-01 22:26:42 +11:00
David Bomba
c14d34350f Working on payment failure emails 2021-02-01 16:30:28 +11:00
David Bomba
af472b21c1 Working on filtering responses based on user permissions 2021-01-29 23:05:03 +11:00
David Bomba
e213203ed9 Fixes for generates counteR" 2021-01-29 18:36:22 +11:00
David Bomba
dbfee7d519 Refactor for invoice number generator 2021-01-29 16:41:19 +11:00
David Bomba
e669718adb Fixes for client counter across entities 2021-01-29 13:18:21 +11:00
Benjamin Beganović
6d77cce1a9 wip 2021-01-28 15:18:18 +01:00
Benjamin Beganović
76a327bb01 wip 2021-01-27 18:01:47 +01:00
David Bomba
6540a25531 Refactor client numbering 2021-01-25 21:34:12 +11:00
David Bomba
3d468e5f40 Company Gateway cleanup 2021-01-22 07:45:00 +11:00
David Bomba
95e5b89641 fixes for validation of line_items 2021-01-14 08:16:07 +11:00
David Bomba
b5807d8d9c Fixes for document upload from company 2021-01-13 21:18:39 +11:00
David Bomba
b0c5cb3f46 Fix for DateTime 2021-01-12 18:40:18 +11:00
David Bomba
6222a1386c Fixes for timezones 2021-01-12 18:38:16 +11:00
David Bomba
fe457537b6 Change the way company logos are stored in the settings 2021-01-11 19:27:11 +11:00
David Bomba
d26d26fccf Fixes for client counteR 2021-01-10 21:45:02 +11:00
David Bomba
aae2f1d198 Add .datetime variable for invoice designs 2021-01-08 13:15:55 +11:00
David Bomba
e42cb6f4d3 display tax rates with no trailing precision 2021-01-07 09:43:08 +11:00
Benjamin Beganović
603f7baa58 apply php-cs-fixeR 2021-01-04 13:38:00 +01:00
David Bomba
934610a01c Update copyright + version bump + set canadian dollar symbol to $ 2021-01-04 08:54:54 +11:00
=
0f70579b72 Fixes for client_id_number placeholder for generatescounter 2021-01-02 09:32:58 +11:00
Benjamin Beganović
6f7ec1c188
Merge pull request #4574 from beganovich/v5-makeCustomField-refactor
(v5) Refactor methods for custom fields
2020-12-25 17:19:02 +01:00
Benjamin Beganović
9f58ccb028 Add support for custom Chromium path (ie. support for Windows & Mac) 2020-12-25 14:15:57 +01:00
Benjamin Beganović
f3f76e9644 remove duplicate methods 2020-12-25 12:30:40 +01:00
Benjamin Beganović
83ec60cf70 Remove unused makeCustomFieldKeyValuePair() method 2020-12-25 12:25:28 +01:00
Benjamin Beganović
972099d89f fix product key 2020-12-23 15:51:29 +01:00
Benjamin Beganović
f98627e47f Rename product.product_key to product.item 2020-12-23 14:25:12 +01:00
Benjamin Beganović
ada4f3065c fixes for tests 2020-12-23 11:41:57 +01:00
Benjamin Beganović
a907933d57 transformlineitems -> switch 2020-12-23 11:17:14 +01:00
Benjamin Beganović
3b4c2ba5b0 add $custom_value in makeinvoicevalues 2020-12-22 13:55:29 +01:00
Benjamin Beganović
95c1f60674 Install beganovich/snappdf package 2020-12-21 16:32:04 +01:00
David Bomba
caa30da38d Ignore HTTPS errors in browsershop 2020-12-21 10:11:33 +11:00
David Bomba
ccde0eaced Working on importing CSV Invoices 2020-12-20 18:02:58 +11:00
David Bomba
df30f0cbc5 Fixes for github actions 2020-12-18 11:31:27 +11:00
Benjamin Beganović
20c010448a apply php-cs-fixer 2020-12-16 12:52:40 +01:00