123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- <?php
- 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!
- |
- */
- /*
- * if no pro performer, then redirect to /login
- * [Cell Number] [Password] field -> proLogInWithPassword -> /pro/dashboard
- * -> they are authenticated in... see the home dashboard... logout button to -> /login
- */
- Route::get('login', 'LoginController@showLoginForm')->name('login');
- Route::post('login', 'LoginController@login');
- Route::post('logout', 'LoginController@logout')->name('logout');
- Route::middleware('pro.auth')->group(function () {
- Route::get('/', 'HomeController@dashboard')->name('dashboard');
- Route::get('/patients', 'HomeController@patients')->name('patients');
- Route::prefix('practice-management')->group(function () {
- Route::get('dashboard', 'PracticeManagementController@dashboard')->name('dashboard');
- Route::get('rates', 'PracticeManagementController@rates')->name('rates');
- Route::get('previous-bills', 'PracticeManagementController@previousBills')->name('previousBills');
- Route::get('financial-transactions', 'PracticeManagementController@financialTransactions')->name('financialTransactions');
- Route::get('pending-bills-to-sign', 'PracticeManagementController@pendingBillsToSign')->name('pendingBillsToSign');
- Route::get('hr', 'PracticeManagementController@HRPracticeMan')->name('HRPracticeMan');
- Route::get('direct-deposit-settings', 'PracticeManagementController@directDepositSettings')->name('directDepositSettings');
- Route::get('w9', 'PracticeManagementController@w9')->name('w9');
- Route::get('contract', 'PracticeManagementController@contract')->name('contract');
- });
- });
|