pintu2/app/Http/Controllers/AdminController.php

19 lines
323 B
PHP
Raw Normal View History

2024-02-27 22:53:57 +07:00
<?php
namespace App\Http\Controllers;
use App\Models\PengajuanDpuDpa;
2024-02-27 22:53:57 +07:00
use Illuminate\Http\Request;
2024-03-02 18:06:48 +07:00
2024-02-27 22:53:57 +07:00
class AdminController extends Controller
{
public function index(){
$layanan_dpudpa = PengajuanDpuDpa::count();
return view('admin.index',['title'=> 'Admin Dashboard', 'layanan_dpudpa'=>$layanan_dpudpa]);
2024-02-27 22:53:57 +07:00
}
2024-03-02 18:06:48 +07:00
2024-02-27 22:53:57 +07:00
}