mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-19 12:33:56 +00:00
66 lines
1.9 KiB
PHP
66 lines
1.9 KiB
PHP
<?php
|
|
|
|
use Illuminate\Support\Carbon;
|
|
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 within a group which
|
|
| contains the "web" middleware group. Now create something great!
|
|
|
|
|
*/
|
|
|
|
Route::get('', function () {
|
|
return view('pages.accounts.login');
|
|
})->name('login');
|
|
|
|
Route::get('/account/email/verification/{token}', function ($token) {
|
|
return view('pages.accounts.email_verified', ['token' => $token]);
|
|
})->name('account.email.verification');
|
|
|
|
Route::get('/account/password/reset/{token}', function ($token) {
|
|
return view('pages.accounts.reset_password', ['token' => $token]);
|
|
})->name('account.password.reset');
|
|
|
|
Route::get('/dashboard', function () {
|
|
return view('pages.dashboards.index');
|
|
})->name('dashboard');
|
|
|
|
Route::get('/banks', function () {
|
|
return view('pages.banks.index');
|
|
})->name('banks');
|
|
|
|
|
|
Route::get('/settings', function () {
|
|
return view('pages.settings');
|
|
})->name('settings');
|
|
|
|
Route::get('/customer/{marking}', function ($marking) {
|
|
$id = \App\Models\Company::where('reference', '=', $marking)->first()->id;
|
|
return view('pages.customers', ['id' => $id]);
|
|
})->name('customer.profile');
|
|
|
|
Route::get('/payments', function () {
|
|
return view('pages.payments');
|
|
})->name('payments');
|
|
|
|
Route::get('/bookings', function () {
|
|
return view('pages.bookings');
|
|
})->name('bookings');
|
|
|
|
Route::get('/transfer/{marking}', function ($marking) {
|
|
return view('pages.booking_details', ['marking' => $marking]);
|
|
})->name('booking.details');
|
|
|
|
Route::get('/transfer/merge/{marking}', function ($marking) {
|
|
return view('pages.booking_merge', ['marking' => $marking]);
|
|
})->name('booking.merge');
|
|
|
|
Route::get('/clock', function () {
|
|
dd(Carbon::now());
|
|
});
|