From 26f367031ec66ee60b660375a6874053cb1810f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=8Carodej?= Date: Fri, 10 Dec 2021 11:00:30 +0100 Subject: [PATCH] updated transaction tables --- composer.lock | 433 ++++++++++-------- public/mix-manifest.json | 65 ++- .../SelectPlanSubscriptionPopup.vue | 22 +- resources/js/helpers/functionHelpers.js | 19 + resources/js/views/Admin/Invoices.vue | 12 +- .../Admin/Plans/PlanTabs/PlanSubscribers.vue | 4 +- resources/js/views/Admin/Subscriptions.vue | 4 +- .../Admin/Users/UserTabs/UserInvoices.vue | 12 +- resources/js/views/User/Invoices.vue | 12 +- src/App/Users/Models/User.php | 2 + 10 files changed, 360 insertions(+), 225 deletions(-) diff --git a/composer.lock b/composer.lock index e9c76d90..3236f5fe 100644 --- a/composer.lock +++ b/composer.lock @@ -280,16 +280,16 @@ }, { "name": "aws/aws-sdk-php", - "version": "3.208.0", + "version": "3.208.3", "source": { "type": "git", "url": "https://github.com/aws/aws-sdk-php.git", - "reference": "fef9c7a9b0d65014a40cc7451da9e420e6f0eaa0" + "reference": "c9ccf6705fe41e53f23dac7e0573e3f79d70bcde" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/fef9c7a9b0d65014a40cc7451da9e420e6f0eaa0", - "reference": "fef9c7a9b0d65014a40cc7451da9e420e6f0eaa0", + "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/c9ccf6705fe41e53f23dac7e0573e3f79d70bcde", + "reference": "c9ccf6705fe41e53f23dac7e0573e3f79d70bcde", "shasum": "" }, "require": { @@ -365,9 +365,9 @@ "support": { "forum": "https://forums.aws.amazon.com/forum.jspa?forumID=80", "issues": "https://github.com/aws/aws-sdk-php/issues", - "source": "https://github.com/aws/aws-sdk-php/tree/3.208.0" + "source": "https://github.com/aws/aws-sdk-php/tree/3.208.3" }, - "time": "2021-12-02T19:14:25+00:00" + "time": "2021-12-08T19:30:07+00:00" }, { "name": "bacon/bacon-qr-code", @@ -724,6 +724,77 @@ ], "time": "2021-09-13T08:41:34+00:00" }, + { + "name": "composer/pcre", + "version": "1.0.0", + "source": { + "type": "git", + "url": "https://github.com/composer/pcre.git", + "reference": "3d322d715c43a1ac36c7fe215fa59336265500f2" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/composer/pcre/zipball/3d322d715c43a1ac36c7fe215fa59336265500f2", + "reference": "3d322d715c43a1ac36c7fe215fa59336265500f2", + "shasum": "" + }, + "require": { + "php": "^5.3.2 || ^7.0 || ^8.0" + }, + "require-dev": { + "phpstan/phpstan": "^1", + "phpstan/phpstan-strict-rules": "^1.1", + "symfony/phpunit-bridge": "^4.2 || ^5" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.x-dev" + } + }, + "autoload": { + "psr-4": { + "Composer\\Pcre\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "http://seld.be" + } + ], + "description": "PCRE wrapping library that offers type-safe preg_* replacements.", + "keywords": [ + "PCRE", + "preg", + "regex", + "regular expression" + ], + "support": { + "issues": "https://github.com/composer/pcre/issues", + "source": "https://github.com/composer/pcre/tree/1.0.0" + }, + "funding": [ + { + "url": "https://packagist.com", + "type": "custom" + }, + { + "url": "https://github.com/composer", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/composer/composer", + "type": "tidelift" + } + ], + "time": "2021-12-06T15:17:27+00:00" + }, { "name": "composer/semver", "version": "3.2.6", @@ -807,25 +878,27 @@ }, { "name": "composer/xdebug-handler", - "version": "2.0.2", + "version": "2.0.3", "source": { "type": "git", "url": "https://github.com/composer/xdebug-handler.git", - "reference": "84674dd3a7575ba617f5a76d7e9e29a7d3891339" + "reference": "6555461e76962fd0379c444c46fd558a0fcfb65e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/xdebug-handler/zipball/84674dd3a7575ba617f5a76d7e9e29a7d3891339", - "reference": "84674dd3a7575ba617f5a76d7e9e29a7d3891339", + "url": "https://api.github.com/repos/composer/xdebug-handler/zipball/6555461e76962fd0379c444c46fd558a0fcfb65e", + "reference": "6555461e76962fd0379c444c46fd558a0fcfb65e", "shasum": "" }, "require": { + "composer/pcre": "^1", "php": "^5.3.2 || ^7.0 || ^8.0", "psr/log": "^1 || ^2 || ^3" }, "require-dev": { - "phpstan/phpstan": "^0.12.55", - "symfony/phpunit-bridge": "^4.2 || ^5" + "phpstan/phpstan": "^1.0", + "phpstan/phpstan-strict-rules": "^1.1", + "symfony/phpunit-bridge": "^4.2 || ^5.0 || ^6.0" }, "type": "library", "autoload": { @@ -851,7 +924,7 @@ "support": { "irc": "irc://irc.freenode.org/composer", "issues": "https://github.com/composer/xdebug-handler/issues", - "source": "https://github.com/composer/xdebug-handler/tree/2.0.2" + "source": "https://github.com/composer/xdebug-handler/tree/2.0.3" }, "funding": [ { @@ -867,7 +940,7 @@ "type": "tidelift" } ], - "time": "2021-07-31T17:03:58+00:00" + "time": "2021-12-08T13:07:32+00:00" }, { "name": "dasprid/enum", @@ -2260,16 +2333,16 @@ }, { "name": "guzzlehttp/guzzle", - "version": "7.4.0", + "version": "7.4.1", "source": { "type": "git", "url": "https://github.com/guzzle/guzzle.git", - "reference": "868b3571a039f0ebc11ac8f344f4080babe2cb94" + "reference": "ee0a041b1760e6a53d2a39c8c34115adc2af2c79" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/guzzle/zipball/868b3571a039f0ebc11ac8f344f4080babe2cb94", - "reference": "868b3571a039f0ebc11ac8f344f4080babe2cb94", + "url": "https://api.github.com/repos/guzzle/guzzle/zipball/ee0a041b1760e6a53d2a39c8c34115adc2af2c79", + "reference": "ee0a041b1760e6a53d2a39c8c34115adc2af2c79", "shasum": "" }, "require": { @@ -2278,7 +2351,7 @@ "guzzlehttp/psr7": "^1.8.3 || ^2.1", "php": "^7.2.5 || ^8.0", "psr/http-client": "^1.0", - "symfony/deprecation-contracts": "^2.2" + "symfony/deprecation-contracts": "^2.2 || ^3.0" }, "provide": { "psr/http-client-implementation": "1.0" @@ -2364,7 +2437,7 @@ ], "support": { "issues": "https://github.com/guzzle/guzzle/issues", - "source": "https://github.com/guzzle/guzzle/tree/7.4.0" + "source": "https://github.com/guzzle/guzzle/tree/7.4.1" }, "funding": [ { @@ -2380,7 +2453,7 @@ "type": "tidelift" } ], - "time": "2021-10-18T09:52:00+00:00" + "time": "2021-12-06T18:43:05+00:00" }, { "name": "guzzlehttp/promises", @@ -2667,16 +2740,16 @@ }, { "name": "jaybizzle/crawler-detect", - "version": "v1.2.109", + "version": "v1.2.110", "source": { "type": "git", "url": "https://github.com/JayBizzle/Crawler-Detect.git", - "reference": "487b73e6f9effc8c88c9eec3c9c451e166b7669c" + "reference": "f9d63a3581428fd8a3858e161d072f0b9debc26f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/JayBizzle/Crawler-Detect/zipball/487b73e6f9effc8c88c9eec3c9c451e166b7669c", - "reference": "487b73e6f9effc8c88c9eec3c9c451e166b7669c", + "url": "https://api.github.com/repos/JayBizzle/Crawler-Detect/zipball/f9d63a3581428fd8a3858e161d072f0b9debc26f", + "reference": "f9d63a3581428fd8a3858e161d072f0b9debc26f", "shasum": "" }, "require": { @@ -2713,9 +2786,9 @@ ], "support": { "issues": "https://github.com/JayBizzle/Crawler-Detect/issues", - "source": "https://github.com/JayBizzle/Crawler-Detect/tree/v1.2.109" + "source": "https://github.com/JayBizzle/Crawler-Detect/tree/v1.2.110" }, - "time": "2021-11-24T18:07:38+00:00" + "time": "2021-12-07T18:35:06+00:00" }, { "name": "jaybizzle/laravel-crawler-detect", @@ -2848,16 +2921,16 @@ }, { "name": "laravel/fortify", - "version": "v1.8.4", + "version": "v1.8.5", "source": { "type": "git", "url": "https://github.com/laravel/fortify.git", - "reference": "a6c29b72e623a5cd7e68b24bac8e0f3986e0029e" + "reference": "f2059ba020557cb19c73fdd3083d7218d25fa62c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/fortify/zipball/a6c29b72e623a5cd7e68b24bac8e0f3986e0029e", - "reference": "a6c29b72e623a5cd7e68b24bac8e0f3986e0029e", + "url": "https://api.github.com/repos/laravel/fortify/zipball/f2059ba020557cb19c73fdd3083d7218d25fa62c", + "reference": "f2059ba020557cb19c73fdd3083d7218d25fa62c", "shasum": "" }, "require": { @@ -2907,20 +2980,20 @@ "issues": "https://github.com/laravel/fortify/issues", "source": "https://github.com/laravel/fortify" }, - "time": "2021-11-23T17:16:33+00:00" + "time": "2021-12-07T15:58:41+00:00" }, { "name": "laravel/framework", - "version": "v8.74.0", + "version": "v8.75.0", "source": { "type": "git", "url": "https://github.com/laravel/framework.git", - "reference": "004ea195012d5132eca07a176a6e587c6a74815e" + "reference": "0bb91d3176357da232da69762a64b0e0a0988637" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/framework/zipball/004ea195012d5132eca07a176a6e587c6a74815e", - "reference": "004ea195012d5132eca07a176a6e587c6a74815e", + "url": "https://api.github.com/repos/laravel/framework/zipball/0bb91d3176357da232da69762a64b0e0a0988637", + "reference": "0bb91d3176357da232da69762a64b0e0a0988637", "shasum": "" }, "require": { @@ -3079,7 +3152,7 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2021-11-30T15:26:05+00:00" + "time": "2021-12-07T14:55:46+00:00" }, { "name": "laravel/sanctum", @@ -3278,16 +3351,16 @@ }, { "name": "laravel/tinker", - "version": "v2.6.2", + "version": "v2.6.3", "source": { "type": "git", "url": "https://github.com/laravel/tinker.git", - "reference": "c808a7227f97ecfd9219fbf913bad842ea854ddc" + "reference": "a9ddee4761ec8453c584e393b393caff189a3e42" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/tinker/zipball/c808a7227f97ecfd9219fbf913bad842ea854ddc", - "reference": "c808a7227f97ecfd9219fbf913bad842ea854ddc", + "url": "https://api.github.com/repos/laravel/tinker/zipball/a9ddee4761ec8453c584e393b393caff189a3e42", + "reference": "a9ddee4761ec8453c584e393b393caff189a3e42", "shasum": "" }, "require": { @@ -3340,9 +3413,9 @@ ], "support": { "issues": "https://github.com/laravel/tinker/issues", - "source": "https://github.com/laravel/tinker/tree/v2.6.2" + "source": "https://github.com/laravel/tinker/tree/v2.6.3" }, - "time": "2021-09-28T15:47:34+00:00" + "time": "2021-12-07T16:41:42+00:00" }, { "name": "laravel/ui", @@ -3407,16 +3480,16 @@ }, { "name": "league/commonmark", - "version": "2.0.2", + "version": "2.1.0", "source": { "type": "git", "url": "https://github.com/thephpleague/commonmark.git", - "reference": "2df87709f44b0dd733df86aef0830dce9b1f0f13" + "reference": "819276bc54e83c160617d3ac0a436c239e479928" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/commonmark/zipball/2df87709f44b0dd733df86aef0830dce9b1f0f13", - "reference": "2df87709f44b0dd733df86aef0830dce9b1f0f13", + "url": "https://api.github.com/repos/thephpleague/commonmark/zipball/819276bc54e83c160617d3ac0a436c239e479928", + "reference": "819276bc54e83c160617d3ac0a436c239e479928", "shasum": "" }, "require": { @@ -3435,11 +3508,11 @@ "ext-json": "*", "github/gfm": "0.29.0", "michelf/php-markdown": "^1.4", - "phpstan/phpstan": "^0.12.88", + "phpstan/phpstan": "^0.12.88 || ^1.0.0", "phpunit/phpunit": "^9.5.5", "scrutinizer/ocular": "^1.8.1", "symfony/finder": "^5.3", - "symfony/yaml": "^2.3 | ^3.0 | ^4.0 | ^5.0", + "symfony/yaml": "^2.3 | ^3.0 | ^4.0 | ^5.0 | ^6.0", "unleashedtech/php-coding-standard": "^3.1", "vimeo/psalm": "^4.7.3" }, @@ -3449,7 +3522,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "2.1-dev" + "dev-main": "2.2-dev" } }, "autoload": { @@ -3489,10 +3562,6 @@ "source": "https://github.com/thephpleague/commonmark" }, "funding": [ - { - "url": "https://enjoy.gitstore.app/repositories/thephpleague/commonmark", - "type": "custom" - }, { "url": "https://www.colinodell.com/sponsor", "type": "custom" @@ -3505,16 +3574,12 @@ "url": "https://github.com/colinodell", "type": "github" }, - { - "url": "https://www.patreon.com/colinodell", - "type": "patreon" - }, { "url": "https://tidelift.com/funding/github/packagist/league/commonmark", "type": "tidelift" } ], - "time": "2021-08-14T14:06:04+00:00" + "time": "2021-12-05T18:25:20+00:00" }, { "name": "league/config", @@ -3600,16 +3665,16 @@ }, { "name": "league/flysystem", - "version": "1.1.8", + "version": "1.1.9", "source": { "type": "git", "url": "https://github.com/thephpleague/flysystem.git", - "reference": "c995bb0c23c58c9813d081f9523c9b7bb496698e" + "reference": "094defdb4a7001845300334e7c1ee2335925ef99" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/c995bb0c23c58c9813d081f9523c9b7bb496698e", - "reference": "c995bb0c23c58c9813d081f9523c9b7bb496698e", + "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/094defdb4a7001845300334e7c1ee2335925ef99", + "reference": "094defdb4a7001845300334e7c1ee2335925ef99", "shasum": "" }, "require": { @@ -3682,7 +3747,7 @@ ], "support": { "issues": "https://github.com/thephpleague/flysystem/issues", - "source": "https://github.com/thephpleague/flysystem/tree/1.1.8" + "source": "https://github.com/thephpleague/flysystem/tree/1.1.9" }, "funding": [ { @@ -3690,7 +3755,7 @@ "type": "other" } ], - "time": "2021-11-28T21:50:23+00:00" + "time": "2021-12-09T09:40:50+00:00" }, { "name": "league/flysystem-aws-s3-v3", @@ -3927,7 +3992,7 @@ "dist": { "type": "path", "url": "../../PhpstormProjects/subscription", - "reference": "f8a58693387cf5f576a40429175f3642f66c6c1f" + "reference": "fa890658b330db4fe9f7a1534840d7b18b0909db" }, "require": { "friendsofphp/php-cs-fixer": "^3.0", @@ -3939,7 +4004,7 @@ "spatie/data-transfer-object": "^3.6", "spatie/laravel-package-tools": "^1.4.3", "spatie/laravel-queueable-action": "^2.12", - "stripe/stripe-php": "^7.103" + "stripe/stripe-php": "^7.104" }, "require-dev": { "brianium/paratest": "^6.2", @@ -5152,16 +5217,16 @@ }, { "name": "phpoption/phpoption", - "version": "1.8.0", + "version": "1.8.1", "source": { "type": "git", "url": "https://github.com/schmittjoh/php-option.git", - "reference": "5455cb38aed4523f99977c4a12ef19da4bfe2a28" + "reference": "eab7a0df01fe2344d172bff4cd6dbd3f8b84ad15" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/schmittjoh/php-option/zipball/5455cb38aed4523f99977c4a12ef19da4bfe2a28", - "reference": "5455cb38aed4523f99977c4a12ef19da4bfe2a28", + "url": "https://api.github.com/repos/schmittjoh/php-option/zipball/eab7a0df01fe2344d172bff4cd6dbd3f8b84ad15", + "reference": "eab7a0df01fe2344d172bff4cd6dbd3f8b84ad15", "shasum": "" }, "require": { @@ -5169,7 +5234,7 @@ }, "require-dev": { "bamarni/composer-bin-plugin": "^1.4.1", - "phpunit/phpunit": "^6.5.14 || ^7.0.20 || ^8.5.19 || ^9.5.8" + "phpunit/phpunit": "^6.5.14 || ^7.5.20 || ^8.5.19 || ^9.5.8" }, "type": "library", "extra": { @@ -5189,11 +5254,13 @@ "authors": [ { "name": "Johannes M. Schmitt", - "email": "schmittjoh@gmail.com" + "email": "schmittjoh@gmail.com", + "homepage": "https://github.com/schmittjoh" }, { "name": "Graham Campbell", - "email": "hello@gjcampbell.co.uk" + "email": "hello@gjcampbell.co.uk", + "homepage": "https://github.com/GrahamCampbell" } ], "description": "Option Type for PHP", @@ -5205,7 +5272,7 @@ ], "support": { "issues": "https://github.com/schmittjoh/php-option/issues", - "source": "https://github.com/schmittjoh/php-option/tree/1.8.0" + "source": "https://github.com/schmittjoh/php-option/tree/1.8.1" }, "funding": [ { @@ -5217,20 +5284,20 @@ "type": "tidelift" } ], - "time": "2021-08-28T21:27:29+00:00" + "time": "2021-12-04T23:24:31+00:00" }, { "name": "phpspec/prophecy", - "version": "1.14.0", + "version": "v1.15.0", "source": { "type": "git", "url": "https://github.com/phpspec/prophecy.git", - "reference": "d86dfc2e2a3cd366cee475e52c6bb3bbc371aa0e" + "reference": "bbcd7380b0ebf3961ee21409db7b38bc31d69a13" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpspec/prophecy/zipball/d86dfc2e2a3cd366cee475e52c6bb3bbc371aa0e", - "reference": "d86dfc2e2a3cd366cee475e52c6bb3bbc371aa0e", + "url": "https://api.github.com/repos/phpspec/prophecy/zipball/bbcd7380b0ebf3961ee21409db7b38bc31d69a13", + "reference": "bbcd7380b0ebf3961ee21409db7b38bc31d69a13", "shasum": "" }, "require": { @@ -5282,22 +5349,22 @@ ], "support": { "issues": "https://github.com/phpspec/prophecy/issues", - "source": "https://github.com/phpspec/prophecy/tree/1.14.0" + "source": "https://github.com/phpspec/prophecy/tree/v1.15.0" }, - "time": "2021-09-10T09:02:12+00:00" + "time": "2021-12-08T12:19:24+00:00" }, { "name": "phpunit/php-code-coverage", - "version": "9.2.9", + "version": "9.2.10", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "f301eb1453c9e7a1bc912ee8b0ea9db22c60223b" + "reference": "d5850aaf931743067f4bfc1ae4cbd06468400687" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/f301eb1453c9e7a1bc912ee8b0ea9db22c60223b", - "reference": "f301eb1453c9e7a1bc912ee8b0ea9db22c60223b", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/d5850aaf931743067f4bfc1ae4cbd06468400687", + "reference": "d5850aaf931743067f4bfc1ae4cbd06468400687", "shasum": "" }, "require": { @@ -5353,7 +5420,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", - "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.9" + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.10" }, "funding": [ { @@ -5361,7 +5428,7 @@ "type": "github" } ], - "time": "2021-11-19T15:21:02+00:00" + "time": "2021-12-05T09:12:13+00:00" }, { "name": "phpunit/php-file-iterator", @@ -8104,16 +8171,16 @@ }, { "name": "stripe/stripe-php", - "version": "v7.104.0", + "version": "v7.106.0", "source": { "type": "git", "url": "https://github.com/stripe/stripe-php.git", - "reference": "6bfd895eaa3f6ebb49c10f9ab9ccc9e5baadded5" + "reference": "87013b8b3b75daad59d0aa39cbbf0b5979f1a091" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/stripe/stripe-php/zipball/6bfd895eaa3f6ebb49c10f9ab9ccc9e5baadded5", - "reference": "6bfd895eaa3f6ebb49c10f9ab9ccc9e5baadded5", + "url": "https://api.github.com/repos/stripe/stripe-php/zipball/87013b8b3b75daad59d0aa39cbbf0b5979f1a091", + "reference": "87013b8b3b75daad59d0aa39cbbf0b5979f1a091", "shasum": "" }, "require": { @@ -8158,9 +8225,9 @@ ], "support": { "issues": "https://github.com/stripe/stripe-php/issues", - "source": "https://github.com/stripe/stripe-php/tree/v7.104.0" + "source": "https://github.com/stripe/stripe-php/tree/v7.106.0" }, - "time": "2021-12-01T22:24:54+00:00" + "time": "2021-12-09T15:48:56+00:00" }, { "name": "swiftmailer/swiftmailer", @@ -8240,23 +8307,23 @@ }, { "name": "symfony/console", - "version": "v5.4.0", + "version": "v5.4.1", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "ec3661faca1d110d6c307e124b44f99ac54179e3" + "reference": "9130e1a0fc93cb0faadca4ee917171bd2ca9e5f4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/ec3661faca1d110d6c307e124b44f99ac54179e3", - "reference": "ec3661faca1d110d6c307e124b44f99ac54179e3", + "url": "https://api.github.com/repos/symfony/console/zipball/9130e1a0fc93cb0faadca4ee917171bd2ca9e5f4", + "reference": "9130e1a0fc93cb0faadca4ee917171bd2ca9e5f4", "shasum": "" }, "require": { "php": ">=7.2.5", "symfony/deprecation-contracts": "^2.1|^3", "symfony/polyfill-mbstring": "~1.0", - "symfony/polyfill-php73": "^1.8", + "symfony/polyfill-php73": "^1.9", "symfony/polyfill-php80": "^1.16", "symfony/service-contracts": "^1.1|^2|^3", "symfony/string": "^5.1|^6.0" @@ -8319,7 +8386,7 @@ "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v5.4.0" + "source": "https://github.com/symfony/console/tree/v5.4.1" }, "funding": [ { @@ -8335,25 +8402,24 @@ "type": "tidelift" } ], - "time": "2021-11-29T15:30:56+00:00" + "time": "2021-12-09T11:22:43+00:00" }, { "name": "symfony/css-selector", - "version": "v5.4.0", + "version": "v6.0.1", "source": { "type": "git", "url": "https://github.com/symfony/css-selector.git", - "reference": "44b933f98bb4b5220d10bed9ce5662f8c2d13dcc" + "reference": "ede53cafe1784b9131a48774b54f281d5d003f65" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/css-selector/zipball/44b933f98bb4b5220d10bed9ce5662f8c2d13dcc", - "reference": "44b933f98bb4b5220d10bed9ce5662f8c2d13dcc", + "url": "https://api.github.com/repos/symfony/css-selector/zipball/ede53cafe1784b9131a48774b54f281d5d003f65", + "reference": "ede53cafe1784b9131a48774b54f281d5d003f65", "shasum": "" }, "require": { - "php": ">=7.2.5", - "symfony/polyfill-php80": "^1.16" + "php": ">=8.0.2" }, "type": "library", "autoload": { @@ -8385,7 +8451,7 @@ "description": "Converts CSS selectors to XPath expressions", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/css-selector/tree/v5.4.0" + "source": "https://github.com/symfony/css-selector/tree/v6.0.1" }, "funding": [ { @@ -8401,29 +8467,29 @@ "type": "tidelift" } ], - "time": "2021-09-09T08:06:01+00:00" + "time": "2021-12-08T15:13:44+00:00" }, { "name": "symfony/deprecation-contracts", - "version": "v2.5.0", + "version": "v3.0.0", "source": { "type": "git", "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "6f981ee24cf69ee7ce9736146d1c57c2780598a8" + "reference": "c726b64c1ccfe2896cb7df2e1331c357ad1c8ced" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/6f981ee24cf69ee7ce9736146d1c57c2780598a8", - "reference": "6f981ee24cf69ee7ce9736146d1c57c2780598a8", + "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/c726b64c1ccfe2896cb7df2e1331c357ad1c8ced", + "reference": "c726b64c1ccfe2896cb7df2e1331c357ad1c8ced", "shasum": "" }, "require": { - "php": ">=7.1" + "php": ">=8.0.2" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "2.5-dev" + "dev-main": "3.0-dev" }, "thanks": { "name": "symfony/contracts", @@ -8452,7 +8518,7 @@ "description": "A generic function and convention to trigger deprecation notices", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v2.5.0" + "source": "https://github.com/symfony/deprecation-contracts/tree/v3.0.0" }, "funding": [ { @@ -8468,20 +8534,20 @@ "type": "tidelift" } ], - "time": "2021-07-12T14:48:14+00:00" + "time": "2021-11-01T23:48:49+00:00" }, { "name": "symfony/error-handler", - "version": "v5.4.0", + "version": "v5.4.1", "source": { "type": "git", "url": "https://github.com/symfony/error-handler.git", - "reference": "8433fa3145ac78df88b87a4a539118e950828126" + "reference": "1e3cb3565af49cd5f93e5787500134500a29f0d9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/error-handler/zipball/8433fa3145ac78df88b87a4a539118e950828126", - "reference": "8433fa3145ac78df88b87a4a539118e950828126", + "url": "https://api.github.com/repos/symfony/error-handler/zipball/1e3cb3565af49cd5f93e5787500134500a29f0d9", + "reference": "1e3cb3565af49cd5f93e5787500134500a29f0d9", "shasum": "" }, "require": { @@ -8523,7 +8589,7 @@ "description": "Provides tools to manage errors and ease debugging PHP code", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/error-handler/tree/v5.4.0" + "source": "https://github.com/symfony/error-handler/tree/v5.4.1" }, "funding": [ { @@ -8539,7 +8605,7 @@ "type": "tidelift" } ], - "time": "2021-11-29T15:30:56+00:00" + "time": "2021-12-01T15:04:08+00:00" }, { "name": "symfony/event-dispatcher", @@ -8834,16 +8900,16 @@ }, { "name": "symfony/http-foundation", - "version": "v5.4.0", + "version": "v5.4.1", "source": { "type": "git", "url": "https://github.com/symfony/http-foundation.git", - "reference": "5ef86ac7927d2de08dc1e26eb91325f9ccbe6309" + "reference": "5dad3780023a707f4c24beac7d57aead85c1ce3c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-foundation/zipball/5ef86ac7927d2de08dc1e26eb91325f9ccbe6309", - "reference": "5ef86ac7927d2de08dc1e26eb91325f9ccbe6309", + "url": "https://api.github.com/repos/symfony/http-foundation/zipball/5dad3780023a707f4c24beac7d57aead85c1ce3c", + "reference": "5dad3780023a707f4c24beac7d57aead85c1ce3c", "shasum": "" }, "require": { @@ -8887,7 +8953,7 @@ "description": "Defines an object-oriented layer for the HTTP specification", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/http-foundation/tree/v5.4.0" + "source": "https://github.com/symfony/http-foundation/tree/v5.4.1" }, "funding": [ { @@ -8903,20 +8969,20 @@ "type": "tidelift" } ], - "time": "2021-11-28T15:25:38+00:00" + "time": "2021-12-09T12:46:57+00:00" }, { "name": "symfony/http-kernel", - "version": "v5.4.0", + "version": "v5.4.1", "source": { "type": "git", "url": "https://github.com/symfony/http-kernel.git", - "reference": "e012f16688bcb151e965473a70d8ebaa8b1d15ea" + "reference": "2bdace75c9d6a6eec7e318801b7dc87a72375052" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-kernel/zipball/e012f16688bcb151e965473a70d8ebaa8b1d15ea", - "reference": "e012f16688bcb151e965473a70d8ebaa8b1d15ea", + "url": "https://api.github.com/repos/symfony/http-kernel/zipball/2bdace75c9d6a6eec7e318801b7dc87a72375052", + "reference": "2bdace75c9d6a6eec7e318801b7dc87a72375052", "shasum": "" }, "require": { @@ -8999,7 +9065,7 @@ "description": "Provides a structured process for converting a Request into a Response", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/http-kernel/tree/v5.4.0" + "source": "https://github.com/symfony/http-kernel/tree/v5.4.1" }, "funding": [ { @@ -9015,7 +9081,7 @@ "type": "tidelift" } ], - "time": "2021-11-29T16:56:53+00:00" + "time": "2021-12-09T13:36:09+00:00" }, { "name": "symfony/mime", @@ -10131,22 +10197,21 @@ }, { "name": "symfony/service-contracts", - "version": "v2.5.0", + "version": "v2.4.1", "source": { "type": "git", "url": "https://github.com/symfony/service-contracts.git", - "reference": "1ab11b933cd6bc5464b08e81e2c5b07dec58b0fc" + "reference": "d664541b99d6fb0247ec5ff32e87238582236204" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/service-contracts/zipball/1ab11b933cd6bc5464b08e81e2c5b07dec58b0fc", - "reference": "1ab11b933cd6bc5464b08e81e2c5b07dec58b0fc", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/d664541b99d6fb0247ec5ff32e87238582236204", + "reference": "d664541b99d6fb0247ec5ff32e87238582236204", "shasum": "" }, "require": { "php": ">=7.2.5", - "psr/container": "^1.1", - "symfony/deprecation-contracts": "^2.1" + "psr/container": "^1.1" }, "conflict": { "ext-psr": "<1.1|>=2" @@ -10157,7 +10222,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "2.5-dev" + "dev-main": "2.4-dev" }, "thanks": { "name": "symfony/contracts", @@ -10194,7 +10259,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/service-contracts/tree/v2.5.0" + "source": "https://github.com/symfony/service-contracts/tree/v2.4.1" }, "funding": [ { @@ -10210,7 +10275,7 @@ "type": "tidelift" } ], - "time": "2021-11-04T16:48:04+00:00" + "time": "2021-11-04T16:37:19+00:00" }, { "name": "symfony/stopwatch", @@ -10276,16 +10341,16 @@ }, { "name": "symfony/string", - "version": "v6.0.0", + "version": "v6.0.1", "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "ba727797426af0f587f4800566300bdc0cda0777" + "reference": "0cfed595758ec6e0a25591bdc8ca733c1896af32" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/ba727797426af0f587f4800566300bdc0cda0777", - "reference": "ba727797426af0f587f4800566300bdc0cda0777", + "url": "https://api.github.com/repos/symfony/string/zipball/0cfed595758ec6e0a25591bdc8ca733c1896af32", + "reference": "0cfed595758ec6e0a25591bdc8ca733c1896af32", "shasum": "" }, "require": { @@ -10341,7 +10406,7 @@ "utf8" ], "support": { - "source": "https://github.com/symfony/string/tree/v6.0.0" + "source": "https://github.com/symfony/string/tree/v6.0.1" }, "funding": [ { @@ -10357,20 +10422,20 @@ "type": "tidelift" } ], - "time": "2021-10-29T07:35:21+00:00" + "time": "2021-12-08T15:13:44+00:00" }, { "name": "symfony/translation", - "version": "v6.0.0", + "version": "v6.0.1", "source": { "type": "git", "url": "https://github.com/symfony/translation.git", - "reference": "5e3848083ef1abc4814be154095946b8193f41d6" + "reference": "b7956e00c6e03546f2ba489fc50f7c47933e76b8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/translation/zipball/5e3848083ef1abc4814be154095946b8193f41d6", - "reference": "5e3848083ef1abc4814be154095946b8193f41d6", + "url": "https://api.github.com/repos/symfony/translation/zipball/b7956e00c6e03546f2ba489fc50f7c47933e76b8", + "reference": "b7956e00c6e03546f2ba489fc50f7c47933e76b8", "shasum": "" }, "require": { @@ -10436,7 +10501,7 @@ "description": "Provides tools to internationalize your application", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/translation/tree/v6.0.0" + "source": "https://github.com/symfony/translation/tree/v6.0.1" }, "funding": [ { @@ -10452,7 +10517,7 @@ "type": "tidelift" } ], - "time": "2021-11-29T15:32:57+00:00" + "time": "2021-12-08T15:13:44+00:00" }, { "name": "symfony/translation-contracts", @@ -10534,16 +10599,16 @@ }, { "name": "symfony/var-dumper", - "version": "v5.4.0", + "version": "v5.4.1", "source": { "type": "git", "url": "https://github.com/symfony/var-dumper.git", - "reference": "89ab66eaef230c9cd1992de2e9a1b26652b127b9" + "reference": "2366ac8d8abe0c077844613c1a4f0c0a9f522dcc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/var-dumper/zipball/89ab66eaef230c9cd1992de2e9a1b26652b127b9", - "reference": "89ab66eaef230c9cd1992de2e9a1b26652b127b9", + "url": "https://api.github.com/repos/symfony/var-dumper/zipball/2366ac8d8abe0c077844613c1a4f0c0a9f522dcc", + "reference": "2366ac8d8abe0c077844613c1a4f0c0a9f522dcc", "shasum": "" }, "require": { @@ -10603,7 +10668,7 @@ "dump" ], "support": { - "source": "https://github.com/symfony/var-dumper/tree/v5.4.0" + "source": "https://github.com/symfony/var-dumper/tree/v5.4.1" }, "funding": [ { @@ -10619,7 +10684,7 @@ "type": "tidelift" } ], - "time": "2021-11-29T15:30:56+00:00" + "time": "2021-12-01T15:04:08+00:00" }, { "name": "teamtnt/laravel-scout-tntsearch-driver", @@ -10821,26 +10886,26 @@ }, { "name": "tijsverkoyen/css-to-inline-styles", - "version": "2.2.3", + "version": "2.2.4", "source": { "type": "git", "url": "https://github.com/tijsverkoyen/CssToInlineStyles.git", - "reference": "b43b05cf43c1b6d849478965062b6ef73e223bb5" + "reference": "da444caae6aca7a19c0c140f68c6182e337d5b1c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/tijsverkoyen/CssToInlineStyles/zipball/b43b05cf43c1b6d849478965062b6ef73e223bb5", - "reference": "b43b05cf43c1b6d849478965062b6ef73e223bb5", + "url": "https://api.github.com/repos/tijsverkoyen/CssToInlineStyles/zipball/da444caae6aca7a19c0c140f68c6182e337d5b1c", + "reference": "da444caae6aca7a19c0c140f68c6182e337d5b1c", "shasum": "" }, "require": { "ext-dom": "*", "ext-libxml": "*", "php": "^5.5 || ^7.0 || ^8.0", - "symfony/css-selector": "^2.7 || ^3.0 || ^4.0 || ^5.0" + "symfony/css-selector": "^2.7 || ^3.0 || ^4.0 || ^5.0 || ^6.0" }, "require-dev": { - "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0 || ^7.5" + "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0 || ^7.5 || ^8.5.21 || ^9.5.10" }, "type": "library", "extra": { @@ -10868,22 +10933,22 @@ "homepage": "https://github.com/tijsverkoyen/CssToInlineStyles", "support": { "issues": "https://github.com/tijsverkoyen/CssToInlineStyles/issues", - "source": "https://github.com/tijsverkoyen/CssToInlineStyles/tree/2.2.3" + "source": "https://github.com/tijsverkoyen/CssToInlineStyles/tree/2.2.4" }, - "time": "2020-07-13T06:12:54+00:00" + "time": "2021-12-08T09:12:39+00:00" }, { "name": "vimeo/psalm", - "version": "4.13.1", + "version": "v4.15.0", "source": { "type": "git", "url": "https://github.com/vimeo/psalm.git", - "reference": "5cf660f63b548ccd4a56f62d916ee4d6028e01a3" + "reference": "a1b5e489e6fcebe40cb804793d964e99fc347820" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/vimeo/psalm/zipball/5cf660f63b548ccd4a56f62d916ee4d6028e01a3", - "reference": "5cf660f63b548ccd4a56f62d916ee4d6028e01a3", + "url": "https://api.github.com/repos/vimeo/psalm/zipball/a1b5e489e6fcebe40cb804793d964e99fc347820", + "reference": "a1b5e489e6fcebe40cb804793d964e99fc347820", "shasum": "" }, "require": { @@ -10974,9 +11039,9 @@ ], "support": { "issues": "https://github.com/vimeo/psalm/issues", - "source": "https://github.com/vimeo/psalm/tree/4.13.1" + "source": "https://github.com/vimeo/psalm/tree/v4.15.0" }, - "time": "2021-11-23T23:52:49+00:00" + "time": "2021-12-07T11:25:29+00:00" }, { "name": "vlucas/phpdotenv", @@ -11904,22 +11969,22 @@ }, { "name": "fakerphp/faker", - "version": "v1.16.0", + "version": "v1.17.0", "source": { "type": "git", "url": "https://github.com/FakerPHP/Faker.git", - "reference": "271d384d216e5e5c468a6b28feedf95d49f83b35" + "reference": "b85e9d44eae8c52cca7aa0939483611f7232b669" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/FakerPHP/Faker/zipball/271d384d216e5e5c468a6b28feedf95d49f83b35", - "reference": "271d384d216e5e5c468a6b28feedf95d49f83b35", + "url": "https://api.github.com/repos/FakerPHP/Faker/zipball/b85e9d44eae8c52cca7aa0939483611f7232b669", + "reference": "b85e9d44eae8c52cca7aa0939483611f7232b669", "shasum": "" }, "require": { "php": "^7.1 || ^8.0", "psr/container": "^1.0 || ^2.0", - "symfony/deprecation-contracts": "^2.2" + "symfony/deprecation-contracts": "^2.2 || ^3.0" }, "conflict": { "fzaninotto/faker": "*" @@ -11938,7 +12003,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "v1.16-dev" + "dev-main": "v1.17-dev" } }, "autoload": { @@ -11963,9 +12028,9 @@ ], "support": { "issues": "https://github.com/FakerPHP/Faker/issues", - "source": "https://github.com/FakerPHP/Faker/tree/v1.16.0" + "source": "https://github.com/FakerPHP/Faker/tree/v1.17.0" }, - "time": "2021-09-06T14:53:37+00:00" + "time": "2021-12-05T17:14:47+00:00" }, { "name": "filp/whoops", diff --git a/public/mix-manifest.json b/public/mix-manifest.json index 6fe5a8d0..748fe93d 100644 --- a/public/mix-manifest.json +++ b/public/mix-manifest.json @@ -49,7 +49,7 @@ "/chunks/homepage.js": "/chunks/homepage.js?id=b89dd81804b8a0bd3f0b", "/chunks/installation-disclaimer.js": "/chunks/installation-disclaimer.js?id=1579259e826aa89fb00a", "/chunks/invitation.js": "/chunks/invitation.js?id=c9cd3541ee362ae8d5f7", - "/chunks/invoices.js": "/chunks/invoices.js?id=fc4f6dca544c45e0d25b", + "/chunks/invoices.js": "/chunks/invoices.js?id=ce6ca4639d16aa3b53d1", "/chunks/my-shared-items.js": "/chunks/my-shared-items.js?id=ea129760157c8e44f324", "/chunks/not-found.js": "/chunks/not-found.js?id=034287ee0ecb036320d3", "/chunks/page-edit.js": "/chunks/page-edit.js?id=f400e4ff1d3c7e93117e", @@ -58,7 +58,7 @@ "/chunks/plan-create.js": "/chunks/plan-create.js?id=356baaa5a3526092427f", "/chunks/plan-delete.js": "/chunks/plan-delete.js?id=58b35ab28597da974535", "/chunks/plan-settings.js": "/chunks/plan-settings.js?id=5cdc67d1d4fa3b9f2c1e", - "/chunks/plan-subscribers.js": "/chunks/plan-subscribers.js?id=a1dc7ebb7be368a2c4eb", + "/chunks/plan-subscribers.js": "/chunks/plan-subscribers.js?id=adbaf70d9060712110ab", "/chunks/plans.js": "/chunks/plans.js?id=7f262c68655989372d3c", "/chunks/platform.js": "/chunks/platform.js?id=6b779b37a3f6f6025425", "/chunks/platform~chunks/shared.js": "/chunks/platform~chunks/shared.js?id=e64e3b67ccb89de9dd55", @@ -67,9 +67,9 @@ "/chunks/profile~chunks/settings-password.js": "/chunks/profile~chunks/settings-password.js?id=c0dbc21fb8c789f0144a", "/chunks/purchase-code.js": "/chunks/purchase-code.js?id=f8b2619e393a5823bf29", "/chunks/recent-uploads.js": "/chunks/recent-uploads.js?id=22f629caf127051898e9", - "/chunks/settings.js": "/chunks/settings.js?id=e7d6eda3050a8d2fa027", + "/chunks/settings.js": "/chunks/settings.js?id=b3de06812be94b0106b4", "/chunks/settings-create-payment-methods.js": "/chunks/settings-create-payment-methods.js?id=cef8e687b3c107706b7d", - "/chunks/settings-invoices.js": "/chunks/settings-invoices.js?id=f45142987316594ac799", + "/chunks/settings-invoices.js": "/chunks/settings-invoices.js?id=c29a32cbe845039e376f", "/chunks/settings-password.js": "/chunks/settings-password.js?id=fc95bc9d31d3e9ee0442", "/chunks/settings-payment-methods.js": "/chunks/settings-payment-methods.js?id=3a88e55341d1f1ffe12d", "/chunks/settings-storage.js": "/chunks/settings-storage.js?id=4432e911b1e7a7415d4d", @@ -89,7 +89,7 @@ "/chunks/stripe-credentials.js": "/chunks/stripe-credentials.js?id=cb0ce03d3cd0c8ca1164", "/chunks/subscription-plans.js": "/chunks/subscription-plans.js?id=104e676d6994ebf3e96e", "/chunks/subscription-service.js": "/chunks/subscription-service.js?id=8ac19b3fcfd57d79e5b1", - "/chunks/subscriptions.js": "/chunks/subscriptions.js?id=d8a62207fc690846038d", + "/chunks/subscriptions.js": "/chunks/subscriptions.js?id=73d92ef0a3f78ca3260e", "/chunks/team-folders.js": "/chunks/team-folders.js?id=0e69f4432e968cc512f9", "/chunks/trash.js": "/chunks/trash.js?id=5fe84aadd8729e68849e", "/chunks/upgrade-billing.js": "/chunks/upgrade-billing.js?id=28dce4872f5b8c5e95f8", @@ -99,7 +99,7 @@ "/chunks/user-create.js": "/chunks/user-create.js?id=1d58b3cf93c7b3b90d9d", "/chunks/user-delete.js": "/chunks/user-delete.js?id=c0ea5194b4a4de8189dd", "/chunks/user-detail.js": "/chunks/user-detail.js?id=a55ae1a545a65b92511d", - "/chunks/user-invoices.js": "/chunks/user-invoices.js?id=31a38dc62d495f7ba4ed", + "/chunks/user-invoices.js": "/chunks/user-invoices.js?id=8813b138d1296673a27d", "/chunks/user-password.js": "/chunks/user-password.js?id=ce6c12a5b038f5481bd1", "/chunks/user-storage.js": "/chunks/user-storage.js?id=a915de897147d9efde5b", "/chunks/user-subscription.js": "/chunks/user-subscription.js?id=82038ce92ca5e1c9ae05", @@ -109,13 +109,48 @@ "/vendors~chunks/admin~chunks/files~chunks/my-shared-items~chunks/platform~chunks/recent-uploads~chunk~40ccbae3.js": "/vendors~chunks/admin~chunks/files~chunks/my-shared-items~chunks/platform~chunks/recent-uploads~chunk~40ccbae3.js?id=37ce1e1ab9968c100712", "/vendors~chunks/admin~chunks/platform~chunks/settings~chunks/shared.js": "/vendors~chunks/admin~chunks/platform~chunks/settings~chunks/shared.js?id=a0fa80db175709ba340a", "/vendors~chunks/settings.js": "/vendors~chunks/settings.js?id=0ad6bf4acae70c329adf", - "/chunks/settings-subscription.413c9c5556ceb807cb3c.hot-update.js": "/chunks/settings-subscription.413c9c5556ceb807cb3c.hot-update.js", - "/chunks/settings-subscription.d4280dc102601048e949.hot-update.js": "/chunks/settings-subscription.d4280dc102601048e949.hot-update.js", - "/chunks/settings-subscription.31fe57f784cc06765b06.hot-update.js": "/chunks/settings-subscription.31fe57f784cc06765b06.hot-update.js", - "/chunks/settings-subscription.ee04e44bbbe0defa3910.hot-update.js": "/chunks/settings-subscription.ee04e44bbbe0defa3910.hot-update.js", - "/chunks/settings-subscription.2ba1a1fe965f3c12e5ae.hot-update.js": "/chunks/settings-subscription.2ba1a1fe965f3c12e5ae.hot-update.js", - "/chunks/settings-subscription.343e4c3bf1f534d54f90.hot-update.js": "/chunks/settings-subscription.343e4c3bf1f534d54f90.hot-update.js", - "/chunks/settings-subscription.e419a9066899e834b8af.hot-update.js": "/chunks/settings-subscription.e419a9066899e834b8af.hot-update.js", - "/chunks/settings-subscription.2857dd0281ec461caa26.hot-update.js": "/chunks/settings-subscription.2857dd0281ec461caa26.hot-update.js", - "/chunks/settings-subscription.743f3c4fd296228d41e8.hot-update.js": "/chunks/settings-subscription.743f3c4fd296228d41e8.hot-update.js" + "/chunks/settings-invoices.e8073b78c0a86368c000.hot-update.js": "/chunks/settings-invoices.e8073b78c0a86368c000.hot-update.js", + "/chunks/settings-invoices.ff32ea1fb75b1eba7d79.hot-update.js": "/chunks/settings-invoices.ff32ea1fb75b1eba7d79.hot-update.js", + "/chunks/invoices.e2c672d3763d9ba9fc0a.hot-update.js": "/chunks/invoices.e2c672d3763d9ba9fc0a.hot-update.js", + "/chunks/settings-invoices.e2c672d3763d9ba9fc0a.hot-update.js": "/chunks/settings-invoices.e2c672d3763d9ba9fc0a.hot-update.js", + "/chunks/user-invoices.e2c672d3763d9ba9fc0a.hot-update.js": "/chunks/user-invoices.e2c672d3763d9ba9fc0a.hot-update.js", + "/chunks/settings-invoices.652c116a63086d21cd41.hot-update.js": "/chunks/settings-invoices.652c116a63086d21cd41.hot-update.js", + "/chunks/invoices.c441c126d72586353eee.hot-update.js": "/chunks/invoices.c441c126d72586353eee.hot-update.js", + "/chunks/user-invoices.c441c126d72586353eee.hot-update.js": "/chunks/user-invoices.c441c126d72586353eee.hot-update.js", + "/chunks/settings-invoices.ade5f8eedb48831e542e.hot-update.js": "/chunks/settings-invoices.ade5f8eedb48831e542e.hot-update.js", + "/js/main.6f4edd2630cc50693608.hot-update.js": "/js/main.6f4edd2630cc50693608.hot-update.js", + "/chunks/settings-invoices.c994d0d01cf2041a0e49.hot-update.js": "/chunks/settings-invoices.c994d0d01cf2041a0e49.hot-update.js", + "/js/main.07f6bde2effd5d500ec5.hot-update.js": "/js/main.07f6bde2effd5d500ec5.hot-update.js", + "/chunks/settings-invoices.4c9946c142e69a71a23f.hot-update.js": "/chunks/settings-invoices.4c9946c142e69a71a23f.hot-update.js", + "/chunks/settings-invoices.3665247eaf83e0250170.hot-update.js": "/chunks/settings-invoices.3665247eaf83e0250170.hot-update.js", + "/js/main.b6b22e39b06ae4f0bb30.hot-update.js": "/js/main.b6b22e39b06ae4f0bb30.hot-update.js", + "/chunks/settings-invoices.007566b2f5303b413778.hot-update.js": "/chunks/settings-invoices.007566b2f5303b413778.hot-update.js", + "/js/main.0175ccfa35a624c42f0b.hot-update.js": "/js/main.0175ccfa35a624c42f0b.hot-update.js", + "/js/main.5c552ebfc2f9f25052bf.hot-update.js": "/js/main.5c552ebfc2f9f25052bf.hot-update.js", + "/chunks/user-invoices.8e2265da8ba8b8d53666.hot-update.js": "/chunks/user-invoices.8e2265da8ba8b8d53666.hot-update.js", + "/chunks/invoices.259a7a3f7b5188752af2.hot-update.js": "/chunks/invoices.259a7a3f7b5188752af2.hot-update.js", + "/chunks/plan-subscribers.259a7a3f7b5188752af2.hot-update.js": "/chunks/plan-subscribers.259a7a3f7b5188752af2.hot-update.js", + "/chunks/settings-invoices.259a7a3f7b5188752af2.hot-update.js": "/chunks/settings-invoices.259a7a3f7b5188752af2.hot-update.js", + "/chunks/subscriptions.259a7a3f7b5188752af2.hot-update.js": "/chunks/subscriptions.259a7a3f7b5188752af2.hot-update.js", + "/chunks/invoices.f23f425cb71650e62d13.hot-update.js": "/chunks/invoices.f23f425cb71650e62d13.hot-update.js", + "/chunks/plan-subscribers.f23f425cb71650e62d13.hot-update.js": "/chunks/plan-subscribers.f23f425cb71650e62d13.hot-update.js", + "/chunks/settings-invoices.f23f425cb71650e62d13.hot-update.js": "/chunks/settings-invoices.f23f425cb71650e62d13.hot-update.js", + "/chunks/subscriptions.f23f425cb71650e62d13.hot-update.js": "/chunks/subscriptions.f23f425cb71650e62d13.hot-update.js", + "/chunks/user-invoices.f23f425cb71650e62d13.hot-update.js": "/chunks/user-invoices.f23f425cb71650e62d13.hot-update.js", + "/chunks/settings-invoices.93a32e1134d82657e072.hot-update.js": "/chunks/settings-invoices.93a32e1134d82657e072.hot-update.js", + "/chunks/settings-invoices.2b40a2db7ab892f82357.hot-update.js": "/chunks/settings-invoices.2b40a2db7ab892f82357.hot-update.js", + "/chunks/settings-invoices.97562cbd4d1fe73361e2.hot-update.js": "/chunks/settings-invoices.97562cbd4d1fe73361e2.hot-update.js", + "/chunks/settings-invoices.caf1866a84ad26b8d7fe.hot-update.js": "/chunks/settings-invoices.caf1866a84ad26b8d7fe.hot-update.js", + "/chunks/settings-invoices.34e668cba009bb85c047.hot-update.js": "/chunks/settings-invoices.34e668cba009bb85c047.hot-update.js", + "/chunks/invoices.0248a652f6d39dc0ae9a.hot-update.js": "/chunks/invoices.0248a652f6d39dc0ae9a.hot-update.js", + "/chunks/plan-subscribers.0248a652f6d39dc0ae9a.hot-update.js": "/chunks/plan-subscribers.0248a652f6d39dc0ae9a.hot-update.js", + "/chunks/subscriptions.0248a652f6d39dc0ae9a.hot-update.js": "/chunks/subscriptions.0248a652f6d39dc0ae9a.hot-update.js", + "/chunks/user-invoices.0248a652f6d39dc0ae9a.hot-update.js": "/chunks/user-invoices.0248a652f6d39dc0ae9a.hot-update.js", + "/chunks/settings-invoices.ed2002e84be44c0903ed.hot-update.js": "/chunks/settings-invoices.ed2002e84be44c0903ed.hot-update.js", + "/chunks/invoices.d9276f09eae14c6787f9.hot-update.js": "/chunks/invoices.d9276f09eae14c6787f9.hot-update.js", + "/chunks/plan-subscribers.d9276f09eae14c6787f9.hot-update.js": "/chunks/plan-subscribers.d9276f09eae14c6787f9.hot-update.js", + "/chunks/subscriptions.d9276f09eae14c6787f9.hot-update.js": "/chunks/subscriptions.d9276f09eae14c6787f9.hot-update.js", + "/chunks/user-invoices.d9276f09eae14c6787f9.hot-update.js": "/chunks/user-invoices.d9276f09eae14c6787f9.hot-update.js", + "/chunks/user-invoices.7e33076d486e54549c70.hot-update.js": "/chunks/user-invoices.7e33076d486e54549c70.hot-update.js", + "/chunks/invoices.0512cda7029d22b6ba0c.hot-update.js": "/chunks/invoices.0512cda7029d22b6ba0c.hot-update.js" } diff --git a/resources/js/components/Subscription/SelectPlanSubscriptionPopup.vue b/resources/js/components/Subscription/SelectPlanSubscriptionPopup.vue index b233c623..5b61d20e 100644 --- a/resources/js/components/Subscription/SelectPlanSubscriptionPopup.vue +++ b/resources/js/components/Subscription/SelectPlanSubscriptionPopup.vue @@ -197,17 +197,31 @@ const userId = this.user.data.id const app = this - // Initialize paypal buttons - await paypal.Buttons({ + // Initialize paypal buttons for subscription + /*await paypal.Buttons({ createSubscription: function(data, actions) { return actions.subscription.create({ - 'plan_id': planId, - 'custom_id': userId + plan_id: planId, + custom_id: userId }); }, onApprove: function(data, actions) { app.paymentSuccessful() } + }).render('#paypal-button-container');*/ + + // Initialize paypal buttons for subscription + await paypal.Buttons({ + createOrder: function(data, actions) { + return actions.order.create({ + purchase_units: [{ + amount: { + value: '10.49', + }, + custom_id: userId + }] + }); + } }).render('#paypal-button-container'); }, selectPlan(plan) { diff --git a/resources/js/helpers/functionHelpers.js b/resources/js/helpers/functionHelpers.js index 33f4bd9b..f2985f70 100644 --- a/resources/js/helpers/functionHelpers.js +++ b/resources/js/helpers/functionHelpers.js @@ -327,6 +327,7 @@ const FunctionHelpers = { 'paypal': '/assets/payments/paypal.svg', 'paystack': store.getters.isDarkMode ? '/assets/payments/paystack-dark.svg' : '/assets/payments/paystack.svg', 'stripe': '/assets/payments/stripe.svg', + 'system': this.$getImage(store.getters.config.app_logo_horizontal), }[driver] } @@ -348,6 +349,24 @@ const FunctionHelpers = { }[status] } + Vue.prototype.$getTransactionTypeTextColor = function (type) { + + return { + 'withdrawal': 'text-red-500', + 'credit': 'text-green-500', + 'charge': '', + }[type] + } + + Vue.prototype.$getTransactionMark = function (type) { + + return { + 'withdrawal': '-', + 'credit': '+', + 'charge': '', + }[type] + } + Vue.prototype.$goToFileView = function (id) { let locations = { diff --git a/resources/js/views/Admin/Invoices.vue b/resources/js/views/Admin/Invoices.vue index d395e523..646e1020 100644 --- a/resources/js/views/Admin/Invoices.vue +++ b/resources/js/views/Admin/Invoices.vue @@ -12,7 +12,7 @@ - {{ row.data.attributes.plan_name }} + {{ row.data.attributes.note }} @@ -41,8 +41,8 @@ - - {{ row.data.attributes.price }} + + {{ $getTransactionMark(row.data.attributes.type) + row.data.attributes.price }} @@ -51,7 +51,7 @@ - + @@ -133,8 +133,8 @@ invoices: [], columns: [ { - label: this.$t('Plan'), - field: 'plan_name', + label: this.$t('Note'), + field: 'note', sortable: true }, { diff --git a/resources/js/views/Admin/Plans/PlanTabs/PlanSubscribers.vue b/resources/js/views/Admin/Plans/PlanTabs/PlanSubscribers.vue index 1790de58..f4452c9c 100644 --- a/resources/js/views/Admin/Plans/PlanTabs/PlanSubscribers.vue +++ b/resources/js/views/Admin/Plans/PlanTabs/PlanSubscribers.vue @@ -44,7 +44,7 @@ - + @@ -100,7 +100,7 @@ sortable: true }, { - label: this.$t('Plan'), + label: this.$t('Note'), field: 'plan.name', sortable: true }, diff --git a/resources/js/views/Admin/Subscriptions.vue b/resources/js/views/Admin/Subscriptions.vue index 2911dae1..3310308a 100644 --- a/resources/js/views/Admin/Subscriptions.vue +++ b/resources/js/views/Admin/Subscriptions.vue @@ -48,7 +48,7 @@ - + @@ -142,7 +142,7 @@ sortable: true }, { - label: this.$t('Plan'), + label: this.$t('Note'), field: 'plan.name', sortable: true }, diff --git a/resources/js/views/Admin/Users/UserTabs/UserInvoices.vue b/resources/js/views/Admin/Users/UserTabs/UserInvoices.vue index 68130516..5bc9d492 100644 --- a/resources/js/views/Admin/Users/UserTabs/UserInvoices.vue +++ b/resources/js/views/Admin/Users/UserTabs/UserInvoices.vue @@ -11,7 +11,7 @@ - {{ row.data.attributes.plan_name }} + {{ row.data.attributes.note }} @@ -20,8 +20,8 @@ - - {{ row.data.attributes.price }} + + {{ $getTransactionMark(row.data.attributes.type) + row.data.attributes.price }} @@ -30,7 +30,7 @@ - + @@ -65,8 +65,8 @@ isLoading: true, columns: [ { - label: this.$t('Plan'), - field: 'plan_name', + label: this.$t('Note'), + field: 'note', sortable: true }, { diff --git a/resources/js/views/User/Invoices.vue b/resources/js/views/User/Invoices.vue index 62f1e519..00383486 100644 --- a/resources/js/views/User/Invoices.vue +++ b/resources/js/views/User/Invoices.vue @@ -11,7 +11,7 @@ - {{ row.data.attributes.plan_name }} + {{ row.data.attributes.note }} @@ -20,8 +20,8 @@ - - {{ row.data.attributes.price }} + + {{ $getTransactionMark(row.data.attributes.type) + row.data.attributes.price }} @@ -30,7 +30,7 @@ - + @@ -66,8 +66,8 @@ invoices: undefined, columns: [ { - label: this.$t('Plan'), - field: 'plan_name', + label: this.$t('Note'), + field: 'note', sortable: true }, { diff --git a/src/App/Users/Models/User.php b/src/App/Users/Models/User.php index 1bd9c440..fdad986c 100644 --- a/src/App/Users/Models/User.php +++ b/src/App/Users/Models/User.php @@ -23,6 +23,7 @@ use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Foundation\Auth\User as Authenticatable; use Illuminate\Database\Eloquent\Relations\BelongsToMany; use VueFileManager\Subscription\App\User\Traits\Billable; +use VueFileManager\Subscription\Domain\Credits\Traits\Credits; /** * @property string id @@ -45,6 +46,7 @@ class User extends Authenticatable implements MustVerifyEmail use HasFactory; use Sortable; use Billable; + use Credits; protected $guarded = [ 'id',