This commit is contained in:
sayliraut
2024-07-01 12:01:35 +05:30
parent 53f0068e2c
commit 7cdda08edc
2 changed files with 15 additions and 15 deletions

View File

@@ -1,6 +1,6 @@
<?php
namespace App\Http\Controllers\Admin\APIs\Customer_API;
namespace App\Http\Controllers\APIs\Customer_API;
use App\Http\Controllers\Controller;
use App\Services\APIs\CustomerAPIs\RulesApiServices;
@@ -11,17 +11,17 @@ class SubscriptionController extends Controller
{
//created by; Hritik
//created by; Hritik
//On - 28th June ,2024
//use - to get Data of User in Webview and show list of product
public function mySubscription(Request $request)
{
try {
return view('Admin.pages.subscriptions.my-subscription');
} catch (\Exception $e) {
Log::error("An error occurred in " . __METHOD__ . ": " . $e->getMessage(), ['exception' => $e]);
return jsonResponseWithErrorMessage(__('auth.something_went_wrong'), 500);
@@ -29,7 +29,7 @@ class SubscriptionController extends Controller
}
//created by; Hritik
//created by; Hritik
//On - 28th June ,2024
//use - to get Data of User in Webview and show list of product
@@ -37,11 +37,11 @@ class SubscriptionController extends Controller
public function listOfProduct(Request $request)
{
try {
return view('Admin.pages.subscriptions.list-of-products');
} catch (\Exception $e) {
Log::error("An error occurred in " . __METHOD__ . ": " . $e->getMessage(), ['exception' => $e]);
return jsonResponseWithErrorMessage(__('auth.something_went_wrong'), 500);
@@ -50,7 +50,7 @@ class SubscriptionController extends Controller
//created by; Hritik
//created by; Hritik
//On - 18th May ,2024
//use - to get Data of Detailed List Of Product , Monthly & Yearly
public function nextPage(Request $request)
@@ -111,7 +111,7 @@ class SubscriptionController extends Controller
}
}
//created by :-Hritik
//created by :-Hritik
// On - 16th may ,2024
//subscription to a particular project based on plans and returning the subscription id to web to open Subscription screen
public function subscribeToProduct(Request $request)
@@ -235,7 +235,7 @@ class SubscriptionController extends Controller
//created by; Hritik
//created by; Hritik
//On - 28th May ,2024
//use - To cancel the subscription of user on end of subscription end period

View File

@@ -1,6 +1,6 @@
<?php
use App\Http\Controllers\Admin\APIs\Customer_API\SubscriptionController;
use App\Http\Controllers\APIs\Customer_API\SubscriptionController;
use Illuminate\Support\Facades\Route;
use App\Http\Controllers\Admin\ManageProfileController;
use App\Http\Controllers\Admin\ManageCustomerController;