1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 05:02:36 +01:00
Commit Graph

11805 Commits

Author SHA1 Message Date
David Bomba
e4377f3378 Fixes for carbon types 2024-06-24 21:10:52 +10:00
thirstyice
e694fe44c9 Set .name consistently 2024-06-24 03:24:40 -06:00
David Bomba
6f5daf6f2a Rate limit invoice deletion 2024-06-24 17:37:08 +10:00
David Bomba
5db3eb3d53 Add stubbed referal object 2024-06-24 11:17:46 +10:00
David Bomba
6ceef3695d Fixes for quote reminder dates 2024-06-24 10:22:16 +10:00
David Bomba
ffaf5259e6 Tests for quote reminders 2024-06-24 09:52:35 +10:00
thirstyice
1575974099
Make $project.name defined as empty for invoices with no project
Allows inclusion of $project.name in emails without needing a special case for invoices with no project

Signed-off-by: thirstyice <thirstyice@users.noreply.github.com>
2024-06-23 17:03:46 -06:00
David Bomba
64f3af9c31 Additional column checks prior to export queries 2024-06-24 07:56:13 +10:00
David Bomba
06233240ce Updates for harvesting fee invoice 2024-06-23 16:11:13 +10:00
David Bomba
3ec604919e Add index to fee_invoice_id 2024-06-23 14:04:43 +10:00
David Bomba
cf2fc80f06 Ensure all carbon mutator types are cast appropriately 2024-06-22 21:05:18 +10:00
David Bomba
18e0ced89c minor fixes 2024-06-22 20:58:17 +10:00
David Bomba
540dd2f43e minor fixes 2024-06-22 20:33:53 +10:00
David Bomba
6138f11ece Fixes for tests 2024-06-22 15:05:11 +10:00
David Bomba
1cfb2a0ad1 Fixes for tests 2024-06-22 14:53:45 +10:00
David Bomba
de79eaa409
Merge branch 'v5-develop' into v5-develop
Signed-off-by: David Bomba <turbo124@gmail.com>
2024-06-22 14:02:11 +10:00
David Bomba
6b7876967e
Merge branch 'v5-develop' into laravel11
Signed-off-by: David Bomba <turbo124@gmail.com>
2024-06-22 14:00:26 +10:00
David Bomba
0ed2520c92
Merge pull request #9635 from LarsK1/v5-develop
Feature: E-Invoice Import
2024-06-22 13:54:06 +10:00
David Bomba
104ad33042 Fixes for tests 2024-06-22 13:00:33 +10:00
David Bomba
79b93f75bb Fixes for tests 2024-06-22 12:48:43 +10:00
David Bomba
2a97787ddb Fixes for testse 2024-06-22 12:39:46 +10:00
David Bomba
83e3147462 updates for type casting 2024-06-22 09:38:09 +10:00
David Bomba
ba7651cdae Fixes for tests 2024-06-21 19:51:04 +10:00
David Bomba
4855276794 Working on quote reminders 2024-06-21 19:40:56 +10:00
David Bomba
2d87131627 Fixes for project name label 2024-06-21 14:16:21 +10:00
David Bomba
50f13eca5a minor clean up 2024-06-21 14:09:25 +10:00
David Bomba
a65d0d5067 Remove cache warmers 2024-06-21 10:56:18 +10:00
David Bomba
698a376de3 remove cache build steps 2024-06-21 10:29:38 +10:00
David Bomba
3ab899f58e Validation for task rate 2024-06-21 07:37:46 +10:00
David Bomba
957556b8d0 Validation for task rate 2024-06-20 22:03:23 +10:00
David Bomba
897d31f89a updates for matching payments 2024-06-20 14:28:33 +10:00
David Bomba
bd94f7bb65 Working on credit rules for bank transactions 2024-06-19 18:18:05 +10:00
David Bomba
0bca8b6074 Fixes for tests 2024-06-19 15:42:06 +10:00
David Bomba
d8a753055a Fixes for tongan paanga 2024-06-19 14:57:40 +10:00
David Bomba
45b43094b0 Notify user on assignment of task 2024-06-19 13:57:50 +10:00
David Bomba
cb9e40d442 Referral Meta 2024-06-19 12:45:42 +10:00
David Bomba
cbfb312e0f public/build/assets/stripe-credit-card-75322a3b.js 2024-06-19 11:42:14 +10:00
David Bomba
bc6df79e2b Validation layer for einvoicing 2024-06-19 11:31:03 +10:00
David Bomba
0c60a11989 Search filters for recurring invoices 2024-06-19 09:09:44 +10:00
David Bomba
c388a1b3e7 Fixes for generated numbers 2024-06-19 07:41:43 +10:00
David Bomba
0912e39759 Fixes for scoping bank refreshes 2024-06-19 07:26:44 +10:00
Benjamin Beganović
abc57ed625 Merge remote-tracking branch 'upstream/v5-develop' into laravel11 2024-06-18 13:06:41 +02:00
David Bomba
64e724f215 V5.9.9 2024-06-18 20:37:57 +10:00
Lars Kusch
a33c3832e9 Bugfixes 2024-06-18 08:19:49 +02:00
Lars Kusch
61570cea93 Implement E-Invoice Import as Expense 2024-06-18 08:19:45 +02:00
David Bomba
26d376d070 v5.9.8 2024-06-18 16:11:24 +10:00
David Bomba
b5508f702d Purge laravel-data 2024-06-18 15:12:45 +10:00
David Bomba
932a0d3f57 Handle github actions quirks 2024-06-18 15:04:16 +10:00
David Bomba
e8f26ddbb2 Fixes for tests 2024-06-18 13:57:09 +10:00
David Bomba
13b557a4e7 Fixes for tests 2024-06-18 13:47:27 +10:00
David Bomba
c3c4058f0a Logging for tests 2024-06-18 13:37:54 +10:00
David Bomba
e349245c45 Fixes for tests 2024-06-18 12:57:15 +10:00
David Bomba
cb0385dd39 Fixes for tests 2024-06-18 11:59:05 +10:00
David Bomba
7623246424 Add limiting exception 2024-06-18 11:33:56 +10:00
David Bomba
24a662f920 Rate limit new payments 2024-06-18 11:24:55 +10:00
David Bomba
6b0a25453d Static Analysis 2024-06-18 10:49:51 +10:00
David Bomba
dfdfc41fee Static Analysis 2024-06-18 10:25:56 +10:00
David Bomba
006e819f3a Refactor for cache statics moving to container 2024-06-18 10:24:03 +10:00
David Bomba
f68d1d3053 Static Analysis 2024-06-18 09:41:22 +10:00
David Bomba
957ddb2a81 Fixes for wave imports 2024-06-18 09:36:22 +10:00
David Bomba
f03c6a1d6b Roll back for idempotency 2024-06-17 21:29:31 +10:00
David Bomba
c163f3c1a4 Static Analysis 2024-06-17 20:38:33 +10:00
David Bomba
97049f36a9 Fixes for includes 2024-06-17 16:34:26 +10:00
David Bomba
13405c1805 Static Analysis + ACSS 2024-06-17 16:08:06 +10:00
David Bomba
11e082d443 Fixes for credits 2024-06-17 13:45:24 +10:00
David Bomba
742b49c75a Fixes for subscription cron query 2024-06-17 10:14:04 +10:00
David Bomba
38114d0c48 Minor fixes - add referral code to user transformer 2024-06-16 19:16:42 +10:00
David Bomba
1e0f250052 Fixes for paypal auth credentials 2024-06-16 17:22:15 +10:00
David Bomba
d2d436da8f Fixes for redirect after auth in cp 2024-06-16 16:28:44 +10:00
David Bomba
3a4f47c1a9 Static Analysis 2024-06-16 14:58:03 +10:00
David Bomba
52752a8f09 Static Analysis 2024-06-16 14:35:56 +10:00
David Bomba
78333e332f Minor fixes: 2024-06-16 10:33:18 +10:00
David Bomba
9935847dc3 Static Analysis 2024-06-16 08:30:25 +10:00
David Bomba
109d5cfdca Static analysis 2024-06-15 17:34:08 +10:00
David Bomba
953e2e3e48 Improve queries 2024-06-15 16:51:34 +10:00
David Bomba
094d43be4f Improve N+1 queries 2024-06-15 16:18:33 +10:00
David Bomba
61f09e1ad4 code comments 2024-06-15 10:03:25 +10:00
David Bomba
4371c080f6 Fixes for payment ledger when credits are applied 2024-06-14 18:38:26 +10:00
David Bomba
f79f31c89e Clean up for paypal 2024-06-14 17:32:07 +10:00
David Bomba
72aadc0c16 php-cs-fixer 2024-06-14 17:09:44 +10:00
David Bomba
9c288cd452 remove paypal user-id 2024-06-14 17:07:52 +10:00
David Bomba
3350685ade Expose nordigen_transaction_id in transformer 2024-06-14 14:33:38 +10:00
David Bomba
ef388a0c77 Filters for bank accounts 2024-06-14 14:31:26 +10:00
David Bomba
50398360b9 Paypal 2024-06-13 19:59:29 +10:00
David Bomba
d23866932b Fixes for text body templates 2024-06-13 16:52:23 +10:00
David Bomba
de853b3445 Fixes for tests 2024-06-13 10:55:03 +10:00
David Bomba
0edfc0d850 Fixes for tests 2024-06-13 10:54:43 +10:00
David Bomba
10b64ffa65 Merge branch 'v5-develop' of https://github.com/turbo124/invoiceninja into v5-develop 2024-06-13 10:22:11 +10:00
David Bomba
4e46511a8a meta analytics 2024-06-13 10:21:58 +10:00
David Bomba
fb3334096b Fixes for tasks when rounding down 2024-06-12 14:52:26 +10:00
David Bomba
0877bdb6ea Minor fixes for expense export preview props 2024-06-12 08:32:26 +10:00
David Bomba
6972d4d4b0 Allow parameter passing to pre-payments 2024-06-12 08:30:22 +10:00
David Bomba
1e7b8e9111 Fixes for stale invoice cleanup 2024-06-11 09:44:31 +10:00
David Bomba
78d465daea Return early on paid invoices if gateway fee is already paid 2024-06-11 09:38:06 +10:00
David Bomba
5937414ad3 Add twig linting 2024-06-11 08:52:56 +10:00
David Bomba
2b8f96d208 Merge PDFs if embed documents is enabled 2024-06-11 08:14:21 +10:00
David Bomba
32744d3fa8 minor fixes 2024-06-11 07:22:04 +10:00
David Bomba
f7bd62d84a Static Analysis 2024-06-09 15:56:05 +10:00
David Bomba
cf35c30bfc Fixes for task filters 2024-06-09 14:07:56 +10:00
David Bomba
d6337b69b3 Fixes for caps 2024-06-09 13:43:35 +10:00
David Bomba
99e05cbe63 Fixes for html variable replacements in mobile html view 2024-06-09 10:53:53 +10:00
David Bomba
145fef637b Updates for seeders 2024-06-09 09:08:31 +10:00
David Bomba
b70f01fff2 Updates for openapi 2024-06-08 09:13:47 +10:00
Nisaba
665e1eabfa
BTCPay updates
Signed-off-by: Nisaba <34550856+Nisaba@users.noreply.github.com>
2024-06-07 11:30:11 +00:00
David Bomba
fb24255813 Fixes for reminders 2024-06-07 20:31:48 +10:00
David Bomba
63e2280228 peppol 2024-06-07 16:11:44 +10:00
David Bomba
de874a21cd Peppol tests 2024-06-07 14:09:02 +10:00
David Bomba
49e5b09d90 peppol 2024-06-07 12:05:26 +10:00
David Bomba
56ad60afb0 Refactors for einvoicing 2024-06-07 11:21:50 +10:00
David Bomba
cdde25baf7 Static Analysis 2024-06-07 10:32:10 +10:00
David Bomba
d4feca33ab Fixes for diffindays with Carbon v3 2024-06-07 09:15:19 +10:00
David Bomba
9a5b1e4292 Ensure credit payments auto archive if configured 2024-06-07 07:41:46 +10:00
David Bomba
f4aae330eb Current company route 2024-06-06 21:12:15 +10:00
David Bomba
a9c1357689 Add option to lock invoices at the end of the month - accrual accounting 2024-06-06 13:06:07 +10:00
David Bomba
0427f6c317 Fixes for static analysis 2024-06-06 12:31:24 +10:00
David Bomba
e61c2422ee updated resources 2024-06-06 11:17:34 +10:00
David Bomba
b805bba375 Fixes for type 2024-06-06 09:21:23 +10:00
David Bomba
86d7407ff7 only notify once 2024-06-06 08:17:17 +10:00
David Bomba
fe6d837123 move statics into container 2024-06-05 14:48:51 +10:00
David Bomba
836802764a Add product image to import 2024-06-05 11:16:36 +10:00
David Bomba
cb5530398f Fixes for live designs 2024-06-04 19:15:23 +10:00
David Bomba
560aa249b7 Updates for preview controller 2024-06-04 19:11:06 +10:00
David Bomba
2eecb564a8 Force a name 2024-06-04 15:14:28 +10:00
David Bomba
1f1593bd7a Update lock 2024-06-04 07:59:28 +10:00
David Bomba
8e22f3c469 Add signature IP to htmlengine 2024-06-04 07:53:55 +10:00
David Bomba
e331ff81a1 Merge branch 'v5-develop' of https://github.com/turbo124/invoiceninja into v5-develop 2024-06-04 07:42:37 +10:00
David Bomba
b054f57286 Updates for invoice service auto bill standard invoices 2024-06-04 07:42:11 +10:00
David Bomba
ef4319ab9c Fixes for missing timezones 2024-06-03 16:34:57 +10:00
David Bomba
630a163ecd fixes for typo 2024-06-03 10:19:37 +10:00
David Bomba
23b7c6667e Partial migration to singletons for static resources 2024-06-03 07:37:48 +10:00
David Bomba
fc091659ed Additional information for client presenter dropdown 2024-06-03 07:29:18 +10:00
David Bomba
2c404b4f73 Additions for shop api 2024-06-02 19:29:49 +10:00
David Bomba
6ce1ea9944 Migration for e_invoice 2024-06-02 18:37:56 +10:00
David Bomba
97d84795b5 Merge branch 'v5-develop' of https://github.com/turbo124/invoiceninja into v5-develop 2024-06-01 10:50:21 +10:00
David Bomba
9e500eda57 Minor fixes 2024-06-01 10:50:19 +10:00
David Bomba
c3ebdc8946 Stubs for static service 2024-06-01 09:35:58 +10:00
David Bomba
5a1f52941d
Merge branch 'v5-develop' into v5-develop
Signed-off-by: David Bomba <turbo124@gmail.com>
2024-06-01 08:56:06 +10:00
Dave Shoreman
6757edf5d1
Trim regional locales to two-letter country codes
GoCardless' Bank Account Data API requires two-letter ISO 639-1 country
codes. IN passes the full locale such as *en_GB* or *pt_BR*, which
causes an "unknown error" when selecting banks in Connect Accounts.

Note: Norwegian will use the Bokmål (`nb`) form over Nynorsk (`nn`).

Fixes #9566
2024-05-31 21:04:51 +01:00
David Bomba
96fb9dc943
Merge pull request #9567 from turbo124/v5-develop
Updated translations
2024-05-31 23:11:23 +10:00
David
7f33b51893 Updated translations 2024-05-31 23:06:10 +10:00
David Bomba
aa340d070c
Merge pull request #9558 from dshoreman/ds/preview-entity-numbers
"Real" entity numbers in Invoice Designer/Settings previews
2024-05-31 21:25:28 +10:00
David Bomba
86947b7627
Merge branch 'v5-develop' into v5-develop
Signed-off-by: David Bomba <turbo124@gmail.com>
2024-05-31 10:32:02 +10:00
Nisaba
5a5420603e
BTCPay : Improve refund
Signed-off-by: Nisaba <34550856+Nisaba@users.noreply.github.com>
2024-05-30 13:34:43 +00:00
Dave Shoreman
ed3d482d44
Fallback to original value just in case 2024-05-30 01:05:03 +01:00
Dave Shoreman
7cedc48b55
Fix $company[1..4] aliases for custom_values 2024-05-30 01:04:49 +01:00
David Bomba
7d98db8592 Remove redundant dependencies 2024-05-30 07:42:07 +10:00
Dave Shoreman
bd49aa1a15
Ensure correct pattern for non-invoice entities
A simple `in_array` check would work here, except there are a lot of
valid keys for the number pattern settings so it's easier this way.
2024-05-29 17:09:02 +01:00
Dave Shoreman
e1d08d34bf
Apply formatted numbers to design editor preview
If a custom Invoice Number Pattern is defined, this will update the mock
invoice with a formatted entity number, rather than the EAN13 from faker
in the invoice factory. This doesn't apply once a real invoice has been
created, but it can still be useful for designing during initial setup.
2024-05-29 15:07:42 +01:00
Dave Shoreman
9195addb37
"Real" entity numbers in Invoice Settings preview
This refactors the GeneratesCounter trait slightly, such that arbitrary
entity numbers can be formatted according to the given padding/pattern.

With that small abstraction we can use the trait in the PdfMock instance
to show the exmple entity number using real patterns without actually
incrementing it or checking the number is available in the database.
2024-05-29 15:00:02 +01:00
David Bomba
4645e00b05 Fixes for tests 2024-05-29 23:35:56 +10:00
David Bomba
4852a134da Adjustments for tests 2024-05-29 23:19:03 +10:00
David Bomba
743ff50b82 Tests for tests 2024-05-29 23:16:59 +10:00
David Bomba
31610560a7 Fixes for tests 2024-05-29 23:09:45 +10:00
David Bomba
64767924e9 Fixes for tests 2024-05-29 22:25:36 +10:00
David Bomba
822ba038a0 Fixes for converting matched payment transactions 2024-05-29 13:10:50 +10:00
David Bomba
f8316f879a Refactor to support include deleted record logic for exports 2024-05-29 09:05:42 +10:00
Dave Shoreman
e568076ad0
Update date/total labels in entity details table 2024-05-28 22:43:40 +01:00
Dave Shoreman
2a11fa994b
Fix $company.customX on Invoice Settings preview
When fetched without going through the settings object, all these values
were null, thus displaying nothing when used in custom invoice designs.
2024-05-28 20:21:46 +01:00
Dave Shoreman
0782fa3c6d
Set 'issued to' label based on entity type string 2024-05-28 13:10:41 +01:00
David Bomba
e967373f85 FatturaPA tests 2024-05-28 12:52:38 +10:00
David Bomba
70c8e67613 working on validation of fatturapa 2024-05-28 11:57:00 +10:00
David Bomba
541350a9d7 Adjustments for fact1 tests 2024-05-28 09:08:23 +10:00
David Bomba
73491f3507 roll back version 2024-05-27 22:01:27 +10:00
David Bomba
4ffe50fcee Add providers 2024-05-27 16:05:42 +10:00
David Bomba
6ac2ea1cf1 Missing currency translations 2024-05-27 15:58:02 +10:00
David Bomba
240494bd4a Fixes for tests 2024-05-27 09:57:48 +10:00
David Bomba
3fb923e971 Add back schema builder 2024-05-27 08:05:13 +10:00
David Bomba
3ce9ea62ec Updates for microsoft token harvest 2024-05-27 07:26:20 +10:00
David Bomba
aff180deef Add referral codes to user models 2024-05-27 07:13:56 +10:00
David Bomba
0692d8b0cc if institution_id passed into context, expose as prop in input. 2024-05-27 06:55:02 +10:00
David Bomba
5ed27fe747 Catches for incorrectly configured mail servers 2024-05-27 06:46:26 +10:00
David Bomba
9c7f1e888f Adjustments for GMail 429 handling 2024-05-26 10:18:11 +10:00
David Bomba
5123c9be6c
Merge pull request #9550 from turbo124/v5-develop
Update PayPal integration to support advanced cards
2024-05-26 09:01:53 +10:00
David Bomba
2f1648eb4e Refactor to remove laravel-data from application 2024-05-26 08:54:24 +10:00
David Bomba
1ef97ef2bb Updates for PHP version requirements 2024-05-26 07:57:05 +10:00
David Bomba
dd0e26122e Stubs for paypal imports 2024-05-24 17:42:16 +10:00
David Bomba
4dac7cdded Updates for storing paypal invoices 2024-05-24 17:27:33 +10:00
David Bomba
9180dc4478 Refactor for paypal implementation 2024-05-24 10:38:07 +10:00
David Bomba
673eaaf3e5 Fixes for i2g imports 2024-05-23 14:14:59 +10:00
David Bomba
88a1fa2fc5 Additional transaction checks 2024-05-23 09:44:33 +10:00
Yannick
fb9447e216
Update TransactionTransformer.php
I've changed the way base_type was defined by using the $amount field that was already defined before and made it use the float value to check below 0, so that small values like 0.01 also work.

Signed-off-by: Yannick <yannickdg99@gmail.com>
2024-05-23 00:44:46 +02:00
David Bomba
1c89b0f1a6 minor fixes 2024-05-22 15:54:08 +10:00
David Bomba
2aa2db55ba Add check for is_deleted on expense category column 2024-05-22 07:01:36 +10:00
David Bomba
755e5c7846 Fixes for tests 2024-05-21 12:46:58 +10:00
David Bomba
643f8a64c3
Merge pull request #9535 from turbo124/v5-develop
Updates for BTC payment driver
2024-05-21 11:59:51 +10:00
David Bomba
ff94e9881a
Merge pull request #9523 from LarsK1/v5-develop
Fixes for XInvoice
2024-05-21 11:58:56 +10:00
David Bomba
e01f100407 fixes for custom email templates 2024-05-21 11:40:12 +10:00
David Bomba
c166ef82ff Fixes for payment emails 2024-05-21 08:15:54 +10:00
Lars Kusch
3709039b08 Last fixes 2024-05-20 21:25:30 +02:00
David Bomba
5de8aeb372 Refactor e_invoice props 2024-05-20 17:00:34 +10:00
David Bomba
34820bc2ea Fixes for task start date 2024-05-20 16:05:02 +10:00
David Bomba
9d7bef3a94 PayPal Rest Driver updates 2024-05-20 13:14:50 +10:00
David Bomba
8dde7024fc extend paypal classes 2024-05-20 11:59:44 +10:00
David Bomba
91078eb6a1 Additional props for account/companies table 2024-05-20 08:31:28 +10:00
David Bomba
e8907beeab Updates for translations 2024-05-20 07:50:39 +10:00
David Bomba
fb9c3aca59 Capture additional metrics 2024-05-19 19:43:43 +10:00
David Bomba
aaae12e691 Capture additional metrics 2024-05-19 19:42:20 +10:00
David Bomba
a1fa52dfd3 Updates for BTC payment driver 2024-05-19 19:14:46 +10:00
David Bomba
8ca4d7c197
Merge pull request #9533 from turbo124/v5-develop
Updates for einvoicing schemas/models
2024-05-19 07:32:42 +10:00
David Bomba
e627c09ef0 Fact1 tests 2024-05-18 23:04:53 +10:00