31 lines
731 B
PHP
31 lines
731 B
PHP
<?php
|
|
|
|
namespace App\Http\Controllers\Club;
|
|
|
|
use App\Http\Controllers\Controller;
|
|
|
|
class ShopController extends Controller
|
|
{
|
|
/**
|
|
* Show index page
|
|
*
|
|
* @return \Illuminate\Contracts\View\View
|
|
*/
|
|
public function index(): \Illuminate\Contracts\View\View
|
|
{
|
|
return view('club.pages.shop.index');
|
|
}
|
|
|
|
/**
|
|
* Show index page
|
|
*
|
|
* @return \Illuminate\Contracts\View\View
|
|
*/
|
|
public function create(): \Illuminate\Contracts\View\View
|
|
{
|
|
/** @var \App\Models\Customer $customerModel */
|
|
$customerModel = auth('club')->user();
|
|
$crmCustomer = $customerModel->api_data;
|
|
return view('club.pages.shop.recap', compact('crmCustomer'));
|
|
}
|
|
}
|