IMMREX7
<?php
/*
|--------------------------------------------------------------------------
| 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 (App::environment('production')) {
URL::forceScheme('https');
}
//
Route::get('/', function () {
return view('frontpage');
});
Route::get('/contactus', function () {
return view('contactus');
});
Route::get('/product-services', function () {
return view('product-services');
});
Route::get('/privacy-policy', function () {
return view('privacy-policy');
});
Route::get('/refund-policy', function () {
return view('refund-policy');
});
Route::get('/terms-conditions', function () {
return view('terms-conditions');
});
Auth::routes();
Route::get('mj','OnlineRegistrationController@mjForm');
Route::get('onlinereg/{regno}/upload-documents','OnlineRegistrationController@uploadDocumentForm');
Route::post('uploadregdocuments','OnlineRegistrationController@uploadDocument');
Route::get('registernow/{school}','OnlineRegistrationController@onlineRegForm');
Route::get('enquiry/{school}','OnlineRegistrationController@enquiryForm');
Route::get('onlinereg/success/{school}','OnlineRegistrationController@registrationSuccessPage');
Route::get('onlinereg/success/{school}/{regNo}','OnlineRegistrationController@successPage');
Route::resource('onlinereg', 'OnlineRegistrationController');
Route::post('onlinereg/{id}','OnlineRegistrationController@update');
Route::get('id-card/{id}', 'OnlineRegistrationController@openVirtualCard');
Route::get('id-card-confirmation/{id}', 'OnlineRegistrationController@confirmCard');
Route::post('id-card', 'OnlineRegistrationController@saveVirtualCard');
Route::get('setsessionschool/{id}', 'Auth\SchoolLoginController@setSessionSchool');
Route::get('cashfree/pg', 'API\TransactionController@cashfreeReturn');
Route::get('corn/pg', 'API\TransactionController@cornPayments');
Route::post('cashfree/pg', 'API\TransactionController@cashfreeReturn');
Route::post('cashfree/webhook', 'API\TransactionController@cashfreeWebhook');
Route::get('juspay/return', 'API\TransactionController@juspayReturn');
Route::post('easebuzz-success', 'API\TransactionController@easebuzzReturn');
Route::post('easebuzz-webhook', 'API\TransactionController@easebuzzWebhook');
Route::post('easebuzz-failure', 'API\TransactionController@easebuzzReturn');
Route::post('window/attendance','API\AttendanceController@insertAttandanceData');
Route::get('window/attendance','API\AttendanceController@setAttendanceData');
Route::get('reversal/fee','API\AttendanceController@insertReversalData');
Route::get('fix/discount','API\AttendanceController@fixDiscount');
Route::get('payment-link/{regNo}','PaymentLinkController@index');
Route::get('exam-overview/{regNo}','PaymentLinkController@fetchPayments');
Route::get('payment-link-status','PaymentLinkController@validatePayment');
Route::get('payment-link-success','PaymentLinkController@show');
Route::group(['middleware' => ['auth']], function() {
Route::prefix('admin')->group(function() {
Route::get('/', 'HomeController@adminDashboard')->name('superadmin.dashboard');
Route::post('updtpassword', 'SuperAdminController@updatePassword');
Route::get('updtpassword', 'SuperAdminController@editPassword');
Route::get('sch/{id}/assignaccess', 'SchoolRegController@assignAccessForm');
Route::post('assignaccess', 'SchoolRegController@assignAccess');
Route::get('sch/{id}/deactivate', 'SchoolRegController@deactivateSchool');
Route::get('sch/{id}/activate', 'SchoolRegController@activateSchool');
Route::post('registration-params', 'SchoolRegController@activateOnlineRegistration');
Route::get('menus', 'SchoolRegController@manageMenu');
Route::get('salary-slip-format/{id}', 'SchoolRegController@salarySlip');
Route::post('salary-params', 'SchoolRegController@activateSlip');
Route::post('manage-menu', 'SchoolRegController@performModule');
Route::get('sch/{id}/online-registration', 'SchoolRegController@activateOnlineRegistrationForm');
Route::resource('schregister', 'SchoolRegController');
Route::resource('permissions', 'PermissionController');
Route::resource('addschadmin', 'SchoolAdminController');
Route::resource('emptypes', 'EmployeeTypeController');
Route::resource('banklist', 'BankController');
Route::resource('section-update', 'SectionController');
Route::resource('customers', 'BillCustomerController');
});
});
Route::get('payment-dashboard-overview/{id}','API\TransactionController@financialOpenDashboard');
Route::prefix('school')->group(function() {
Route::get('/creative', 'School\SchoolController@creative');
Route::resource('add-food-items', 'School\Canteen\FoodController');
Route::resource('food-vendor', 'School\Canteen\FoodVendorController');
Route::get('food-order-report', 'School\Canteen\FoodVendorController@report');
Route::get('pending-order-report', 'School\Canteen\FoodVendorController@reportPending');
Route::get('manage-food-order', 'School\Canteen\FoodVendorController@manageOrder');
Route::post('manage-food-order', 'School\Canteen\FoodVendorController@updateOrder');
Route::post('manage-food-stock', 'School\Canteen\FoodVendorController@updateFood');
Route::delete('remove-food-stock/{id}', 'School\Canteen\FoodVendorController@removeStock');
Route::get('food-vendor-dashboard', 'School\Canteen\FoodVendorController@manageFood');
Route::get('library-dashboard','School\SchoolController@libraryDashboard');
Route::get('hostel-dashboard','School\SchoolController@hostelDashboard');
Route::get('attendance-dashboard','School\SchoolController@attendanceDashboard');
Route::get('admission-dashboard','School\SchoolController@admissionDashboard');
Route::get('payment-dashboard','School\SchoolController@financialDashboard');
Route::get('stock-dashboard','School\SchoolController@stockDashboard');
Route::get('/menu-search', 'SchoolRegController@searchMenu');
Route::get('/login', 'Auth\SchoolLoginController@showLoginForm')->name('school.login');
Route::post('/login', 'Auth\SchoolLoginController@login')->name('school.login.submit');
Route::get('/otp-login', 'Auth\SchoolLoginController@showOtpForm')->name('school.otp');
Route::post('/otp-login', 'Auth\SchoolLoginController@verifyOtp')->name('school.otp.submit');
Route::post('/logout', 'Auth\SchoolLoginController@logout')->name('school.logout');
Route::post('updtfpassword', 'School\SchoolController@updatePassword');
Route::get('updtfpassword', 'School\SchoolController@editPassword');
Route::get('/', 'School\SchoolController@dashboardAnalytics')->name('school.dashboard');
Route::post('/dashboard-data', 'School\SchoolController@fetchDasboard');
Route::post('/add-todo', 'School\SchoolController@addTodo');
Route::post('/send-birthday-message', 'School\SchoolController@birthdayMessage');
Route::post('/to-todo/{id}', 'School\SchoolController@updateTodo');
Route::get('/to-todo', 'School\SchoolController@fetchtoDo');
Route::post('setsession', 'School\SchoolController@setSession')->name('setsession');
Route::get('current-session', 'School\SchoolController@setSession');
Route::post('updtpassword', 'SchoolProfileController@updatePassword');
Route::get('updtpassword', 'SchoolProfileController@editPassword');
Route::get('switchdashboard', 'SchoolProfileController@switchDashboard');
Route::get('/{id}/employees','SchoolProfileController@getEmployees');
Route::get('/{id}/students','SchoolProfileController@getStudents');
Route::get('/{id}/customer','SchoolProfileController@getCustomers');
Route::resource('schprofile', 'SchoolProfileController');
Route::resource('virtual-card', 'School\VirtualCardController');
Route::get('virtual-link/{id}', 'School\VirtualCardController@createLink');
Route::resource('virtual-view', 'School\VirtualViewController');
// Resetting Password
Route::post('password/email', 'School\SchoolForgotPasswordController@sendResetLinkEmail');
Route::get('password/reset', 'School\SchoolForgotPasswordController@showLinkRequestForm');
Route::post('password/reset', 'School\SchoolResetPasswordController@reset');
Route::get('password/reset/{token}', 'School\SchoolResetPasswordController@showResetForm')->name('school.password.reset');
//Master Data
Route::resource('outstanding', 'School\OutstandingController');
Route::resource('extra-feehead', 'School\ExtraFeeController');
Route::resource('subjects', 'School\SubjectController');
Route::get('banks', 'School\FinancialYearController@bankList');
Route::get('states', 'School\FinancialYearController@stateList');
Route::resource('fys', 'School\FinancialYearController');
Route::get('class/{id}/subjects', 'School\ClassMController@getSubjects');
Route::get('class/{id}/sections', 'School\ClassMController@getSections');
Route::get('class/{id}/sections/{idSection}/feeheader/{idStudent}', 'School\ClassMController@getStudentFees');
Route::get('class/{id}/sections/{idSection}/exams', 'School\ClassMController@getExams');
Route::get('schclass/{ids}/sections', 'School\ClassMController@getDropdownSections');
Route::resource('classes', 'School\ClassMController');
Route::get('section/{id}/feeheads', 'School\SectionController@getFeeheads');
Route::get('students/{id}/feeheads', 'School\SectionController@getStudentFeehead');
Route::get('sec/{ids}/{type}/students', 'School\SectionController@getCatwiseStudents');
Route::get('sec/{ids}/{type}/student', 'School\SectionController@getCategorywiseStudents');
Route::get('sec/{ids}/students', 'School\SectionController@getSectionsStudents');
Route::get('section/{id}/students', 'School\SectionController@getStudents');
Route::get('section/{id}/students/{year}', 'School\SectionController@getPromotionStudents');
Route::resource('sections', 'School\SectionController');
Route::resource('feeheads', 'School\FeeHeadController');
Route::post('feeheader', 'School\FeeHeadController@fetchFeehead');
Route::resource('north/headers', 'School\HeaderController');
Route::resource('north/feeheads', 'School\NorthFeeHeaderController');//north payment gateway
Route::resource('north/fine', 'School\NorthFineMaster');//north fine gateway
Route::get('emptypes/{type}/employees', 'School\EmployeeTypeController@getEmployees');
Route::resource('emptypes', 'School\EmployeeTypeController');
Route::resource('doctypes', 'School\DocumentTypeController');
Route::get('leave-document/{id}/view', 'School\LeaveController@viewDoc');
Route::get('leave-window/{id}', 'School\LeaveController@leaveWindow');
//Admission,Students reject-students
Route::post('update-regpaystatus','School\RegisteredStudentController@updatePaymentStatus');
Route::post('update-remarks','School\RegisteredStudentController@updateRemarksStatus');
Route::post('enquiry-move','School\RegisteredStudentController@enquiryMove');
Route::post('reject-students','School\RegisteredStudentController@updateRejectStatus');
Route::get('registration/{reg}/{type}/view','School\RegisteredStudentController@viewUploadedDocuments');
Route::get('registration/{reg}/documents','School\RegisteredStudentController@viewDocuments');
Route::get('registration/{reg}/admit','School\RegisteredStudentController@admitStudent');
Route::get('fee-admission/{reg}','School\RegisteredStudentController@feeDetails');
Route::resource('registered-students','School\RegisteredStudentController');
Route::get('enquiry-students','School\RegisteredStudentController@enquiry');
Route::get('rejected-students','School\RegisteredStudentController@rejected');
Route::get('form/{type}/print/{id}','School\RegisteredStudentController@printForm');
//
Route::post('assignbus', 'School\StudentController@assignBus');
Route::get('route/{classid}/{secid}/students', 'School\StudentController@getStudentList');
Route::get('assignbus', 'School\StudentController@assignBusForm');
Route::get('routes-assign/{id}/route/{route}/stop/{idStop}', 'School\StudentController@saveStudentRoute');
Route::post('stddocs', 'School\StudentController@saveStudentDocs');
Route::get('stddoc/{id}/view', 'School\StudentController@viewStdDoc');
Route::post('stddoc/{id}/delete', 'School\StudentController@deleteStdDoc');
Route::get('stddocs', 'School\StudentController@getStudentDocForm');
Route::get('inactive-students', 'School\StudentController@inactiveStudents');
Route::resource('students', 'School\StudentController');
// Student Report
Route::post('student-list', 'School\StudentReportController@studentList');
Route::get('studentlist', 'School\StudentReportController@studentListForm');
Route::get('reset/password/{id}', 'School\StudentReportController@resetStudent');
Route::post('imageupload', 'School\AdmissionEntryController@imageUpload');
Route::get('imageupload', 'School\AdmissionEntryController@imageUploadform');
Route::get('print/{id}', 'School\AdmissionEntryController@printStudentData');
Route::post('stdstatusupdate', 'School\AdmissionEntryController@updtStatus');
Route::get('std/{id}/activate', 'School\AdmissionEntryController@activateStudent');
Route::get('std/{id}/deactivate', 'School\AdmissionEntryController@deactivateStudent');
Route::resource('admentries', 'School\AdmissionEntryController');
Route::get('admentries/{id}/bonafide', 'School\StudentReportController@bonafied');
Route::get('admentries/{id}/transfer', 'School\StudentReportController@transferForm');
Route::post('transfer-data', 'School\StudentReportController@saveTransfer');
Route::get('admentries/{id}/transfer-print', 'School\StudentReportController@transfer');
Route::get('assigndiscount/{id}/activate', 'School\AssignDiscountController@activateDiscount');
Route::get('assigndiscount/{id}/deactivate', 'School\AssignDiscountController@deactivateDiscount');
Route::resource('assigndiscount', 'School\AssignDiscountController');
Route::resource('north/assigndiscount', 'School\NorthDiscountController');
Route::get('north/discount/{idStudent}/details', 'School\NorthDiscountController@getDiscountDetails');
Route::get('north/{idFee}/feeheads', 'School\NorthDiscountController@getFeeDetails');
Route::post('north/discount', 'School\NorthDiscountController@addFeeDiscount');
Route::resource('stdexcelupload', 'School\ExcelUploadController');
//Transaction
Route::resource('category', 'School\StudentCategoryController');
Route::get('feeheaders/{ids}/students/{studentid}', 'School\StudentTransactionController@getFeewiseData');
Route::post('feeheader-extra', 'School\StudentExtraTransactionController@getFeewiseData');
Route::get('stdtransaction/{id}/cancelrcpt', 'School\StudentTransactionController@cancelReceipt');
Route::get('stdtransaction/lessamt/{id}/cancelrcpt', 'School\StudentTransactionController@cancelLessPaidReceipt');
Route::post('stdtransaction/cancelrcpt', 'School\StudentTransactionController@receiptCancellation');
Route::get('stdtransaction/{id}/print', 'School\StudentTransactionController@printReceipt');
Route::get('stdtransaction/{id}/book-print', 'School\StudentTransactionController@printBookReceipt');
Route::get('stdtransaction/lessamt/{id}/print', 'School\StudentTransactionController@lesserAmtReceipt');
Route::get('stdfees/{idStudent}/details', 'School\StudentTransactionController@getFeeDetails');
Route::get('stdfees-extra/{idStudent}/details', 'School\StudentExtraTransactionController@getFeeDetails');
Route::get('stdfees', 'School\StudentTransactionController@index');
Route::get('north/stdfees/{id}/print', 'School\NorthTransactionController@printReceipt');
Route::get('north/hostelfees/{id}/print', 'School\NorthTransactionController@printHostelReceipt');
Route::get('north/bus/{id}/print', 'School\NorthTransactionController@printBusReceipt');
Route::get('north/lessamt/{id}/print', 'School\NorthTransactionController@lesserAmtReceipt');
Route::get('north/stdfees', 'School\NorthDiscountController@index');
Route::resource('stdtransaction', 'School\StudentTransactionController');
Route::resource('stdtransaction-extra', 'School\StudentExtraTransactionController');
Route::get('stdtransaction-extra/{id}/print', 'School\StudentExtraTransactionController@printReceipt');
Route::get('stdtransaction-extra/{id}/cancelrcpt', 'School\StdTransactionReportController@cancelReceipt');
Route::post('stdtransaction-extra/cancelrcpt', 'School\StdTransactionReportController@receiptCancellation');
Route::get('stdtransaction-reversal', 'School\StdTransactionReportController@reversalReport');
Route::get('today-bus-report', 'School\BusFeeReportController@todayReport');
Route::get('bus-reversal', 'School\BusFeeReportController@reversalReport');
Route::resource('north/stdtransaction', 'School\NorthTransactionController');
Route::get('north/stdtransaction/{idStudent}/details', 'School\NorthTransactionController@getFeeDetails');
Route::get('sec/{sectionids}/feedemands','School\NorthTransactionReportController@getFeeDemands');
Route::get('north/transactionreport','School\NorthTransactionReportController@transactionReport');
Route::get('north/lesstransaction','School\NorthTransactionReportController@lesserTransactionReport');
Route::get('north/daycollection','School\NorthTransactionReportController@dayCollection');
//Store dailywise transaction
Route::get('north/savedaycollection','School\NorthTransactionReportController@storedayCollection');
Route::get('north/newdaycollection','School\NorthTransactionReportController@newdayCollection');
Route::get('north/daywise-feecollection','School\NorthTransactionReportController@daywiseFeeCollection');
Route::get('north/daywise-hostelfees','School\NorthTransactionReportController@daywiseHostelFeeCollection');
Route::get('north/daywise-transportfees','School\BusFeeReportController@daywiseBusFeeCollection');
Route::get('cancelled-receipts', 'School\StdTransactionReportController@cancelledReceipts');
Route::get('extra-cancelled-receipts', 'School\StdTransactionReportController@cancelledExtraReceipts');
Route::get('paidfees', 'School\StdTransactionReportController@paidFees');
Route::get('today-report', 'School\StdTransactionReportController@todayReport');
Route::get('headwisefees-class-report', 'School\StdTransactionReportController@headerWiseClass');
Route::get('fees-class-report', 'School\StdTransactionReportController@headerClass');
Route::get('lesspaidfees', 'School\StdTransactionReportController@lessPaidFees');
Route::get('headwisefees', 'School\StdTransactionReportController@feeheadWiseDues');
Route::get('pendingfees', 'School\StdTransactionReportController@pendingDues');
Route::get('purchase-report', 'School\StdTransactionReportController@purchaseHistory');
Route::get('extra-fee-report', 'School\StdTransactionReportController@extraFeesPaid');
Route::get('discount-list', 'School\StdTransactionReportController@royalDiscountList');
Route::get('purchase-report/{id}/view', 'School\StdTransactionReportController@showPurchase');
Route::get('purchase-report/{id}/print', 'School\StdTransactionReportController@printPurchase');
Route::get('purchase-report/{id}/sold', 'School\StdTransactionReportController@markPurchase');
// Credit Note ,SMS
Route::get('printcreditnote', 'School\CreditNoteController@printCreditNote');
Route::get('stdduedata', 'School\CreditNoteController@studentDues');
Route::resource('creditnotes', 'School\CreditNoteController');
Route::get('chequelist', 'School\ChequeBounceController@getChequeList');
Route::post('online-bounce', 'School\ChequeBounceController@storeOnlineRecon');
Route::get('online-receipt-cancellation', 'School\ChequeBounceController@onlineRecon');
Route::get('chequelist-extra', 'School\ChequeBounceController@getChequeListExtra');
Route::resource('chequebounce', 'School\ChequeBounceController');
// Class Promotion
Route::get('stdstrength', 'School\ClassPromotionController@stdStrength');
Route::resource('classpromotion', 'School\ClassPromotionController');
// Communication
Route::get('homeworks/{id}/viewdoc', 'School\HomeworkController@viewHomeworkDoc');
Route::resource('homeworks', 'School\HomeworkController');
Route::get('noticeboards/{id}/viewdoc', 'School\NoticeboardController@viewNDoc');
Route::resource('noticeboards', 'School\NoticeboardController');
Route::resource('holidays', 'School\HolidayController');
Route::resource('hrms-holidays', 'School\HrmsHolidayController');
Route::resource('galleries', 'School\GalleryController');
Route::get('gfolders/{id}/images', 'School\GalleryFolderController@folderImages');
Route::resource('gfolders', 'School\GalleryFolderController');
Route::resource('employeesms', 'School\EmployeeSmsController');
Route::resource('sendsms', 'School\SmsController');
Route::resource('thoughts', 'School\WeekThoughtController');
Route::resource('newsletters', 'School\NewsLetterController');
Route::resource('positivenews', 'School\PositiveNewsController');
Route::resource('shstories', 'School\ShortStoryController');
Route::resource('periods', 'School\PeriodController');
Route::resource('live/link', 'School\LiveLinkController');
Route::get('practiceset/{id}/viewdoc', 'School\PractiseSetController@viewDoc');
Route::resource('practiceset', 'School\PractiseSetController');
Route::get('printtimetable/{idclass}/{idsection}', 'School\TimetableController@printTimetable');
Route::get('viewtimetable', 'School\TimetableController@viewTimetable');
Route::resource('timetable', 'School\TimetableController');
//Attendance
Route::post('sendsmstopresent', 'School\AttendanceController@sendsmstopresent');
Route::post('sendsmstoabsent', 'School\AttendanceController@sendsmstoabsent');
Route::get('month-attendance','School\AttendanceController@monthlyAttendance');
Route::get('bus-month-attendance','School\BusAttendanceController@monthlyAttendance');
Route::get('smstopresent/{month}/{section}', 'School\AttendanceController@smstoPresentStudent');
Route::get('smstoabsent/{month}/{section}', 'School\AttendanceController@smstoAbsentStudent');
Route::get('section/{idMonth}/{idSection}/attendance', 'School\AttendanceController@getStdAttendance');
Route::get('fetch-attendance/{date}/{idEmployee}', 'School\EmpAttendanceController@fetchAttendance');
Route::resource('attendance', 'School\AttendanceController');
Route::resource('bus-attendance', 'School\BusAttendanceController');
// visitors
Route::get('visitors/{id}/verifyotp', 'School\VisitorController@verifyotp');
Route::get('visitors/{id}/out', 'School\VisitorController@visitorOut');
Route::get('visitors/{id}/pass', 'School\VisitorController@printPass');
Route::resource('visitors', 'School\VisitorController');
// Admin level User ,Roles,Permissions
Route::get('roles/{role_id}/permissions', 'School\RoleController@showPermissions');
Route::post('roles/{role_id}/permissions', 'School\RoleController@savePermissions');
Route::resource('roles', 'School\RoleController');
Route::resource('schusers', 'School\SchoolUserController');
//Advance Transportation
Route::resource('busroute', 'School\AssignBusRouteController');
Route::get('routes/{id}/stops', 'School\BusRouteController@getStops');
Route::get('routes/{id}/buses', 'School\BusRouteController@getBuses');
Route::resource('routes', 'School\BusRouteController');
Route::get('busdocs/{id}/upload', 'School\BusDocumentController@uploadDocumentForm');
Route::resource('busdocs', 'School\BusDocumentController');
Route::resource('buses', 'School\BusController');
Route::resource('stdtransport', 'School\StudentTransportController');
Route::resource('busfeehead', 'School\BusFeeheadController');
Route::get('student/{idStd}/busfeeheads','School\BusFeeDiscountController@getBusFeehead');
Route::get('busfeediscount/{id}/activate', 'School\BusFeeDiscountController@activateDiscount');
Route::get('busfeediscount/{id}/deactivate', 'School\BusFeeDiscountController@deactivateDiscount');
Route::resource('busfeediscount', 'School\BusFeeDiscountController');
Route::get('livepreview', 'School\BusFeeReportController@livePreview');
Route::get('tpcancelled-receipts', 'School\BusFeeReportController@cancelledReceipts');
Route::get('tfpaid', 'School\BusFeeReportController@paidFees');
Route::get('tflesspaid', 'School\BusFeeReportController@lessPaidFees');
Route::get('tfdues', 'School\BusFeeReportController@pendingDues');
Route::get('busfeeheaders/{ids}/students/{studentid}', 'School\BusFeepaymentController@getFeewiseData');
Route::get('busfees/lessamt/{id}/cancelrcpt', 'School\BusFeepaymentController@cancelLessPaidReceipt');
Route::get('busfees/{id}/cancelrcpt', 'School\BusFeepaymentController@cancelReceipt');
Route::post('busfees/cancelrcpt', 'School\BusFeepaymentController@receiptCancellation');
Route::get('busfees/lessamt/{id}/print', 'School\BusFeepaymentController@printLessPaidReceipt');
Route::get('busfees/{id}/print', 'School\BusFeepaymentController@printReceipt');
Route::post('tpchequeupdate', 'School\BusFeepaymentController@updateCheque');
Route::get('tpcheques', 'School\BusFeepaymentController@getChequeList');
Route::get('busfees/{idStudent}/details', 'School\BusFeepaymentController@busFeeDetails');
Route::resource('busfees', 'School\BusFeepaymentController');
Route::get('temp-record','School\BusFeepaymentController@tempRecord');
// HRMS
Route::get('empsalary/{idemppayment}/{idmonth}/printslip', 'School\EmpPaymentController@printSalarySlip');
Route::get('empsalary/{idemppayment}/{idmonth}/pay', 'School\EmpPaymentController@paySalary');
Route::post('empsalary', 'School\EmpPaymentController@payEmployeeSalary');
Route::post('salgen', 'School\EmpPaymentController@generateSalary');
Route::get('salgen', 'School\EmpPaymentController@salaryGeneration');
Route::get('salgen-print', 'School\EmpPaymentController@printGeneration');
Route::post('pay-salary', 'School\EmpPaymentController@payGeneration');
Route::get('salary-loan', 'School\EmpPaymentController@fetchLoan');
Route::post('salary-loan', 'School\EmpPaymentController@storeLoan');
Route::delete('salary-loan/{id}', 'School\EmpPaymentController@deleteLoan');
Route::get('canteen-expense', 'School\EmpPaymentController@fetchCanteen');
Route::post('canteen-expense', 'School\EmpPaymentController@storeCanteen');
Route::delete('canteen-expense/{id}', 'School\EmpPaymentController@deleteCanteen');
Route::resource('emppayments', 'School\EmpPaymentController');
Route::post('reset-pay', 'School\EmpPaymentController@removePayData');
Route::post('reset-pay-slip', 'School\EmpPaymentController@removePaySlipData');
Route::get('employee/{id}/salary', 'School\SalaryStructureController@getSalaryStr');
Route::resource('salarystr', 'School\SalaryStructureController');
Route::get('teacher/{id}/classes', 'School\AssignSubjectController@getClasses');
Route::resource('asignclass', 'School\AssignClassController');
Route::resource('assignsubject', 'School\AssignSubjectController');
Route::post('empimageupload', 'School\EmployeeController@imageUpload');
Route::get('empimageupload', 'School\EmployeeController@imageUploadform');
Route::post('empexcelupload', 'School\EmployeeController@excelUpload');
Route::get('empexcelupload', 'School\EmployeeController@excelUploadForm');
Route::get('employees/{id}/view', 'School\EmployeeController@viewEmployee');
Route::post('employees-status', 'School\EmployeeController@status');
Route::resource('employees', 'School\EmployeeController');
Route::get('empattendance-monthly','School\EmpAttendanceController@monthlyAttendance');
Route::get('empattendance-report','School\EmpAttendanceController@reportAttendance');
Route::get('print-empattendance-report','School\EmpAttendanceController@attendanceSheet');
Route::resource('empattendance', 'School\EmpAttendanceController');
Route::resource('latearrivals', 'School\LateArrivalController');
Route::resource('earlygoing', 'School\EarlyGoingController');
Route::resource('epf', 'School\EpfController');
Route::resource('pt', 'School\PtController');
Route::resource('leave-balance', 'School\LeaveBalanceController');
Route::post('leaverequests', 'School\LeaveController@leaveAction');
Route::get('leaverequests', 'School\LeaveController@leaveRequests');
Route::get('add-leave-requests', 'School\LeaveController@createleaveRequests');
Route::get('employee-leaves/{id}', 'School\LeaveController@fetchLeaves');
Route::post('add-leave-requests', 'School\LeaveController@storeleaveRequests');
Route::resource('leaves', 'School\LeaveController');
Route::resource('empexpenses', 'School\EmpExpencesController');
Route::get('departments/{idDepartment}/designations', 'School\DepartmentController@getDesignation');
Route::resource('departments', 'School\DepartmentController');
Route::get('designations/{idDesignation}/employees', 'School\DesignationController@getEmployees');
Route::resource('designations', 'School\DesignationController');
Route::resource('allowances', 'School\AllowanceController');
Route::resource('deductions', 'School\DeductionController');
Route::resource('shifts', 'School\ShiftController');
Route::resource('assignshift', 'School\AssignShiftController');
Route::resource('actionshift', 'School\ActionShiftController');
Route::resource('assignovertime', 'School\AssignOvertimeController');
Route::get('salaryreport', 'School\SalaryReportController@salReport');
Route::get('report-pt', 'School\SalaryReportController@ptReport');
Route::get('report-epf', 'School\SalaryReportController@epfReport');
Route::post('employeedocs', 'School\EmployeeController@saveEmployeeDocs');
Route::get('employeedocs/{id}/view', 'School\EmployeeController@viewStdDoc');
Route::post('employeedocs/{id}/delete', 'School\EmployeeController@deleteStdDoc');
Route::get('manage-employee-attendance', 'School\EmpAttendanceController@manageAttendance');
Route::post('manage-employee-attendance', 'School\EmpAttendanceController@addAutoAttendance');
Route::get('employeedocs', 'School\EmployeeController@getStudentDocForm');
//Stock Management
Route::get('invoices-payment/{idpayment}','School\Stock\InvoiceController@cancelReceipt');
Route::get('invoices/{idinvoice}/receipts','School\Stock\InvoiceController@invoiceReceipts');
Route::get('invoices/{idinvoice}/paybalance','School\Stock\InvoiceController@payBalanceForm');
Route::post('invoices/paybalance','School\Stock\InvoiceController@payBalance');
Route::get('invoices/{idinvoice}/print','School\Stock\InvoiceController@printInvoice');
Route::get('invoices/{idinvoice}/fake-print','School\Stock\InvoiceController@printFakeInvoice');
Route::resource('invoices', 'School\Stock\InvoiceController');
Route::get('product-category/{id}/products', 'School\Stock\ProductCategoryController@getProducts');
Route::resource('product-category', 'School\Stock\ProductCategoryController');
Route::resource('product-unit', 'School\Stock\ProductUnitController');
Route::resource('products', 'School\Stock\ProductController');
Route::get('suppliers/{id}/products','School\Stock\SupplierController@getReceivedProducts');
Route::get('suppliers/{id}/po','School\Stock\SupplierController@purchaseReturn');
Route::resource('suppliers', 'School\Stock\SupplierController');
Route::get('storelocation/{id}/sublocations', 'School\Stock\StoreLocationController@subLocations');
Route::resource('storelocation', 'School\Stock\StoreLocationController');
Route::resource('quotations', 'School\Stock\QuotationController');
Route::post('quotations-mail', 'School\Stock\QuotationController@sendQuotationMail');
Route::get('quotations-upload', 'School\Stock\QuotationController@viewUpload');
Route::post('quotations-upload', 'School\Stock\QuotationController@storeUpload');
Route::get('prodinstock/{proId}','School\Stock\PurchaseOrderController@productInStock');
Route::get('poproduct/{poid}/{prodId}/details','School\Stock\PurchaseOrderController@getPurchaseProductDetail');
Route::post('payforgoods','School\Stock\PurchaseOrderController@goodsPayment');
Route::get('purchaseorder/{id}/pay','School\Stock\PurchaseOrderController@payForGoods');
Route::get('purchaseorder/{id}/goodsreceivednote','School\Stock\PurchaseOrderController@goodsReceivedNote');
Route::post('prodreceived', 'School\Stock\PurchaseOrderController@productReceived');
Route::get('purchaseorder/{id}/details','School\Stock\PurchaseOrderController@getOrderDetails');
Route::get('purchaseorder-view','School\Stock\PurchaseOrderController@viewPO');
Route::resource('vendor-payments', 'School\Stock\VendorPayments');
Route::resource('purchaseorder', 'School\Stock\PurchaseOrderController');
Route::resource('customers', 'School\Stock\CustomerController');
Route::resource('purchasereturn', 'School\Stock\PurchaseReturnController');
Route::resource('prodlocation', 'School\Stock\ProductLocationController');
Route::resource('bank-accounts', 'School\Stock\BankController');
Route::get('stockreport','School\Stock\StockReportController@stockReport');
Route::get('return-report','School\Stock\StockReportController@amountReturnReport');
Route::get('device-report','School\Stock\StockReportController@deviceReport');
Route::get('manage-return-report','School\Stock\StockReportController@showReturn');
Route::post('manage-return-report','School\Stock\StockReportController@updateReturn');
Route::get('purchasereport','School\Stock\StockReportController@purchaseReport');
Route::get('collection-report','School\Stock\StockReportController@collectionReport');
Route::get('inventoryreport','School\Stock\StockReportController@inventoryReport');
Route::get('combined-report-tally','School\Stock\StockReportController@stockTally');
Route::get('purchase-due-report','School\Stock\StockReportController@inventoryDueReport');
Route::get('stock-report','School\Stock\StockReportController@stockpayReport');
//LIBRARY MODULE ROUTES
Route::resource('booktypes', 'School\Library\BookTypeController');
Route::resource('libraryfines', 'School\Library\FineSettingController');
Route::resource('bookrfids', 'School\Library\RFIDController');
Route::get('subclasstwo/{id}/edit', 'School\Library\SubclassController@editSubclasstwo');
Route::get('subclasstwo', 'School\Library\SubclassController@subclasstwo');
Route::resource('subclasses', 'School\Library\SubclassController');//
Route::resource('materials', 'School\Library\AccompanyMaterialController');
Route::resource('booksizes', 'School\Library\BookSizeController');
Route::resource('classifications', 'School\Library\ClassificationController');
Route::resource('libsubjects', 'School\Library\SubjectController');
Route::resource('bindings', 'School\Library\BindingTypeController');
Route::resource('faculties', 'School\Library\FacultyController');
Route::resource('authors', 'School\Library\AuthorController');
Route::resource('editors', 'School\Library\EditorController');
Route::resource('publishers', 'School\Library\PublisherController');
Route::resource('corporates', 'School\Library\CorporateController');
Route::resource('vendors', 'School\Library\VendorController');
Route::resource('bookseries', 'School\Library\SeriesController');
Route::resource('booklocations', 'School\Library\LocationController');
Route::resource('languages', 'School\Library\LanguageController');
Route::resource('sourcelang', 'School\Library\SourceLanguageController');
Route::resource('publication-places', 'School\Library\PublicationPlaceController');
Route::resource('barcodes', 'School\Library\BarcodeController');
Route::get('members/{type}/{ecno}/libraydetail','School\Library\MemberController@getMemberLibraryDetail');
Route::get('members/{type}/{ecno}','School\Library\MemberController@getMemberDetail');
Route::get('members/{type}/{id}/ban','School\Library\MemberController@banMember');
Route::resource('members', 'School\Library\MemberController');
Route::post('booklost','School\Library\BookEntryController@savelostBook');
Route::get('booklost','School\Library\BookEntryController@lostBook');
Route::get('bookdetails','School\Library\BookEntryController@getBookDetail');
Route::resource('books', 'School\Library\BookEntryController');
Route::resource('bookimport', 'School\Library\BookImportController');
Route::resource('bookissue','School\Library\BookIssueReturnController');
Route::resource('ebooks','School\Library\ELibraryController');
Route::get('defauters','School\Library\ReportController@defaulterReport');
Route::post('smsdefaulter','School\Library\ReportController@defaulterSMS');
Route::get('issue-returns','School\Library\ReportController@bookReport');
Route::get('libtrans/{type}/{id}/print','School\Library\ReportController@printReceipt');
Route::get('libtrans/{id}/cancelreceipt','School\Library\ReportController@cancelReceipt');
Route::get('libcollreport','School\Library\ReportController@collectionReport');
//Hostel
Route::get('floor-rooms/{idroom}/beds','School\Hostel\FloorController@getBeds');
Route::get('floor-rooms/{idFloor}/rooms','School\Hostel\FloorController@getRooms');
Route::resource('floor-rooms','School\Hostel\FloorController');
Route::resource('beds','School\Hostel\BedController');
Route::resource('hscat','School\Hostel\CategoryController');
Route::get('section/{id}/hsfeeheads', 'School\Hostel\FeeheadController@getHostelFeeheads');
Route::resource('hsfeeheads','School\Hostel\FeeheadController');
Route::get('section/{id}/hostelites', 'School\Hostel\HosteliteController@getHostelite');
Route::resource('hostelites','School\Hostel\HosteliteController');
Route::get('floor/{id}/rooms','School\Hostel\AttendanceController@fetchRooms');
Route::get('hsmonthattendance','School\Hostel\AttendanceController@getMonthlyAttendance');
Route::resource('hostelattendance', 'School\Hostel\AttendanceController');
Route::resource('hostelfeediscount', 'School\Hostel\HostelFeeDiscountController');
Route::get('hostel-fees/{idStudent}/details', 'School\Hostel\HostelFeeController@getFeeDetails');
Route::get('hostelfeeheaders/{ids}/students/{studentid}', 'School\Hostel\HostelFeeController@getFeewiseData');
Route::get('hostel-fees/{type}/{id}/print','School\Hostel\HostelFeeController@printHostelReceipt');
Route::get('hostel-fees/{type}/{id}/cancelrcpt', 'School\Hostel\HostelFeeController@cancelReceipt');
Route::resource('hostel-fees', 'School\Hostel\HostelFeeController');
Route::resource('hostelcheques', 'School\Hostel\HostelFeeChequeController');
Route::get('hostelfee-fullpaid','School\Hostel\HostelFeeReportController@paidFees');
Route::get('hostelfee-lesspaid','School\Hostel\HostelFeeReportController@lessPaidFees');
Route::get('hostelfee-pending','School\Hostel\HostelFeeReportController@pendingDues');
Route::get('hfcancelled-receipts', 'School\Hostel\HostelFeeReportController@cancelledReceipts');
Route::get('hostel-leaves/{idleave}/approve', 'School\Hostel\HosteliteLeaveController@approveLeave');
Route::get('hostel-leaves/{idleave}/sendsms', 'School\Hostel\HosteliteLeaveController@sendSMS');
Route::resource('hostel-leaves', 'School\Hostel\HosteliteLeaveController');
//Exams
Route::resource('exam/reports','School\Exam\ExamMcqReportController');
Route::resource('exam/master','School\Exam\ExamMasterController');
Route::get('exam-print/master-upload','School\Exam\ExamPrintMasterController@uploadData');
Route::resource('exam-print/master','School\Exam\ExamPrintMasterController');
Route::resource('mcq','School\Exam\ExamQuizController');
Route::resource('examtypes','School\Exam\ExamTypeController');
Route::resource('examtemplates','School\Exam\ExamTemplateController');
Route::resource('exam/export','School\Exam\ExamExportController');
Route::resource('exam/import','School\Exam\ExamImportController');
Route::resource('exam/generate','School\Exam\ExamGenerateController');
Route::resource('exam/assign','School\Exam\ExamAssignController');
Route::get('exam/import/{id}/view','School\Exam\ExamImportController@viewExcelDoc');
Route::resource('exam/generate','School\Exam\ExamGenerateController');
Route::post('exam/view','School\Exam\ExamGenerateController@getExcelData');
Route::post('exam/generate/create','School\Exam\ExamGenerateController@createDocument');
//Marks Exam
Route::resource('marks/exam','School\Exam\MarksExamType');
Route::resource('marks/exam-create','School\Exam\MarksCreateExam');
Route::resource('marks/add-marks','School\Exam\AddMarksController');
Route::get('marks/report-marks','School\Exam\AddMarksController@reports');
Route::get('marks/exam-result/{id}/view','School\Exam\AddMarksController@fetchReport');
Route::post('marks/create','School\Exam\AddMarksController@create');
Route::post('mark/exam-create/{id}','School\Exam\MarksCreateExam@update');
Route::post('mark/exam/{id}','School\Exam\MarksExamType@update');
//Exams modified
Route::resource('exam/report','School\Exam\ExamReportController');
Route::get('exam/report/{id}/view','School\Exam\ExamReportController@viewResult');
Route::get('exam/report/{id}/download','School\Exam\ExamReportController@downloadResult');
Route::get('exam/result/review/{id}','School\Exam\ExamMcqReportController@getExamReviews');
Route::get('exam/result/review','School\Exam\ExamMcqReportController@getExamReviews');
Route::get('exam/result/review/{id}/{idStudent}','School\Exam\ExamMcqReportController@showExamReviews');
Route::post('exam/result/review','School\Exam\ExamMcqReportController@storeExamReviews');
Route::get('exam/addquestions','School\Exam\ExamMasterController@getTemplates');
Route::get('exam/question','School\Exam\ExamMasterController@getTemplate');
Route::get('exam/addquestions/{id}','School\Exam\ExamMasterController@showQuestions');
Route::get('exam/addquestions/{id}/show','School\Exam\ExamMasterController@viewQuestions');
Route::get('exam/review/{id}','School\Exam\ExamMasterController@showResults');
Route::post('exam/questions','School\Exam\ExamMasterController@storeQuestions');
//Employee Circular
Route::get('employee-circular/{id}/viewdoc', 'School\EmployeeNoticeController@viewNDoc');
Route::resource('employee-circular', 'School\EmployeeNoticeController');
Route::get('leave-approval', 'School\LeaveController@leaveApprovalMaster');
Route::post('leave-approval/{id}', 'School\LeaveController@updateRights');
Route::post('leave-approval', 'School\LeaveController@storeApprovalPermission');
Route::delete('leave-approval/{id}', 'School\LeaveController@deleteRights');
});
Route::prefix('student')->group(function() {
Route::get('/login', 'Auth\StudentLoginController@showLoginForm')->name('student.login');
Route::post('/login', 'Auth\StudentLoginController@login')->name('student.login.submit');
Route::post('/logout', 'Auth\StudentLoginController@logout')->name('student.logout');
Route::get('/', 'Student\StudentController@dashboard')->name('student.dashboard');
Route::get('switch', 'Student\StudentController@switchProfile');
Route::get('dashboard/{idStudent}', 'Student\StudentController@goToDashboard');
Route::post('updtpassword', 'Student\StudentProfileController@updatePassword');
Route::get('updtpassword', 'Student\StudentProfileController@editPassword')->name('student.updtpassword');
Route::resource('profile', 'Student\StudentProfileController');
Route::get('resetpassword', 'Student\PasswordResetController@resetPassword');
Route::post('verifym', 'Student\PasswordResetController@verifyOtp')->name('student.otp.submit');
Route::get('verifym', 'Student\PasswordResetController@verifyOtpForm');
Route::post('sendotp', 'Student\PasswordResetController@sendOtp')->name('student.mobile.submit');
Route::resource('password/reset', 'Student\PasswordResetController');
Route::get('viewattendance', 'Student\ViewOnlyController@viewAttendance');
Route::get('viewtimetable', 'Student\ViewOnlyController@viewTimetable');
Route::get('homeworks/{id}/viewdoc', 'Student\ViewOnlyController@viewHomeworkDoc');
Route::get('homeworks', 'Student\ViewOnlyController@viewHomework');
Route::get('practiceset/{id}/viewdoc', 'Student\ViewOnlyController@viewDoc');
Route::get('practiceset', 'Student\ViewOnlyController@viewPracticeSet');
Route::get('holidays', 'Student\ViewOnlyController@viewCalender');
Route::get('newsletters', 'Student\ViewOnlyController@viewNewsLetter');
Route::get('shstories', 'Student\ViewOnlyController@viewShortStories');
Route::get('thoughts', 'Student\ViewOnlyController@viewThoughts');
Route::get('noticeboards/{id}/viewdoc', 'Student\ViewOnlyController@viewNDoc');
Route::get('noticeboards', 'Student\ViewOnlyController@viewNoticeboards');
Route::get('pnews', 'Student\ViewOnlyController@viewPositiveNews');
Route::get('gallery', 'Student\ViewOnlyController@viewGallery');
Route::get('gallery-folder/{id}', 'Student\ViewOnlyController@viewFullGallery');
Route::get('exam', 'Student\ViewOnlyController@viewExam');
Route::get('exam/checker', 'Student\ViewOnlyController@startExam');
Route::get('exam/questions/{id}', 'Student\ViewOnlyController@viewQuestions');
Route::get('exam/result', 'Student\ViewOnlyController@viewResults');
Route::get('videoconf', 'Student\ViewOnlyController@viewLiveClass');
Route::get('init/video/class/{id}', 'Student\ViewOnlyController@startLiveClass');
Route::get('shop', 'Student\ShopController@index');
Route::get('shop-receipts/{id}', 'Student\ShopController@show');
Route::get('shop-receipts', 'Student\ShopController@showPurchases');
Route::post('cart', 'Student\ShopController@addCart');
Route::get('checkout', 'Student\ShopController@create');
Route::post('shop/order', 'Student\OnlineFeeController@generateShopOrder');
Route::get('canteen', 'Student\CanteenController@index');
Route::get('canteen-receipts/{id}', 'Student\CanteenController@show');
Route::get('canteen-receipts', 'Student\CanteenController@showPurchases');
Route::post('canteen-cart', 'Student\CanteenController@addCart');
Route::get('canteen-checkout', 'Student\CanteenController@create');
Route::post('canteen/order', 'Student\OnlineFeeController@generateCanteenOrder');
// Online Fee Payment
// Route::get('payment-status',array('as'=>'payment.status','uses'=>'Student\OnlineFeeController@paymentInfo'));feeheaders-extra
Route::get('feeheaders/{ids}/students/{studentid}', 'Student\OnlineFeeController@getFeewiseData');
Route::get('feeheaders-extra/{ids}/students/{studentid}', 'Student\OnlineFeeController@getFeewiseExtraData');
Route::get('payment', array('as' => 'payment', 'uses' => 'Student\OnlineFeeController@payment'));
Route::get('payment-cancel', function () {
return 'Payment has been canceled';
});
Route::get('checkpaymentstatus-cashfree','Student\OnlineFeeController@cashfreePaymentStatus');
Route::get('checkpaymentstatus-easebuzz','Student\OnlineFeeController@easebuzzStatus');
Route::post('stdtransaction', 'Student\FeeSubmissionController@accessInfo');
Route::post('generate-order-cashfree','Student\OnlineFeeController@generateCashfreeOrder');
Route::post('generate-order-easebuzz','Student\OnlineFeeController@generateEaseBuzz');
Route::post('generate-bus-cashfree','Student\TransportFeeController@generateBusCashfreeOrder');
Route::get('stdtransaction/{id}/print', 'Student\OnlineFeeController@printReceipt');
Route::get('stdtransaction-extra/{id}/print', 'Student\OnlineFeeController@printExtraReceipt');
Route::get('stdtransaction/{id}/book-print', 'Student\OnlineFeeController@printBooksReceipt');
Route::get('stdtransaction/lessamt/{id}/print', 'Student\OnlineFeeController@lesserAmtReceipt');
Route::get('busfees/lessamt/{id}/print', 'Student\TransportFeeController@printLessPaidReceipt');
Route::get('busfees/{id}/print', 'Student\TransportFeeController@printReceipt');
Route::get('checkbuspaymentstatus-cashfree','Student\TransportFeeController@cashfreePaymentStatus');
Route::get('feepaid', 'Student\OnlineFeeController@feePaid');
Route::get('feepending', 'Student\OnlineFeeController@feePending');
Route::get('testpayment', 'Student\OnlineFeeController@testPayment');
Route::post('transaction', 'Student\OnlineFeeController@addTransaction');
Route::post('makePayment', 'Student\OnlineFeeController@makePayment');
Route::post('makeBusPayment', 'Student\OnlineFeeController@makeBusPayment');
Route::resource('payfees', 'Student\OnlineFeeController');
Route::get('extra-fees', 'Student\OnlineFeeController@extraFeeDetails');
Route::post('razorpay/update', 'Student\OnlineFeeController@updateRaorpay');
Route::post('razorpay/royal', 'Student\OnlineFeeController@updateRoyalRaorpay');
Route::get('busfeeheaders/{ids}/students/{studentid}', 'Student\TransportFeeController@getFeewiseData');
Route::resource('transportfee', 'Student\TransportFeeController');
Route::resource('hostelfee', 'Student\HostelFeeController');
// Sudarshan School Payment Gateway Integration
Route::resource('paytransportfees', 'Student\SudarshanTransportFeeController');
Route::post('feesreturn', 'Student\FeeSubmissionController@paymentSuceesful');
Route::post('busfeesreturn', 'Student\FeeSubmissionController@paymentBusSuceesful');
Route::post('hostelreturn', 'Student\FeeSubmissionController@paymentHostelSuceesful');
Route::get('north/stdfees/{type}/{id}/print', 'Student\FeeSubmissionController@printReceipt');
Route::get('north/lessamt/{type}/{id}/print', 'Student\FeeSubmissionController@lesserAmtReceipt');
Route::post('feesuccessful', 'Student\FeeSubmissionController@paymentInfo');
Route::resource('feesubmission', 'Student\FeeSubmissionController');
Route::get('marks', 'Student\ViewOnlyController@markList');
Route::get('exam-result/{id}/view', 'Student\ViewOnlyController@markDetails');
});
Route::prefix('teacher')->group(function() {
Route::get('/login', 'Auth\TeacherLoginController@showLoginForm')->name('teacher.login');
Route::post('/login', 'Auth\TeacherLoginController@login')->name('teacher.login.submit');
Route::post('/logout', 'Auth\TeacherLoginController@logout')->name('teacher.logout');
Route::get('/', 'Teacher\TeacherController@dashboard')->name('teacher.dashboard');
Route::post('updtpassword', 'Teacher\TeacherProfileController@updatePassword');
Route::get('updtpassword', 'Teacher\TeacherProfileController@editPassword');
Route::post('setsessionteacher', 'Teacher\TeacherProfileController@setSession')->name('setsessionteacher');
Route::resource('profile', 'Teacher\TeacherProfileController');
Route::get('resetpassword', 'Teacher\PasswordResetController@resetPassword');
Route::post('verifym', 'Teacher\PasswordResetController@verifyOtp')->name('teacher.otp.submit');
Route::get('verifym', 'Teacher\PasswordResetController@verifyOtpForm');
Route::post('sendotp', 'Teacher\PasswordResetController@sendOtp')->name('teacher.mobile.submit');
Route::resource('password/reset', 'Teacher\PasswordResetController');
// Read Only Data Display
Route::get('viewattendance', 'Teacher\ViewOnlyController@viewAttendance');
Route::get('viewtimetable', 'Teacher\ViewOnlyController@viewTimetable');
Route::get('holidays', 'Teacher\ViewOnlyController@viewCalender');
Route::get('newsletters', 'Teacher\ViewOnlyController@viewNewsLetter');
Route::get('shstories', 'Teacher\ViewOnlyController@viewShortStories');
// Comm Teacher part
Route::resource('galleries', 'Teacher\GalleryController');
Route::resource('gfolders', 'Teacher\GalleryFolderController');
Route::get('practiceset/{id}/viewdoc', 'Teacher\PractiseSetController@viewDoc');
Route::resource('practiceset', 'Teacher\PractiseSetController');
Route::resource('thoughts', 'Teacher\WeekThoughtController');
Route::resource('positivenews', 'Teacher\PositiveNewsController');
Route::get('sec/{ids}/students', 'Teacher\HomeworkController@getSectionsStudents');
Route::get('class/{id}/sections', 'Teacher\HomeworkController@getSections');
Route::get('homeworks/{id}/viewdoc', 'Teacher\HomeworkController@viewHomeworkDoc');
Route::resource('homeworks', 'Teacher\HomeworkController');
Route::get('noticeboards/{id}/viewdoc', 'Teacher\NoticeboardController@viewNDoc');
Route::resource('noticeboards', 'Teacher\NoticeboardController');
// Apply for Leave
Route::resource('leaves', 'Teacher\LeaveController');
Route::get('leave-management', 'Teacher\LeaveController@manageLeave');
Route::get('leave-window/{id}', 'Teacher\LeaveController@leaveWindow');
Route::get('leave-document/{id}/view', 'Teacher\LeaveController@viewDoc');
Route::post('leaverequests', 'Teacher\LeaveController@leaveAction');
Route::resource('videoconf', 'Teacher\VideoConfController');
Route::get('init/videoconference/{id}', 'Teacher\VideoConfController@createRoom');
Route::get('end/videoconference/{id}', 'Teacher\VideoConfController@endRoom');
// Salary Report
Route::get('paidsalary', 'Teacher\SalaryReportController@viewPaidReport');
Route::get('printslip/{id}', 'Teacher\SalaryReportController@printSlip');
Route::get('unpaidsalary', 'Teacher\SalaryReportController@viewUnpaidReport');
Route::get('assign-class/{id}/sections', 'Teacher\ViewOnlyController@fetchAssignSection');
Route::get('marks', 'Teacher\ViewOnlyController@markList');
Route::get('exam-result/{id}/view', 'Teacher\ViewOnlyController@markDetails');
Route::get('marks-students/{id}/view', 'Teacher\ViewOnlyController@viewStudents');
});
Copyright © 2021 -