76 lines
		
	
	
		
			2.2 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			76 lines
		
	
	
		
			2.2 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| 
 | |
| use Illuminate\Support\Facades\Route;
 | |
| use App\Models\Refund;
 | |
| use App\Models\transaction;
 | |
| use App\Models\Users;
 | |
| /*
 | |
| |--------------------------------------------------------------------------
 | |
| | 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('/', function () {
 | |
|     return view('index',[
 | |
|         'name'=>'Jilhan Haura',
 | |
|         "transaction"=>transaction::allTransactions()
 | |
|     ]);
 | |
| });
 | |
| Route::get('/detail_transaction', function () {
 | |
|     return view('transaction/detail-transaction',[
 | |
|         'name'=>'Jilhan Haura',
 | |
|         // "transaction"=> transaction::allTransactions()
 | |
|     ]);
 | |
| });
 | |
| Route::get('/history_transaction', function () {
 | |
|     return view('transaction/History_Transaction',[
 | |
|         'name'=>'Jilhan Haura',
 | |
|         "transaction"=> transaction::allTransactions()
 | |
|     ]);
 | |
| });
 | |
| Route::get('/tracking_transaction', function () {
 | |
|     return view('transaction/Tracking',[
 | |
|         'name'=>'Jilhan Haura',
 | |
|         "detail_transaction"=> transaction::allDetailTransactions()
 | |
|     ]);
 | |
| });
 | |
| Route::get('/history_refund', function () {
 | |
|     return view('refund/history-refund',[
 | |
|         'name'=>'Jilhan Haura',
 | |
|         "history_refund" => Refund::HistoryRefund()
 | |
|     ]);
 | |
| });
 | |
| Route::get('/detail_refund',function() {
 | |
|     return view('refund/detail-refund',[
 | |
|         'name'=>'Jilhan Haura',
 | |
|         "detail_refund"=> Refund::DetailRefund()
 | |
|     ]);
 | |
| });
 | |
| Route::get('/next_detail_refund',function() {
 | |
|     return view('refund/next-detail-refund',[
 | |
|         'name'=>"Jilhan Haura"
 | |
|     ]);
 | |
| });
 | |
| Route::get('/list_user',function() {
 | |
|     return view('users/list-user',[
 | |
|         'name'=>"Jilhan Haura",
 | |
|         "list_users" => Users::listUsers()
 | |
|     ]);
 | |
| });
 | |
| Route::get('/detail-user',function() {
 | |
|     return view('users/detail-user',[
 | |
|         'name'=>"Jilhan Haura",
 | |
|         // "list_users" => Users::listUsers()
 | |
|     ]);
 | |
| });
 | |
| Route::get('/profile',function() {
 | |
|     return view('profile/index',[
 | |
|         'name'=>"Jilhan Haura",
 | |
|         // "list_users" => Users::listUsers()
 | |
|     ]);
 | |
| }); |