26 lines
1.0 KiB
PHP
26 lines
1.0 KiB
PHP
<?php
|
|
|
|
use App\Http\Controllers\Kasir\Transaksi;
|
|
use Illuminate\Support\Facades\Route;
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Web Routes
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Here is where you can register web routes for your application. These
|
|
| routes are loaded by the RouteServiceProvider and all of them will
|
|
| be assigned to the "web" middleware group. Make something great!
|
|
|
|
|
*/
|
|
|
|
Route::get('/', [Transaksi::class, 'index'])->name('transaksi.index');
|
|
|
|
Route::group(['prefix' => 'transaksi'], function () {
|
|
Route::get('/', [Transaksi::class, 'index'])->name('transaksi.index');
|
|
Route::post('/store', [Transaksi::class, 'store'])->name('transaksi.store');
|
|
Route::get('/print/{id}', [Transaksi::class, 'print'])->name('transaksi.print');
|
|
Route::get('/detail/{id}', [Transaksi::class, 'detail'])->name('transaksi.detail');
|
|
Route::get('/select-paket/{KODE}', [Transaksi::class, 'selectPaket'])->name('transaksi.select-paket');
|
|
});
|