dealhub/app/Http/Controllers/Broker/BrokerProfileController.php
kusowl 1275a74506 feat: broker profile
- add morph to relationship
- add profile markup
- modify page-heading.blade.php to accept center and end sections
2026-01-13 18:06:27 +05:30

46 lines
917 B
PHP

<?php
namespace App\Http\Controllers\Broker;
use App\Http\Controllers\Controller;
use App\Models\User;
use Illuminate\Http\Request;
class BrokerProfileController extends Controller
{
/**
* Display the specified resource.
*/
public function show(User $profile)
{
return view('dashboards.broker.profile.show')
->with('name', $profile->name)
->with('joinDate', $profile->created_at->format('F Y'))
->with('email', $profile->email);
}
/**
* Show the form for editing the specified resource.
*/
public function edit(string $id)
{
//
}
/**
* Update the specified resource in storage.
*/
public function update(Request $request, string $id)
{
//
}
/**
* Remove the specified resource from storage.
*/
public function destroy(string $id)
{
//
}
}