PATH:
home
/
rwabteecom
/
project_11
/
app
/
Http
/
Controllers
/
Dashboard
/
Billing
/
Editing: BillingController.php
<?php namespace App\Http\Controllers\Dashboard\Billing; use App\Http\Controllers\Controller; use App\Models\Analytics; use App\Models\Domain; use App\Models\GeneralSetting; use App\Models\Link; use App\Models\User; use App\Models\UserPlan; use App\Notifications\User\SendPushNotification; use App\Services\Domain\DomainServices; use App\Services\Link\LinkServices; use App\Services\Socials\DomainSocialServices; use Illuminate\Http\Request; use App\Services\Socials\SocialServices; use Carbon\Carbon; use Exception; use Illuminate\Support\Facades\Notification; use Log; class BillingController extends Controller { public function __construct() { } public function index() { return view('dashboard.pages.billing'); } public function printInvoice($id) { $plan = UserPlan::query()->findOrFail($id); $gs = GeneralSetting::query()->first(); return view('dashboard.pages.pill')->with([ "plan" => $plan, "gs" => $gs ]); } }
SAVE
CANCEL