Update Model, dashboard, lahan

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
2026-04-29 11:06:31 +07:00
co-authored by Copilot
parent 8bcb0e47e0
commit d18b0668e1
21 changed files with 1654 additions and 59 deletions
@@ -0,0 +1,21 @@
<?php
namespace App\Http\Controllers\Web\Konfigurasi;
use App\Http\Controllers\Controller;
use App\Models\User;
use App\Models\Profile;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Storage;
use Illuminate\Support\Facades\Validator;
class ProfileController extends Controller
{
public function index()
{
$userid = auth()->user()->id;
$profile = Profile::where('user_id', $userid)->first();
$title = 'Profile';
return view('konfigurasi.profile.index', compact('title', 'profile'));
}
}