-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathweb.php
35 lines (27 loc) · 1.66 KB
/
web.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<?php
use Illuminate\Support\Facades\Route;
use App\Http\Controllers\C_Auth;
use App\Http\Controllers\C_Dashboard;
use App\Http\Controllers\C_Produk;
use App\Http\Controllers\C_Penjualan;
use App\Http\Controllers\C_Apriori;
use App\Http\Controllers\C_Laporan;
Route::get('/', [C_Auth::class, 'loginPage']);
Route::post('/auth/login/proses', [C_Auth::class, 'loginProses']);
Route::get('/auth/logout', [C_Auth::class, 'logout']);
Route::get('/dashboard',[C_Dashboard::class, 'dashboard']);
Route::get('/dashboard/beranda', [C_Dashboard::class, 'berandaPage']);
Route::get('/app/produk/data', [C_Produk::class, 'dataProdukPage']);
Route::post('/app/produk/tambah/proses', [C_Produk::class, 'prosesTambahProduk']);
Route::post('/app/produk/data/res', [C_Produk::class, 'getDataProdukRes']);
Route::post('/app/produk/update/proses', [C_Produk::class, 'prosesUpdateProduk']);
Route::post('/app/produk/hapus/proses', [C_Produk::class, 'prosesHapusProduk']);
Route::post('/app/produk/import/proses', [C_Produk::class, 'prosesImportProduk']);
Route::get('/app/penjualan/data', [C_Penjualan::class, 'dataPenjualanPage']);
Route::get('/app/penjualan/detail/{kdFaktur}', [C_Penjualan::class, 'detailPenjualan']);
Route::get('/app/apriori/setup', [C_Apriori::class, 'setupPerhitunganApriori']);
Route::post('/app/apriori/analisa/proses', [C_Apriori::class, 'prosesAnalisaApriori']);
Route::get('/app/apriori/analisa/hasil/{kdPengujian}', [C_Apriori::class, 'hasilAnalisa']);
Route::get('/apriori/analisa/cetak/{kdPengujian}', [C_Apriori::class, 'cetakAnalisa']);
Route::get('/app/laporan/data', [C_Laporan::class, 'dataLaporan']);
Route::get('/app/info-aplikasi', [C_Dashboard::class, 'infoAplikasi']);