Skip to content

Commit

Permalink
form pembayaran (calon mahasiswa)
Browse files Browse the repository at this point in the history
  • Loading branch information
BlowTorchhh committed Sep 22, 2023
1 parent d1e5048 commit 85c5988
Show file tree
Hide file tree
Showing 2 changed files with 267 additions and 214 deletions.
3 changes: 3 additions & 0 deletions app/Http/Controllers/PendaftaranController.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
namespace App\Http\Controllers;

use Illuminate\Http\Request;
use Illuminate\Support\Facades\DB;

class PendaftaranController extends Controller
{
Expand All @@ -18,8 +19,10 @@ public function index()

public function formPendaftaranMahasiswa()
{
$email = auth()->user()->email;
$data = [
'title' => 'Form Pendaftaran Mahasiswa',
'cekDaftar' => DB::table('mahasiswa')->where('email',$email)->count(),
];

return view('pages.mahasiswa.pendaftaran', $data);
Expand Down
Loading

0 comments on commit 85c5988

Please sign in to comment.