diff --git a/app/Http/Controllers/Admin/UserController.php b/app/Http/Controllers/Admin/UserController.php index 9d861fa8..1108fc62 100644 --- a/app/Http/Controllers/Admin/UserController.php +++ b/app/Http/Controllers/Admin/UserController.php @@ -83,6 +83,12 @@ class UserController extends Controller */ public function subscription($id) { + $user = User::find($id); + + if (! $user->stripeId()) { + return response('User is not stripe customer', 404); + } + return new UserSubscription( User::find($id) ); diff --git a/public/mix-manifest.json b/public/mix-manifest.json index e7fce826..00f525b1 100644 --- a/public/mix-manifest.json +++ b/public/mix-manifest.json @@ -77,5 +77,106 @@ "/js/main.95f2eda8c8f6eddf91c4.hot-update.js": "/js/main.95f2eda8c8f6eddf91c4.hot-update.js", "/js/main.c6d99369d738f4a74fe5.hot-update.js": "/js/main.c6d99369d738f4a74fe5.hot-update.js", "/js/main.1cf2639585cda2d389ca.hot-update.js": "/js/main.1cf2639585cda2d389ca.hot-update.js", - "/js/main.4597a7e63646bbbda998.hot-update.js": "/js/main.4597a7e63646bbbda998.hot-update.js" + "/js/main.4597a7e63646bbbda998.hot-update.js": "/js/main.4597a7e63646bbbda998.hot-update.js", + "/js/main.e2469ce1cec32623dabe.hot-update.js": "/js/main.e2469ce1cec32623dabe.hot-update.js", + "/js/main.c65ce2fa2d3062f4862d.hot-update.js": "/js/main.c65ce2fa2d3062f4862d.hot-update.js", + "/js/main.b8644dee1a163e3fb94e.hot-update.js": "/js/main.b8644dee1a163e3fb94e.hot-update.js", + "/js/main.84815c8f5d9a62546026.hot-update.js": "/js/main.84815c8f5d9a62546026.hot-update.js", + "/js/main.6a573d874a47123bca89.hot-update.js": "/js/main.6a573d874a47123bca89.hot-update.js", + "/js/main.80cf720080ad37703502.hot-update.js": "/js/main.80cf720080ad37703502.hot-update.js", + "/js/main.9a22345ac9c67687657e.hot-update.js": "/js/main.9a22345ac9c67687657e.hot-update.js", + "/js/main.a8980315578840682a58.hot-update.js": "/js/main.a8980315578840682a58.hot-update.js", + "/js/main.dd5053d86ae64c99e47a.hot-update.js": "/js/main.dd5053d86ae64c99e47a.hot-update.js", + "/js/main.dc23da6ed6b923a8631c.hot-update.js": "/js/main.dc23da6ed6b923a8631c.hot-update.js", + "/js/main.14efc460b0e00a761312.hot-update.js": "/js/main.14efc460b0e00a761312.hot-update.js", + "/js/main.65e4697b8522747b7a55.hot-update.js": "/js/main.65e4697b8522747b7a55.hot-update.js", + "/js/main.bfb0a41fc85267032c3e.hot-update.js": "/js/main.bfb0a41fc85267032c3e.hot-update.js", + "/js/main.51a2a715a914dd1e8a06.hot-update.js": "/js/main.51a2a715a914dd1e8a06.hot-update.js", + "/js/main.5c2d35b8c4f196807a29.hot-update.js": "/js/main.5c2d35b8c4f196807a29.hot-update.js", + "/js/main.6f92c12049b8062dab0d.hot-update.js": "/js/main.6f92c12049b8062dab0d.hot-update.js", + "/js/main.e845e1fea71344b06a40.hot-update.js": "/js/main.e845e1fea71344b06a40.hot-update.js", + "/js/main.2ad1a51e6f6ca6411354.hot-update.js": "/js/main.2ad1a51e6f6ca6411354.hot-update.js", + "/js/main.1292a383af7dc998f9d6.hot-update.js": "/js/main.1292a383af7dc998f9d6.hot-update.js", + "/js/main.8a9a5e6e982b7a6e4834.hot-update.js": "/js/main.8a9a5e6e982b7a6e4834.hot-update.js", + "/js/main.790228adae3eb321d000.hot-update.js": "/js/main.790228adae3eb321d000.hot-update.js", + "/js/main.2b15bb4b8a7361b8af7b.hot-update.js": "/js/main.2b15bb4b8a7361b8af7b.hot-update.js", + "/js/main.9f435c70d1a45f2c39cb.hot-update.js": "/js/main.9f435c70d1a45f2c39cb.hot-update.js", + "/js/main.a6e046bec1a3976e3aec.hot-update.js": "/js/main.a6e046bec1a3976e3aec.hot-update.js", + "/js/main.ccd9c0762ede3e367015.hot-update.js": "/js/main.ccd9c0762ede3e367015.hot-update.js", + "/js/main.7f40f0030a21000ae153.hot-update.js": "/js/main.7f40f0030a21000ae153.hot-update.js", + "/js/main.be67e993ad365d080bad.hot-update.js": "/js/main.be67e993ad365d080bad.hot-update.js", + "/js/main.2b08f1fb4891cc2fd2bc.hot-update.js": "/js/main.2b08f1fb4891cc2fd2bc.hot-update.js", + "/js/main.a7e4a81f74a77f03a37f.hot-update.js": "/js/main.a7e4a81f74a77f03a37f.hot-update.js", + "/js/main.587310d2c741d5d4730d.hot-update.js": "/js/main.587310d2c741d5d4730d.hot-update.js", + "/js/main.d1ecb52bcc001d6e1f2c.hot-update.js": "/js/main.d1ecb52bcc001d6e1f2c.hot-update.js", + "/js/main.dda73e3f56ac3ed7aa68.hot-update.js": "/js/main.dda73e3f56ac3ed7aa68.hot-update.js", + "/js/main.eaeb84e7346581e39a1d.hot-update.js": "/js/main.eaeb84e7346581e39a1d.hot-update.js", + "/js/main.9e922583983080939088.hot-update.js": "/js/main.9e922583983080939088.hot-update.js", + "/js/main.68e92b32573c00e1a1c6.hot-update.js": "/js/main.68e92b32573c00e1a1c6.hot-update.js", + "/js/main.d7700219a6c6dc8f152f.hot-update.js": "/js/main.d7700219a6c6dc8f152f.hot-update.js", + "/js/main.75d92a2cc7b6522a6e17.hot-update.js": "/js/main.75d92a2cc7b6522a6e17.hot-update.js", + "/js/main.a4de077bce2df0f69571.hot-update.js": "/js/main.a4de077bce2df0f69571.hot-update.js", + "/js/main.718205baff18bafe32d1.hot-update.js": "/js/main.718205baff18bafe32d1.hot-update.js", + "/js/main.d0a7a15861717656ff4b.hot-update.js": "/js/main.d0a7a15861717656ff4b.hot-update.js", + "/js/main.f56f5e6df91a059ba662.hot-update.js": "/js/main.f56f5e6df91a059ba662.hot-update.js", + "/js/main.b161f326250f38288053.hot-update.js": "/js/main.b161f326250f38288053.hot-update.js", + "/js/main.0a3e5f7d914defa9f19a.hot-update.js": "/js/main.0a3e5f7d914defa9f19a.hot-update.js", + "/js/main.5f67a4347204c33a8a78.hot-update.js": "/js/main.5f67a4347204c33a8a78.hot-update.js", + "/js/main.947e138447a38375c536.hot-update.js": "/js/main.947e138447a38375c536.hot-update.js", + "/js/main.28854b0e7935d8be3e71.hot-update.js": "/js/main.28854b0e7935d8be3e71.hot-update.js", + "/js/main.09896e483163ade42217.hot-update.js": "/js/main.09896e483163ade42217.hot-update.js", + "/js/main.0679c18da1e5f3a0401b.hot-update.js": "/js/main.0679c18da1e5f3a0401b.hot-update.js", + "/js/main.43d0df9d193d6d800053.hot-update.js": "/js/main.43d0df9d193d6d800053.hot-update.js", + "/js/main.69e592acb3a2685c88bf.hot-update.js": "/js/main.69e592acb3a2685c88bf.hot-update.js", + "/js/main.a6a27a19d6f9917ca89c.hot-update.js": "/js/main.a6a27a19d6f9917ca89c.hot-update.js", + "/js/main.d31193d605ee035b2c6b.hot-update.js": "/js/main.d31193d605ee035b2c6b.hot-update.js", + "/js/main.a2b4795c91d64a312bfe.hot-update.js": "/js/main.a2b4795c91d64a312bfe.hot-update.js", + "/js/main.faf97c5fdd6bfb2b6961.hot-update.js": "/js/main.faf97c5fdd6bfb2b6961.hot-update.js", + "/js/main.b5a35727aaf17a7797e1.hot-update.js": "/js/main.b5a35727aaf17a7797e1.hot-update.js", + "/js/main.cbed727fc9169c35ddfc.hot-update.js": "/js/main.cbed727fc9169c35ddfc.hot-update.js", + "/js/main.188cdee78d82bbed2d2a.hot-update.js": "/js/main.188cdee78d82bbed2d2a.hot-update.js", + "/js/main.87a15316ae916f0a5fb9.hot-update.js": "/js/main.87a15316ae916f0a5fb9.hot-update.js", + "/js/main.c26e09bb3f19f9009fd4.hot-update.js": "/js/main.c26e09bb3f19f9009fd4.hot-update.js", + "/js/main.66ed0a280967a42f68be.hot-update.js": "/js/main.66ed0a280967a42f68be.hot-update.js", + "/js/main.34fead007f792960947a.hot-update.js": "/js/main.34fead007f792960947a.hot-update.js", + "/js/main.2e095129830f14a84ad2.hot-update.js": "/js/main.2e095129830f14a84ad2.hot-update.js", + "/js/main.4a61e48014b38fddddf5.hot-update.js": "/js/main.4a61e48014b38fddddf5.hot-update.js", + "/js/main.1786e4fb380504a02582.hot-update.js": "/js/main.1786e4fb380504a02582.hot-update.js", + "/js/main.19fae1912d0672ec2de6.hot-update.js": "/js/main.19fae1912d0672ec2de6.hot-update.js", + "/js/main.9f778815313dd17ea990.hot-update.js": "/js/main.9f778815313dd17ea990.hot-update.js", + "/js/main.9c6b0435cdf5642130f0.hot-update.js": "/js/main.9c6b0435cdf5642130f0.hot-update.js", + "/js/main.d4b9361c73535c1c9fcc.hot-update.js": "/js/main.d4b9361c73535c1c9fcc.hot-update.js", + "/js/main.9ba1689dbd6182a392c5.hot-update.js": "/js/main.9ba1689dbd6182a392c5.hot-update.js", + "/js/main.6ff950279ee2850d3e38.hot-update.js": "/js/main.6ff950279ee2850d3e38.hot-update.js", + "/js/main.b9036db1af5883e368f7.hot-update.js": "/js/main.b9036db1af5883e368f7.hot-update.js", + "/js/main.f2f180153841e408c342.hot-update.js": "/js/main.f2f180153841e408c342.hot-update.js", + "/js/main.d44ace2b797d29814e0b.hot-update.js": "/js/main.d44ace2b797d29814e0b.hot-update.js", + "/js/main.e9c5d32a329c3f426479.hot-update.js": "/js/main.e9c5d32a329c3f426479.hot-update.js", + "/js/main.335200a4015b20789260.hot-update.js": "/js/main.335200a4015b20789260.hot-update.js", + "/js/main.e8fd524031567bafcd85.hot-update.js": "/js/main.e8fd524031567bafcd85.hot-update.js", + "/js/main.560c9239961c69d32879.hot-update.js": "/js/main.560c9239961c69d32879.hot-update.js", + "/js/main.55d14b7524c9928b4cc2.hot-update.js": "/js/main.55d14b7524c9928b4cc2.hot-update.js", + "/js/main.7dec95a5940133f8c442.hot-update.js": "/js/main.7dec95a5940133f8c442.hot-update.js", + "/js/main.4801da054617712db2e3.hot-update.js": "/js/main.4801da054617712db2e3.hot-update.js", + "/js/main.1bd8c400e68c98d9721a.hot-update.js": "/js/main.1bd8c400e68c98d9721a.hot-update.js", + "/js/main.9aa73738cb5480bf91b3.hot-update.js": "/js/main.9aa73738cb5480bf91b3.hot-update.js", + "/js/main.65a58030423d10cc3032.hot-update.js": "/js/main.65a58030423d10cc3032.hot-update.js", + "/js/main.dc4ac1275fb9d6fa5e20.hot-update.js": "/js/main.dc4ac1275fb9d6fa5e20.hot-update.js", + "/js/main.e925afc5bb26f79cd7ef.hot-update.js": "/js/main.e925afc5bb26f79cd7ef.hot-update.js", + "/js/main.1d60a2a4329d53d56db4.hot-update.js": "/js/main.1d60a2a4329d53d56db4.hot-update.js", + "/js/main.86dcc65bb2b270ed2f0b.hot-update.js": "/js/main.86dcc65bb2b270ed2f0b.hot-update.js", + "/js/main.02a4b82ea83eb187c1ff.hot-update.js": "/js/main.02a4b82ea83eb187c1ff.hot-update.js", + "/js/main.1020ec0bb60553552fab.hot-update.js": "/js/main.1020ec0bb60553552fab.hot-update.js", + "/js/main.503ac3cabd0793d3686a.hot-update.js": "/js/main.503ac3cabd0793d3686a.hot-update.js", + "/js/main.72dd6eb33eea06a79e09.hot-update.js": "/js/main.72dd6eb33eea06a79e09.hot-update.js", + "/js/main.0ac83e2d51373634e487.hot-update.js": "/js/main.0ac83e2d51373634e487.hot-update.js", + "/js/main.2c1cb7e9cfb937e4ffb6.hot-update.js": "/js/main.2c1cb7e9cfb937e4ffb6.hot-update.js", + "/js/main.c96dbb1c4121a9443097.hot-update.js": "/js/main.c96dbb1c4121a9443097.hot-update.js", + "/js/main.0efacacb737b99bec58c.hot-update.js": "/js/main.0efacacb737b99bec58c.hot-update.js", + "/js/main.c5ea4f30b9b7f1df8744.hot-update.js": "/js/main.c5ea4f30b9b7f1df8744.hot-update.js", + "/js/main.21aaeeaaf06e5cbbc9ef.hot-update.js": "/js/main.21aaeeaaf06e5cbbc9ef.hot-update.js", + "/js/main.e71f6bd71eef17aa1119.hot-update.js": "/js/main.e71f6bd71eef17aa1119.hot-update.js", + "/js/main.0029144db32ea7c1e9a5.hot-update.js": "/js/main.0029144db32ea7c1e9a5.hot-update.js", + "/js/main.d8f463bb144619871d2b.hot-update.js": "/js/main.d8f463bb144619871d2b.hot-update.js", + "/js/main.6589d0fca8e17d97d9cf.hot-update.js": "/js/main.6589d0fca8e17d97d9cf.hot-update.js" } diff --git a/resources/js/App.vue b/resources/js/App.vue index 959f341a..fa8cdc8e 100644 --- a/resources/js/App.vue +++ b/resources/js/App.vue @@ -104,11 +104,11 @@ // Redirect to database verify code if ( installation === 'setup-database') { - this.$router.push({name: 'PurchaseCode'}) + //this.$router.push({name: 'PurchaseCode'}) // Redirect to starting installation process } else if ( installation === 'setup-disclaimer' ) { - this.$router.push({name: 'InstallationDisclaimer'}) + //this.$router.push({name: 'InstallationDisclaimer'}) } }, mounted() { diff --git a/resources/js/components/Others/Forms/FormLabel.vue b/resources/js/components/Others/Forms/FormLabel.vue index d32951f4..23832451 100644 --- a/resources/js/components/Others/Forms/FormLabel.vue +++ b/resources/js/components/Others/Forms/FormLabel.vue @@ -25,7 +25,7 @@ .form-label { display: flex; align-items: center; - margin-bottom: 20px; + margin-bottom: 30px; .icon { margin-right: 10px; diff --git a/resources/js/components/Others/Layout/PageTab.vue b/resources/js/components/Others/Layout/PageTab.vue index cccfc98c..e41f9a5d 100644 --- a/resources/js/components/Others/Layout/PageTab.vue +++ b/resources/js/components/Others/Layout/PageTab.vue @@ -22,6 +22,4 @@ + \ No newline at end of file diff --git a/resources/js/components/Others/Layout/PageTabGroup.vue b/resources/js/components/Others/Layout/PageTabGroup.vue index 72eb6220..597a5643 100644 --- a/resources/js/components/Others/Layout/PageTabGroup.vue +++ b/resources/js/components/Others/Layout/PageTabGroup.vue @@ -15,6 +15,6 @@ @import '@assets/vue-file-manager/_mixins'; .page-tab-group { - margin-bottom: 45px; + margin-bottom: 65px; } diff --git a/resources/js/components/Others/PageHeader.vue b/resources/js/components/Others/PageHeader.vue index 43dee051..b96e6130 100644 --- a/resources/js/components/Others/PageHeader.vue +++ b/resources/js/components/Others/PageHeader.vue @@ -35,7 +35,7 @@ width: 100%; position: sticky; top: 0; - padding: 20px 0; + padding-bottom: 20px; .title { @include font-size(18); diff --git a/resources/js/components/Others/StorageItemDetail.vue b/resources/js/components/Others/StorageItemDetail.vue index fd16afc7..7a8dc902 100644 --- a/resources/js/components/Others/StorageItemDetail.vue +++ b/resources/js/components/Others/StorageItemDetail.vue @@ -49,14 +49,14 @@ .icon { path, line, polyline, rect, circle, polygon { - stroke: $theme; + stroke: $text; } } .storage-progress { /deep/ span { - background: $theme; + background: $text; } } } diff --git a/resources/js/components/Sidebar/UserHeadline.vue b/resources/js/components/Sidebar/UserHeadline.vue index f8221347..94ceae1f 100644 --- a/resources/js/components/Sidebar/UserHeadline.vue +++ b/resources/js/components/Sidebar/UserHeadline.vue @@ -1,5 +1,5 @@