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

588 Commits

Author SHA1 Message Date
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
Benjamin Beganović
ff1acba00c Add client relationship to CreditTransformer 2022-06-17 16:56:35 +02:00
David Bomba
5ce95010d5 Add switch to force react as front end 2022-06-16 13:04:05 +10:00
David Bomba
063d600bbd Vendor Portal - Purchase Orders 2022-06-14 22:18:20 +10:00
David Bomba
90bff41600 Purchase Order Emails 2022-06-10 17:04:16 +10:00
David Bomba
c285e26302 Ensure client contact id is being return in activity 2022-06-10 12:39:52 +10:00
David Bomba
e6e651b4b4 Event / Listeners for Purchase Orders 2022-06-09 13:33:13 +10:00
Benjamin Beganović
50c6ab270a Fixes for variable naming 2022-06-06 13:41:29 +02:00
Benjamin Beganović
810a38f25d Add client include for quotes 2022-06-06 13:38:14 +02:00
David Bomba
f2bfca648f
Merge pull request #7499 from CirkaN/Cirkovic/INA-6
Cirkovic/ina 6
2022-06-05 19:12:21 +10:00
Nikola Cirkovic
d085595774 INA-6 | Update transformer for purchase order 2022-06-05 05:55:24 +02:00
Nikola Cirkovic
e4c055059f INA-6 | Create PurchaseOrderInvitationTransformer 2022-06-05 04:41:24 +02:00
David Bomba
ec7f0117fc Fixes for product transformer 2022-06-04 08:48:52 +10:00
David Bomba
777d0a54d0 Merge branch 'inventory_management' into v5-develop 2022-06-03 20:50:29 +10:00
David Bomba
849a3f6b7c Adjust schema for inventory management 2022-06-03 20:50:19 +10:00
David Bomba
3bf56af37f Fixes for timezone issues with recurring entities 2022-06-02 13:49:29 +10:00
David Bomba
605d38f756
Merge pull request #7488 from CirkaN/Cirkovic/INA-5-refactor
Cirkovic/ina 5 refactor
2022-05-31 07:36:54 +10:00
Nikola Cirkovic
3c22a097b2 INA-5 | Update task scheduler transformer 2022-05-30 20:44:51 +02:00
Nikola Cirkovic
e7a96b6f31 INA-5 | Remove unused classes 2022-05-30 20:44:07 +02:00
Nikola Cirkovic
dc57d93902 INA-4 | Purchase Order Transformer 2022-05-29 04:08:30 +02:00
David Bomba
1e43e172a7 Actitivity output for React 2022-05-27 18:25:32 +10:00
David Bomba
92b5af5a39
Merge pull request #7456 from CirkaN/Cirkovic/INA-5
Cirkovic/INA-5 (Ninja task scheduler)
2022-05-27 12:05:47 +10:00
Nikola Cirkovic
b3e58d93dc INA-5 | TaskSchedulerTransformer updated to use archived_at 2022-05-26 04:29:57 +02:00
Nikola Cirkovic
b1795df3ec INA-5 | TaskSchedulerTransformer [License, typehints] 2022-05-25 23:26:38 +02:00
Nikola Cirkovic
384038d910 INA-5 | ScheduledJobTransformer [Licence, type hints] 2022-05-25 23:24:35 +02:00
Nikola Cirkovic
de4adadfae INA-5 | Use fractal 2022-05-25 00:06:42 +02:00
David Bomba
bb20f8324e Drop redundant column 2022-05-23 15:09:00 +10:00
David Bomba
8e3ccc83ad Fixes for displaying payment gateways where min_limit is enforced 2022-05-18 08:47:54 +10:00
David Bomba
14b5770a0a Set flags for recurring invoices and quote terms 2022-05-17 17:36:28 +10:00
=
90e60fb8fc Add is_hosted flag to accoun transformer 2022-05-02 07:51:39 +10:00
David Bomba
6f491dfb92 Update Copyright text 2022-04-27 13:20:41 +10:00
David Bomba
fabf8e0bae Query lazy loading imrpovements 2022-04-11 17:45:37 +10:00
David Bomba
d3a9fb9dd7 Add client to recurring invoice transformer 2022-04-08 08:09:20 +10:00
David Bomba
da22301bbc Company Transformer fixes 2022-03-29 19:09:46 +11:00
David Bomba
a0b22f5339 Fixes for company token resolution 2022-03-15 06:04:13 +11:00
David Bomba
3e039538b6 v5.3.68 2022-03-13 21:40:29 +11:00
David Bomba
83692ed618 refactor queries 2022-02-26 18:48:22 +11:00
David Bomba
dd2fba48cd Tests for adding vendors to quotes, credits and invoices 2022-02-08 21:39:59 +11:00
David Bomba
fd84e534d9 Add currency conversion column 2022-02-07 19:01:05 +11:00
David Bomba
0cffb3d227 Add hosted parameters 2022-01-28 10:06:07 +11:00
David Bomba
6b1a221fc3 Add recurring expenses to transformer 2022-01-14 21:55:01 +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
b0c6a4d5dd Calculate has_password 2021-11-19 20:37:28 +11:00
David Bomba
906f2b30a4 Logging for system logger 2021-11-11 05:54:59 +11:00
David Bomba
de4aaabcc9 Include quotes in observer 2021-10-08 20:51:55 +11:00
David Bomba
84d807f12e return blank strings for html_backup 2021-09-30 13:09:04 +10:00
David Bomba
f615b7801d Merge branch 'v5-develop' of https://github.com/turbo124/invoiceninja into v5-develop 2021-09-30 08:14:53 +10:00
David Bomba
4fdd709e99 Default client registration fields 2021-09-30 08:14:48 +10:00
David Bomba
a7a76e806c Minor fixes 2021-09-30 08:13:48 +10:00
David Bomba
43822fbfdd Return blank Backup object if none exists 2021-09-30 04:58:48 +10:00
David Bomba
0d44493e9c Return null for backups if none exist 2021-09-29 11:08:31 +10:00
David Bomba
88c4fe0147 Recurring expense send date calculations 2021-09-27 08:24:11 +10:00
David Bomba
7604bf28e6 Set nullable type for Backup 2021-09-26 20:46:49 +10:00
David Bomba
37aec1689d Selectively show recurring dates schedule 2021-09-22 20:29:02 +10:00
David Bomba
02de2607e0 Fixes for recurring expenses 2021-09-14 18:52:54 +10:00
=
42b3272920 Fixes for appends on tax_rates model 2021-09-10 21:40:49 +10:00
=
8f2f97a584 Add Tax Rates as default" 2021-09-10 17:13:07 +10:00
David Bomba
671bb2808b Minor fixes for recurring invoice loading 2021-09-07 17:46:23 +10:00
David Bomba
65bc26ab79 Start and Stop Recurring Expenses 2021-09-07 09:02:23 +10:00
David Bomba
5454c931e6 Fixes for history on activity transformer 2021-09-05 19:46:47 +10:00
David Bomba
ff130ae8a2 Hosted Migration Console Command 2021-09-05 19:40:50 +10:00
David Bomba
25d8b8b079 Fixes for eager loading 2021-09-05 14:03:21 +10:00
David Bomba
a17227f2ca Recurring Invoices query 2021-08-29 20:34:53 +10:00
=
d3c4e1080a Fixes for Recurring Expense Transformer 2021-08-27 20:45:09 +10:00
=
da2070af53 Fixes for Recurring Expense Transformer 2021-08-27 20:05:53 +10:00
David Bomba
41faffb09f Add field on company table 2021-08-25 19:41:03 +10:00
David Bomba
bab9f222ff Recurring Quotes Tests 2021-08-24 15:05:35 +10:00
David Bomba
ee855824db Recurring Quotes 2021-08-24 12:57:46 +10:00
David Bomba
a0f6afec0f Stubs for Recurring Expenses 2021-08-23 09:38:55 +10:00
David Bomba
c0158b8db6 Remove history as an available include 2021-08-22 16:48:41 +10:00
David Bomba
ec66efeb6f comma as decimal support 2021-08-19 08:12:39 +10:00
David Bomba
3727bafaa1 More logging for migrations 2021-08-10 11:40:58 +10:00
David Bomba
659b955862 Make markdown support in invoices optional 2021-08-08 08:27:53 +10:00
=
5a198af0d1 Mark designs as free 2021-07-18 20:10:55 +10:00
David Bomba
021761d33d Make navigating subscriptions easier 2021-06-27 19:20:56 +10:00
David Bomba
36f6cbbcc9 Update license in codebase 2021-06-16 16:58:16 +10:00
David Bomba
86be7c6690 add ninja_portal_url to company_user transformer 2021-06-11 14:16:21 +10:00
David Bomba
d68e40433c Fixes for client portal links 2021-06-08 21:45:23 +10:00
David Bomba
aa71bf9787 Fixes for transformers + import 2021-05-26 07:31:17 +10:00
David Bomba
bf812ad19e Add auto bill enabled to transformer 2021-05-21 22:08:56 +10:00
David Bomba
2fbe1698ae Minor fixes for subscription URL spec 2021-05-15 14:50:07 +10:00
David Bomba
364f7addb6 Fixes for subdomain resolution for MultiDB 2021-05-15 14:00:29 +10:00
David Bomba
6aa576a342 Add history as available include for recurring invoices 2021-05-12 18:37:03 +10:00
David Bomba
f3a56c8174 Add activities to entities 2021-05-07 07:41:37 +10:00
David Bomba
85c05f7c30 Fixes for VarEvents 2021-05-07 07:12:07 +10:00
David Bomba
2655ba679b Fixes for Task properties, drop column on company_user table 2021-05-05 09:53:35 +10:00
David Bomba
bbe301a903 fixes for null email_status 2021-05-03 14:55:37 +10:00
David Bomba
f9083ff490 Return string for email_status 2021-05-03 14:46:38 +10:00
David Bomba
9cb2fa4263 Add parameter to reduce query burden 2021-04-29 18:57:13 +10:00
David Bomba
d26ff60258 catch all for company_user.settings 2021-04-29 17:34:30 +10:00
David Bomba
e6c083cf29 Stripe Connect 2021-04-20 21:30:52 +10:00
David Bomba
b1e6325ef8 Fixes for tests 2021-04-06 08:19:27 +10:00
David Bomba
c814a754c3 Subscriptions 2021-04-05 08:37:01 +10:00
David Bomba
c3eb46d0b7 fixes for subscriptions 2021-04-02 09:09:01 +11:00
David Bomba
a2e0fd0849 Unique subscription nameS 2021-04-01 20:56:50 +11:00
David Bomba
1e83b729d5 Minor fixes for subscriptions 2021-04-01 20:33:50 +11:00
David Bomba
c78feb80e8 Fixes for payment mailer 2021-04-01 08:28:51 +11:00
David Bomba
404ee307fd Magic link maker 2021-03-31 11:07:54 +11:00
David Bomba
3183186d4d Working on subscriptions 2021-03-29 21:19:30 +11:00
David Bomba
d7bf927549 Set exchange rates on invoices 2021-03-29 13:14:55 +11:00
David Bomba
2c83abe432 Subscriptions 2021-03-27 07:28:56 +11:00
David Bomba
abd3a89bc9
Subscriptions (#5248)
* 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

* Add with trasheD

* Rename BillingSubscriptions to Subscriptions

* Refactoring subscriptions
2021-03-25 21:55:59 +11: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
David Bomba
cfdcf889ad Small type check fix 2021-03-22 17:46:59 +11:00
David Bomba
56b0452d2e Add oauth user token 2021-03-22 12:54:50 +11:00
Benjamin Beganović
eb2cfde303 Merge remote-tracking branch 'upstream/v5-develop' into v5-1103-billing-landing-page 2021-03-17 07:34:23 +01:00
David Bomba
5ef6afdc28 Limit attachment features on free plan 2021-03-17 08:08:23 +11:00
David Bomba
1e72f20c3d Fix for invite resend permission 2021-03-16 07:35:19 +11:00
Benjamin Beganović
3696b06566 Scaffold landing page for billing, controller & endpoint 2021-03-11 14:05:23 +01:00
David Bomba
00eefcd781 Client Subscription scaffolding 2021-03-10 11:08:58 +11:00
David Bomba
b91fcf1b34
Merge branch 'v5-develop' into billing_subscriptions 2021-03-10 09:27:28 +11:00
Benjamin Beganović
737020eeed Fix wrong variable in the BillingSubscriptionTransformer.php 2021-03-09 15:25:11 +01:00
David Bomba
d7d0768eae Minor fixes 2021-03-09 21:34:39 +11:00
David Bomba
053c1ca5fa billing_subscriptions cleanup 2021-03-09 08:29:59 +11:00
Benjamin Beganović
ea5117ecbe Billing subscriptions: Factory, repository & transformer 2021-03-08 15:18:14 +01:00
David Bomba
365c190cca Remove return type for User Service 2021-03-04 10:12:34 +11:00
David Bomba
c063aee812 enums for email delivery 2021-02-26 08:06:43 +11:00
David Bomba
661fc8ea00 Fixes for first account - verify user email! 2021-02-25 11:09:06 +11:00
=
4b1030f881 Add former email address for rollbacks 2021-02-20 08:42:29 +11:00
David Bomba
181902fece Additional company table properties 2021-02-16 08:52:38 +11:00
David Bomba
6d278a9c05 Add flag when permissions change 2021-01-29 23:29:42 +11:00
David Bomba
6540a25531 Refactor client numbering 2021-01-25 21:34:12 +11:00
David Bomba
b54c3a5b22 Fixes for demo 2021-01-25 07:46:53 +11:00
David Bomba
24dfbe48dc working on paid_to_date fields and calculations 2021-01-24 17:44:14 +11:00
=
ad40434686 Additional checks that the scheduler has been configured and is working 2021-01-23 15:52:54 +11:00
David Bomba
272a089c38 Fixes for task and task status order 2021-01-22 21:55:03 +11:00
David Bomba
cfc144b6ec Group Document defaults 2021-01-20 07:22:14 +11:00
David Bomba
4a34c6b903 Add is_docker variable to account transformeR 2021-01-19 07:40:54 +11:00
David Bomba
2b77951ea0 Deprecate task fields 2021-01-15 22:01:44 +11:00
David Bomba
97180508e8 Remove stale invoice_type_id properties 2021-01-14 07:35:52 +11:00
David Bomba
7d69f5eba3 Changes to schema for expenses, drop redundant columns from company table 2021-01-12 08:57:48 +11:00
David Bomba
df55785df9 fix for calculating invoice payments (include partial and full refunds). 2021-01-11 21:45:38 +11:00
David Bomba
c82d6fa270 additional column on company and expenses table 2021-01-08 21:27:49 +11:00
David Bomba
5a840201da Move field from company table to settings 2021-01-07 17:08:34 +11:00
David Bomba
996355a738 Add system_logs to company gateway transformer 2021-01-07 08:27:59 +11:00
David Bomba
c132e9ace8 Fixes for tasks, and migrations 2021-01-06 10:36:20 +11:00
David Bomba
f267408029
Merge pull request #4629 from turbo124/v5-develop
update decimal precision
2021-01-05 17:19:41 +11:00
David Bomba
13e9197ae5 Tests for task sorting 2021-01-05 15:41:43 +11:00
David Bomba
0c74a4601f Change decimal resolution 2021-01-05 13:24:32 +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
=
4129dba08b Test for HTML output for preview controller 2020-12-26 20:26:19 +11:00
=
53ff009d74 fix for company.users.company_user 2020-12-26 19:03:24 +11:00
David Bomba
adab53ed97 Handle restoring a deleted invoice 2020-12-18 07:11:31 +11:00
David Bomba
feb78a63f2 Add service worker back in 2020-12-17 21:53:20 +11:00
David Bomba
864892a7d2 Migrate white label license 2020-12-15 08:52:14 +11:00
David Bomba
8b808c97fa Fixes for expense currency not setting default 2020-12-14 07:58:18 +11:00
David Bomba
c5a4b1fcfd Fixes for version check + schema fixes 2020-12-10 21:48:16 +11:00
David Bomba
7075ec5096 Reorder default includes 2020-12-09 07:12:10 +11:00
David Bomba
a8958f4b09 Minor fixes for batch migrations 2020-11-30 18:43:33 +11:00
Benjamin Beganović
ae88d5e08e php-cs-fixer format 2020-11-25 15:19:52 +01:00
David Bomba
4b240b05ca Add deleted_at column to paymentables 2020-11-16 08:23:20 +11:00
David Bomba
fe5218fd2c Fixes for resolving company_user from user object 2020-11-13 21:42:06 +11:00
David Bomba
3bec5a4044 Refactor login routes 2020-11-13 20:09:20 +11:00
David Bomba
d8bb01430f Fixes for renaming company gateway columns 2020-11-12 22:09:31 +11:00
David Bomba
28cbd75fcb Fixes for credit PDF 2020-11-11 11:13:39 +11:00
David Bomba
64b703513d Refactor company gateway schema for required fields 2020-11-04 08:26:28 +11:00
David Bomba
bbf240be2d New fields for company gateway 2020-11-04 07:19:59 +11:00
David Bomba
aa0b9ed976 Deprecate invoice fields 2020-11-02 21:12:58 +11:00
David Bomba
685b7e25c2 Fixes for queries 2020-11-01 16:18:40 +11:00
=
6479b2fd3e Fix for laravel 8 route file regression + psalm cleanup 2020-11-01 16:09:09 +11:00
David Bomba
a283f1dcf7 Working on migration for expenses and tasks 2020-10-30 20:17:29 +11:00
David Bomba
dbcfce8bb9 Fixes for missing fields in transformers / fillable for vendors and expenses 2020-10-29 11:17:10 +11:00
David Bomba
1bda0190bb fixes for company transformer 2020-10-29 10:14:09 +11:00
David Bomba
9aeb2d7a5b Psalm cleanup 2020-10-28 21:10:49 +11:00
David Bomba
a07f04e1df Refactor Template Engine 2020-10-28 16:50:06 +11:00
David Bomba
0b16b2ac9c Fixes for tests 2020-10-28 10:34:09 +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
5ffd2b4678 Add sort order to task status 2020-10-26 08:05:33 +11:00
David Bomba
b00e0b5a04 Fixes for first_load includes 2020-10-26 07:56:02 +11:00
David Bomba
73b3c11d80 Fixes for update expenses 2020-10-23 08:00:49 +11:00
David Bomba
6c1b952111
Refactor requests to use generics (#41)
* Validation rules for expenses

* Tests

* Tests
2020-10-22 17:46:02 +11:00
David Bomba
3d59717776 Fixes for credit payments 2020-10-21 15:03:22 +11:00
David Bomba
686f12261d Project number 2020-10-20 10:55:14 +11:00
David Bomba
f0e4a94bee Task Statuses 2020-10-20 10:01:59 +11:00
David Bomba
a3afa8ede9 Remove project name unique constraint 2020-10-19 21:59:58 +11:00
David Bomba
3d40df6264 Fixes for ledger id in transformer 2020-10-16 08:55:24 +11:00
David Bomba
460545882c Additional fields for company model 2020-10-15 08:25:40 +11:00
David Bomba
3dca6ff171 Add projects to all entities - fixes for gateway casts 2020-10-15 07:58:20 +11:00
David Bomba
96750d5fdb Refactor for payments via client portal 2020-10-13 21:32:15 +11:00
David Bomba
5b2a43bd9a Fixes for expense categories 2020-10-13 16:02:12 +11:00
David Bomba
28f140ee37 Expense categories 2020-10-13 15:14:13 +11:00
David Bomba
05caec8aef expense categories 2020-10-13 15:08:56 +11:00
David Bomba
71535c0e41 Add tasks to API 2020-10-13 07:42:02 +11:00
David Bomba
65a1f150d5 Fixes for tests 2020-10-12 20:38:55 +11:00
David Bomba
c8a9997a98 fix return type in AddGatewayFee 2020-10-12 10:27:38 +11:00
David Bomba
f1c5f37189 Documents for tasks 2020-10-12 08:36:59 +11:00
David Bomba
4c08187bf1 tests for documents 2020-10-12 08:34:02 +11:00
David Bomba
1042bbec7b Update vendor contact schema to match client contact schema 2020-10-12 08:16:39 +11:00
David Bomba
44d31ce326 Move cache clearance to base controller 2020-10-09 17:55:03 +11:00
David Bomba
dd4d14d128 Implement Projects API 2020-10-08 09:25:39 +11:00
David Bomba
1264486bb9 Working on recurring migration 2020-10-06 08:46:47 +11:00
David Bomba
8756a89885 Allow login using contact_key or client_hash 2020-09-30 08:42:55 +10:00
David Bomba
ab0ec5e2cb Vendor API endpoints 2020-09-23 10:16:19 +10:00
David Bomba
67492c3384 Recurring Invoice Invitations 2020-09-18 07:49:22 +10:00
David Bomba
03e9bf0bc7 Fixes for recurring 2020-09-16 20:08:51 +10:00
David Bomba
69de2fc740 fixes for transformeR 2020-09-15 16:44:58 +10:00
David Bomba
bae82b56c1 Add license 2020-09-14 21:11:46 +10:00
David Bomba
14528280d8 Fixes for recurring transformer 2020-09-14 08:21:59 +10:00