1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 21:22:58 +01:00
Commit Graph

705 Commits

Author SHA1 Message Date
David Bomba
50eaf0cc78 Fix for date localization 2020-10-24 14:38:53 +11:00
David Bomba
73b3c11d80 Fixes for update expenses 2020-10-23 08:00:49 +11:00
Benjamin Beganović
dcb48297fb wip refactor 2020-10-22 15:24:18 +02: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
6f84e07c10 Fixes for schema, fixes for recurring invoice markViewed() 2020-10-21 08:15:11 +11:00
David Bomba
90494547c5 Fix for whitelabel getter 2020-10-20 13:23:48 +11:00
David Bomba
bc2b0f4aae Fix for recurring number collisions - use dispatchNow() 2020-10-20 11:53:54 +11:00
David Bomba
f0e4a94bee Task Statuses 2020-10-20 10:01:59 +11:00
David Bomba
8b49c83a67 Fixes for required expense fields 2020-10-20 08:31:19 +11:00
David Bomba
9c324f187e Fixes for vendor presenter; 2020-10-20 08:18:09 +11:00
David Bomba
a3afa8ede9 Remove project name unique constraint 2020-10-19 21:59:58 +11:00
David Bomba
93ea785131 Fix for incorrect company country being displayed 2020-10-19 08:21:14 +11:00
David Bomba
07cbb6a71a Fixes for showing recurring invoices in the client portal 2020-10-16 07:35:15 +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
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
080c82770e Working on credit payments 2020-10-13 23:28:30 +11:00
David Bomba
96750d5fdb Refactor for payments via client portal 2020-10-13 21:32:15 +11:00
David Bomba
28f140ee37 Expense categories 2020-10-13 15:14:13 +11:00
David Bomba
71535c0e41 Add tasks to API 2020-10-13 07:42:02 +11:00
David Bomba
d89b4fcbc3 Refactor for gateway fee calculations 2020-10-12 22:25:27 +11:00
David Bomba
1eadbde544 working on refactor of company gateway fees 2020-10-12 22:02:02 +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
5072d63436 Set visible to boolean cast 2020-10-12 10:21:24 +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
b12fe64a63 Refactor gateway types 2020-10-12 07:59:25 +11:00
David Bomba
bfa2e4d5d0 Refactor Gateway options 2020-10-11 20:17:33 +11:00
David Bomba
b6bea31646 Working on gateway fee slippage 2020-10-10 21:57:28 +11:00
David Bomba
ae2562b020 Implementing paratest 2020-10-09 23:13:18 +11:00
David Bomba
9187946760 Fixes for gateway 2020-10-09 22:13:33 +11:00
David Bomba
dd4d14d128 Implement Projects API 2020-10-08 09:25:39 +11:00
David Bomba
50b24c55d9 Working on applying credits to payments prior to billing via gateway 2020-10-07 22:03:53 +11:00
David Bomba
ff00ed3815 Fixes for Recurring 2020-10-07 11:20:28 +11:00
David Bomba
70a575386c Fixes for designs in migration: 2020-10-07 10:16:57 +11:00
David Bomba
07701779ff Add options property to gateway table 2020-10-06 14:01:28 +11:00
David Bomba
4fe1c29751 Working on recurring 2020-10-06 12:36:25 +11:00
David Bomba
1264486bb9 Working on recurring migration 2020-10-06 08:46:47 +11:00
David Bomba
45b6c1bcc2 Recurring migration 2020-10-05 22:32:56 +11:00
David Bomba
a6234da23a Fix for no due date set on recurring invoices 2020-10-04 20:47:38 +11:00
David Bomba
f6ac4a8201 Add mysqlnd requirement to systemhealth check 2020-10-04 19:52:58 +11:00
David Bomba
c65950672d Fixes for model factories for L8 2020-10-01 20:49:47 +10:00
David Bomba
8756a89885 Allow login using contact_key or client_hash 2020-09-30 08:42:55 +10:00
David Bomba
7a9ab624a3 Working on gateway help url 2020-09-29 14:32:29 +10:00
David Bomba
5c0776cf14 Working on Delete user bug 2020-09-28 12:56:11 +10:00
David Bomba
c965e8d08b Fixes for injecting settings object into email blade templates 2020-09-27 19:22:34 +10:00
David Bomba
038d5e0406 remove stripe omnipay driver 2020-09-25 20:05:45 +10:00
David Bomba
e678f1d373 Fixes for recurring 2020-09-24 21:30:46 +10:00
David Bomba
4cf56d5138 Working on recurring schedules 2020-09-24 21:03:59 +10:00
David Bomba
b906e1e92f Fixes for hasrecurrence trait 2020-09-24 13:40:13 +10:00
David Bomba
4db72d11e1 Actions for recurring invoices 2020-09-24 10:57:44 +10:00
David Bomba
ab0ec5e2cb Vendor API endpoints 2020-09-23 10:16:19 +10:00
David Bomba
4b482c76f3 Fixes for recurring invoice 2020-09-18 17:04:28 +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
766343d8b9 Recurring dates 2020-09-14 22:13:15 +10:00
David Bomba
bae82b56c1 Add license 2020-09-14 21:11:46 +10:00
David Bomba
9c7dc24bd2 Recurring Dates 2020-09-13 20:20:11 +10:00
David Bomba
2b877d3414 Working on recurringDates Array 2020-09-12 20:33:12 +10:00
David Bomba
0c015cb4bc Fixes for recurring invoices 2020-09-10 11:05:42 +10:00
David Bomba
ba75a44eb8
Laravel 7.x Shift (#40)
* Adopt Laravel coding style

The Laravel framework adopts the PSR-2 coding style with some additions.
Laravel apps *should* adopt this coding style as well.

However, Shift allows you to customize the adopted coding style by
adding your own [PHP CS Fixer][1] `.php_cs` config to your project.

You may use [Shift's .php_cs][2] file as a base.

[1]: https://github.com/FriendsOfPHP/PHP-CS-Fixer
[2]: https://gist.github.com/laravel-shift/cab527923ed2a109dda047b97d53c200

* Shift bindings

PHP 5.5.9+ adds the new static `class` property which provides the fully qualified class name. This is preferred over using class name strings as these references are checked by the parser.

* Shift core files

* Shift to Throwable

* Add laravel/ui dependency

* Unindent vendor mail templates

* Shift config files

* Default config files

In an effort to make upgrading the constantly changing config files
easier, Shift defaulted them so you can review the commit diff for
changes. Moving forward, you should use ENV variables or create a
separate config file to allow the core config files to remain
automatically upgradeable.

* Shift Laravel dependencies

* Shift cleanup

* Upgrade to Laravel 7

Co-authored-by: Laravel Shift <shift@laravelshift.com>
2020-09-06 19:38:10 +10:00
David Bomba
2bd8581592 Fixes for payments with gateway fees 2020-09-01 09:28:37 +10:00
David Bomba
eb867522df Working on invoice payments with gateway fees 2020-08-31 12:00:43 +10:00
David Bomba
ac08a146a1 Working on gateway fees 2020-08-30 22:00:19 +10:00
David Bomba
32e987a1b2 Remove require NPM/NODE from setup checks 2020-08-29 23:32:11 +10:00
David Bomba
36c54d8cc3 Working on fees 2020-08-28 11:06:46 +10:00
David Bomba
a5248f7a93 Test mode for company gateway 2020-08-28 07:34:15 +10:00
David Bomba
23a8acccc2 Doc todo 2020-08-27 23:10:04 +10:00
David Bomba
1a7d0d3cbd Working on gateway fees across multiple invoices 2020-08-27 22:12:39 +10:00
David Bomba
37c5a7adb5 Test for gateway fees appending to invoice 2020-08-26 08:10:49 +10:00
David Bomba
979916adb5 Refactor payments 2020-08-25 23:06:38 +10:00
David Bomba
fde50b308a Merge branch 'v2' of https://github.com/turbo124/invoiceninja into v2 2020-08-25 07:09:54 +10:00
David Bomba
7951087c47 Add label to fillable 2020-08-25 07:09:27 +10:00
David Bomba
7cf2d10f29
Merge pull request #4011 from turbo124/v2
System Log API end points
2020-08-24 21:17:07 +10:00
David Bomba
4c3f466d58 Tests for system log routes 2020-08-24 20:28:47 +10:00
David Bomba
d7dd544271 System logs 2020-08-24 19:51:19 +10:00
Benjamin Beganović
f8c1a0c031 Fix $this->fees_and_limits 2020-08-24 07:47:16 +02:00
David Bomba
ffdfaefd80 Working on system logs 2020-08-24 12:45:53 +10:00
Benjamin Beganović
f4698c0108 Support multiple downloads 2020-08-20 03:10:04 +02:00
David Bomba
77ecca3035 fixes for tests 2020-08-19 16:11:57 +10:00
David Bomba
71be551062 Fixes for disabling client gateways 2020-08-19 08:47:05 +10:00
David Bomba
089f50e7ed if company gateway set to zero, disable gateways for client 2020-08-19 08:46:27 +10:00
David Bomba
021b741e56 Tests for gateway fees 2020-08-19 08:33:58 +10:00
David Bomba
0e601a364d Add TODO 2020-08-17 16:38:33 +10:00
David Bomba
d6e169a891 Working on tests for fees and limits 2020-08-17 13:03:21 +10:00
David Bomba
17acab76b4
Merge pull request #3992 from turbo124/v2
Fixes for company Purging
2020-08-16 21:32:35 +10:00
=
74994364ec Fixes for tests 2020-08-15 10:40:56 +10:00
David Bomba
da26a1f2f2 Refactor date mutators 2020-08-15 08:03:29 +10:00
Benjamin Beganović
edfec84074 Add new properties to models for easier fetching:
Invoice:
- balance_due is now alias to balance
- total is now alias to calc()->getTotal()

Quote:
- valid_until is now alias to due_date
- balance_due is now alias to balance
2020-08-14 14:53:36 +02:00
David Bomba
cb24a89d00 Fixes for carbon date handling on entities 2020-08-14 22:50:05 +10:00
David Bomba
7fc54b7fa1 Fixes for date mutators 2020-08-14 22:21:46 +10:00
David Bomba
dffb9be189 Fixes for purge company and preserve settings 2020-08-14 10:40:59 +10:00
David Bomba
3ac9cc5158 Add reminder fields to entities 2020-08-14 08:08:10 +10:00
David Bomba
e347c5ad51 Document permissions 2020-08-12 13:13:39 +10:00
David Bomba
941e790a95 More activities 2020-08-12 12:02:21 +10:00
David Bomba
152e9b88f6 Activity for paid invoice 2020-08-12 11:45:40 +10:00
David Bomba
928a9d46af Download historical invoice 2020-08-12 10:01:27 +10:00
=
6751654216 Refactor login route 2020-08-08 09:50:32 +10:00
David Bomba
651fdeabdb Fix for incorrect country displaying 2020-08-08 07:44:49 +10:00
David Bomba
2c93efface Softdelete/restore invitations on clientcontact delete/restore 2020-08-07 08:13:15 +10:00
David Bomba
a5d2ac2cb9 Fixes for fees and settings object 2020-08-05 21:48:53 +10:00
David Bomba
8c72321c09 Refactor company gateway queries to ensure their order is respected 2020-08-05 11:41:32 +10:00
David Bomba
161f162856 Fixes for group settings 2020-08-04 18:21:14 +10:00
David Bomba
694ad96111 -1 for fees_and_limits = enable gateway 2020-07-30 14:49:12 +10:00
David Bomba
68e2e2c8f4 Merge branch 'v2' of https://github.com/turbo124/invoiceninja into v2 2020-07-30 07:48:33 +10:00
David Bomba
411b4b1582 add enable_shop_api field to company table 2020-07-29 19:25:59 +10:00
David Bomba
d5b777206e Shop routes 2020-07-28 21:19:51 +10:00
David Bomba
9ed31be17e remove legacy setting option 2020-07-28 14:29:56 +10:00
David Bomba
3c38fd2cf6 Fixes for refresh route 2020-07-26 15:12:40 +10:00
David Bomba
6ca56d3cb0
Merge pull request #3926 from beganovich/v2-2207-hide-drafts-from-clients
Fixes for invoices & drafts
2020-07-23 20:56:50 +10:00
Benjamin Beganović
183a51b27c Update quotes page with right terminology 2020-07-23 12:20:19 +02:00
David Bomba
e67c7995d9 fixes for invitations 2020-07-23 16:13:12 +10:00
David Bomba
ce3696257f Fixes for base repo invitations 2020-07-23 13:55:11 +10:00
David Bomba
62f084b2aa Events 2020-07-22 17:53:14 +10:00
David Bomba
adb705d7f0 Adding Events 2020-07-20 09:02:31 +10:00
David Bomba
cd5bebbe5f Credit events and listeners 2020-07-17 14:44:34 +10:00
David Bomba
1b79188b35 Adding more event listeners 2020-07-17 11:28:54 +10:00
David Bomba
c593f2bd58 Add event listeners 2020-07-17 10:31:19 +10:00
David Bomba
c0237474ef Fixes for demo data 2020-07-17 07:50:02 +10:00
David Bomba
41b85b3fb3 Ensure models are touched appropriately" 2020-07-16 21:01:39 +10:00
David Bomba
b4ad18bfe9 Don't include drafts when checking data 2020-07-16 13:54:26 +10:00
David Bomba
cd4856e8db Helpers for gateway fees 2020-07-15 15:05:02 +10:00
David Bomba
dc63e533df Fix for quote event 2020-07-14 20:35:41 +10:00
David Bomba
fe4885f5a6 only send one notification per invoice 2020-07-14 19:55:28 +10:00
David Bomba
00a3d36fcd Bug with viewed_date populating erroneously 2020-07-14 15:37:49 +10:00
David Bomba
5dc0fcca0d Working on token billing 2020-07-13 14:46:16 +10:00
David Bomba
708422dd9b Add hashed transformer for company tokens 2020-07-13 12:54:56 +10:00
David Bomba
f3572a5d11 Refactor for events 2020-07-08 22:02:16 +10:00
David Bomba
4b81e209c4 Working on unattended token billing 2020-07-08 12:20:44 +10:00
David Bomba
3ec593f7ef Fixes for tests 2020-07-08 10:18:13 +10:00
David Bomba
5698a8a8d1 Tests for fees and limits 2020-07-08 01:11:54 +10:00
David Bomba
daa3cc2b68 Reimplement fees and limits logic 2020-07-07 23:23:47 +10:00
David Bomba
83fc30f7e7 Working on fees and limits 2020-07-07 22:33:11 +10:00
David Bomba
61c3a3f57e Working on check data script 2020-07-07 17:56:30 +10:00
David Bomba
03b363ed2d Fixes for trashed invoices 2020-07-07 17:54:21 +10:00
David Bomba
256deea92a Update index file for flutter 2020-07-07 08:35:28 +10:00
David Bomba
4c321d41c3 Change subscriptions to webhooks 2020-07-06 21:22:36 +10:00
David Bomba
bbdfb86b99
Merge pull request #3884 from turbo124/v2
Fixes for Checkdata script and PDF Previews
2020-07-05 20:59:18 +10:00
David Bomba
b9c860bfc3 Add task to check company size 2020-07-05 18:59:28 +10:00
Benjamin Beganović
eb655762d4 Adding payment methods from menu 2020-07-03 14:39:29 +02:00
David Bomba
b14ac451c4 Payment methods 2020-07-03 18:14:15 +10:00
David Bomba
8e4e38776b Working on gateway payment methods 2020-07-03 10:56:36 +10:00
David Bomba
d3775fd059 Change PING route response 2020-07-02 20:14:19 +10:00
David Bomba
302c98e08b Fixes for demo data 2020-07-01 21:33:42 +10:00
David Bomba
5855f3ea1f Refactor for migrations 2020-07-01 15:51:19 +10:00