Test Front End Fandi Ahmad Joansyah

This commit is contained in:
person-programmer
2025-12-02 13:21:26 +07:00
parent 461a740be0
commit 1430a21ef5
6 changed files with 371 additions and 0 deletions
+16
View File
@@ -4,6 +4,7 @@ use Illuminate\Support\Facades\Route;
use App\Http\Controllers\ProductController;
use App\Http\Controllers\InvoiceController;
use App\Http\Controllers\OrderController;
use App\Http\Controllers\PasienController;
use App\Http\Controllers\CustomerController;
use Illuminate\Http\Request;
@@ -85,4 +86,19 @@ Route::get('/dashboard', function () {
return view('dashboard');
})->middleware(['auth'])->name('dashboard');
//start route test fandy FE
Route::get('/test', function () {
return view('');
});
Route::get('/pendaftaran-pasien', [PasienController::class,'daftarPasienBaru'])->middleware(['auth'])->name('new.pasien');
Route::post('/pendaftaran-pasien-success', [PasienController::class,'berhasilDaftarPasienBaru'])->middleware(['auth'])->name('success-new.pasien');
Route::get('/list-pendaftaran-pasien', [PasienController::class,'lihatListKunjunganPasien'])->middleware(['auth'])->name('show.pasien');
//end route test fandy FE
require __DIR__.'/auth.php';