Файловый менеджер - Редактировать - /home/clickysoft/public_html/somni.clickysoft.net/routes/landlord.php
Назад
<?php use App\Http\Controllers\FrontController; use App\Http\Controllers\LandlordController; use App\Http\Controllers\LandlordRegistrationController; use App\Http\Controllers\AuthController; use App\Http\Controllers\ProfileController; use App\Http\Controllers\LandlordUnitController; use App\Http\Controllers\SubscriptionController; use Illuminate\Support\Facades\Route; // Auth::routes(['register' => false, 'login' => false]); Route::controller(LandlordRegistrationController::class)->group(function(){ Route::get('/register','index')->name('landlord.register'); Route::post('/ajax-validation','ajaxValidation')->name('landlord.ajaxValidation'); Route::post('/sinup','registerLandlord')->name('signup.landlord'); Route::get('/subcribe','subscribe')->name('subcription'); Route::get('/payment/{package}','planPayment')->name('plan.payment'); Route::post('/payment/complete','subscribeUser')->name('subscribe.user'); }); //Profile Routes Route::middleware(['isLandlord','auth','isSubscribed'])->controller(ProfileController::class)->group(function () { Route::get('/edit/profile','index')->name('landlord.edit.profile'); Route::post('/update/profile','updateLandlord')->name('landlord.update.profile'); Route::get('/password','changeShow')->name('landlord.change.password.show'); Route::post('/update/password','updateLandlordPassword')->name('landlord.update.password'); }); //Lanlord Routes Route::middleware(['isLandlord','auth','isSubscribed'])->controller(LandlordController::class)->group(function () { Route::get('/dashboard','index')->name('landlord.dashboard'); Route::get('/properties','selectProperty')->name('select.property'); Route::post('/change/selected','changeSelectedProperty')->name('change.select.property'); Route::get('/property','addPropertyIndex')->name('property.screen'); Route::post('/add/property','addProperty')->name('landlord.add.property'); Route::get('/get_partial_units/{property_id}', 'getPrtialUnitsByPropertyId')->name('partial.units'); Route::get('/message','messageShow')->name('landlord.message'); Route::get('/wallet','walletShow')->name('landlord.wallet'); Route::get('/units','unitsShow')->name('landlord.units'); Route::get('/units/all','unitsAll')->name('landlord.units.all'); Route::get('/finance','financeShow')->name('landlord.finance'); Route::get('/maintenance','maintenanceShow')->name('landlord.maintenance'); Route::get('/maintenance/all','maintenanceShowAll')->name('landlord.maintenance.all'); Route::get('/transaction/all','transactionShowAll')->name('landlord.transaction.all'); Route::get('/calender','calenderShow')->name('landlord.calender'); Route::get('/setting','settingShow')->name('landlord.setting'); Route::get('/ajax_maintenance','ajaxMaintenance')->name('ajax.maintenance.table'); Route::get('/ajax_maintenance_archive','ajaxMaintenanceArchive')->name('ajax.maintenance.table.archive'); Route::get('/ajax_transaction','ajaxTransaction')->name('ajax.transaction.table'); Route::get('/delete_maintenance/{id}','deleteMaintenance')->name('delete.maintenance'); Route::post('/update_event_status','updateEventStatus')->name('event.update.status'); Route::get('/unit/create','unitCreateShow')->name('landlord.unit.add'); Route::post('/unit/save','saveUnit',)->name('landlord.save.unit'); Route::get('/new_unit/payment','unitPaymentBulkIndex')->name('landlord.new.unit.payment.bulk'); Route::post('/extra_unit/payemnt','paymentCaptureExtraUnit')->name('landlord.extra.payment.save'); Route::get('/get_single_event/{id}','getSingleEvent')->name('landlord.ajax.get.single.event'); Route::get('/get_single_unit/{id}','getUnitsAjax')->name('landlord.ajax.units.property'); Route::get('/lease','LeaseIndex')->name('landlord.lease'); Route::post('/upload-lease-document', 'sendLeaseFileUpload')->name('ladlord.send.lease.file.upload'); Route::get('/detail-lease','detailPageIndex')->name('landlord.lease.detail.page'); // with ?doc_id= variable Route::get('/lease/select','leaseListIndex')->name('landlord.lease.list.select'); Route::post('/send_lease', 'sendLeaseIndex')->name('ladlord.send.lease.index'); Route::get('/lease/sent','leaseSentIndex')->name('landlord.lease.sent'); Route::post('/delete_ids','deleteLeaseIds')->name('landlord.delete.lease.ids'); //---------------------------------------------------------------------------------------------------------------- Route::post('/invite/tenant','inviteCode')->name('invite.code'); // Route::get('/test/mail','mailTest'); }); Route::middleware(['isLandlord','auth','isSubscribed'])->controller(SubscriptionController::class)->group(function () { Route::post('/cancel/sub','cancelSubscription')->name('landlord.cancel.subscription'); Route::post('/new/sub','newSubscription')->name('landlord.new.subscription'); }); Route::middleware(['isLandlord','auth','isSubscribed'])->controller(LandlordUnitController::class)->group(function () { Route::get('/edit/{id}','editUnit')->name('landlord.unit.edit.show'); Route::post('/update/{unit_id}','updateUnit')->name('landlord.update.unit'); Route::get('/ajax_unit','ajaxUnit')->name('ajax.units.table'); Route::get('/delete_unit/{unit_id}','deleteUnit')->name('delete.unit'); });
| ver. 1.4 |
Github
|
.
| PHP 8.1.29 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка