%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/ugotscom/bos_naturals/routes/
Upload File :
Create Path :
Current File : /home/ugotscom/bos_naturals/routes/web.php

<?php

use Illuminate\Support\Facades\Route;
use App\Http\Controllers\BotManController;
use App\Http\Controllers\NotificationController;
/*
|--------------------------------------------------------------------------
| 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::group(['middleware' => 'auth'], function () {
    Route::get('/', function () {
        return view('home');
   });
});
Route::get('/logout', function(){
    Auth::logout();
    return Redirect::to('login');
 });

 
Auth::routes();

Route::get('/home', 'HomeController@index')->name('home');
Route::get('/leads/searchquery', 'LeadsController@searchquery');
Route::Post('/leads/updatestatus/', 'LeadsController@updateStatus');
Route::get('/leads/leaddetails/{id}', 'LeadsController@leaddetails');
Route::get('/leads/leaddetailsid/{id}', 'LeadsController@leadsbyid');
Route::get('/leads/getclientleads/{id}', 'LeadsController@getclientleads');
Route::get('/leads/totalcount', 'LeadsController@totalcount');
Route::get('/leads/sales/{id}', 'LeadsController@newsales');
Route::get('/leads/sitevisits/{id}', 'LeadsController@sitevisits');
Route::get('/leads/negotiation/{id}', 'LeadsController@negotiation');
Route::get('/leads/calendartaskall', 'LeadsController@calendartaskall');
Route::get('/leads/testing', 'LeadsController@testing');
Route::get('/leads/won/{id}', 'LeadsController@won');
Route::get('/leads/locationdata', 'LeadsController@locationWiseData');

Route::resource('leads','LeadsController');
/* Task Controller */
Route::get('/tasks/taskdetails/{id}', 'TasksController@taskdetails');
Route::get('/tasks/count', 'TasksController@count');
Route::get('/tasks/notification', 'TasksController@sendOfferNotification');
Route::get('/tasks/markasread/{id}', 'TasksController@markNotification');

Route::get('/tasks/duetoday', 'TasksController@duetoday');
Route::get('/tasks/taskall', 'TasksController@taskall');
Route::get('/tasks/ptaskall', 'TasksController@ptaskall');
Route::get('/tasks/tasksbyid/{id}', 'TasksController@tasksbyid');
Route::get('/tasks/gettasksbyid/{id}', 'TasksController@gettasksbyid');
Route::Post('/tasks/updatestatus/{id}', 'TasksController@updateStatus');
Route::Post('/tasks/filterstatus', 'TasksController@filterstatus');
Route::get('/tasks/searchquery', 'TasksController@searchquery');
Route::get('/tasks/calendartaskall', 'TasksController@calendartaskall');
Route::get('/tasks/mcalendartaskall', 'TasksController@mcalendartaskall');
Route::get('/tasks/gettasksuserid/{id}', 'TasksController@getalltaskbyuser');
Route::get('/tasks/totalcount', 'TasksController@totalcount');
Route::get('/tasks/property/{id}', 'TasksController@propertytasksbyid');
Route::get('/tasks/gettasksbypropertyid/{id}', 'TasksController@gettasksbypropertyid');


Route::resource('tasks','TasksController');


Route::get('/categories/categorysearchquery', 'CategoryController@categorysearchquery');
Route::resource('categories','CategoryController');

Route::get('/companies/companydetails/{id}', 'CompanyController@companydetails');
Route::get('/companies/companysearchquery', 'CompanyController@companysearchquery');

Route::resource('companies','CompanyController');

Route::get('/pqr/company/{id}', 'PQRController@pqrbycompany');
Route::get('/pqr/pqrdetails/{id}', 'PQRController@pqrdetails');
Route::get('/pqr/pqrsearchquery', 'PQRController@pqrsearchquery');
Route::get('/pqr/onepqrdetails/{id}', 'PQRController@onepqrdetails');
Route::resource('pqr','PQRController');

Route::get('/pqrproduct/pqrproductdetails/{id}', 'pqrproductController@pqrproductdetails');
Route::resource('pqrproduct','pqrproductController');


Route::get('/mis/totalcount', 'MISController@totalcount');
Route::get('/mis/topcompanies', 'MISController@topcompanies');
Route::get('/mis/companywisemis','MISController@companywisemis');
Route::get('/mis/companywisemissearchquery','MISController@companywisemissearchquery');
Route::resource('mis','MISController');

Route::resource('eperformance','PerformanceController');

/* Site Visits */

/*Calls */
Route::resource('calls','CallController');
/* TAsk Comment */
Route::get('/taskscomment/comments/{id}', 'TaskCommentController@taskcomments');
Route::resource('taskscomment','TaskCommentController');
/* Client Controller */
Route::get('/client/searchquery', 'ClientController@searchquery');
Route::get('/client/clientSearch', 'ClientController@clientSearch');
Route::get('/client/tenantsearchquery', 'ClientController@tenantsearchquery');
Route::get('/client/checkphone/{phone}', 'ClientController@checkPhone');
Route::get('/client/clientdetails/{id}', 'ClientController@clientdetails');
Route::get('/client/totalcount', 'ClientController@totalcount');
Route::get('/contractorslist', 'ClientController@contractors');
Route::resource('client','ClientController');

/* Service Tickets Controller */
Route::get('/servicetickets/searchquery', 'ServiceTicketController@searchquery');
Route::resource('servicetickets','ServiceTicketController');

/* Location Controller */

Route::resource('locations','LocationController');

/* Maintenance Controller */
Route::Post('/maintenance/updatestatus/', 'MaintenanceController@updateStatus');
Route::get('/maintenance/totalcount', 'MaintenanceController@totalcount');
Route::get('/maintenance/maintenancedetails/{id}', 'MaintenanceController@maintenancebyid');
Route::get('/maintenance/maintenancebyclient/{id}', 'MaintenanceController@maintenancebyClientid');
Route::get('/maintenance/searchquery', 'MaintenanceController@searchquery');
Route::get('/maintenance/getFiles/{id}', 'MaintenanceController@getFiles');
Route::get('/maintenance/leads/{id}', 'MaintenanceController@leads');
Route::get('/maintenance/getDocs/{id}', 'MaintenanceController@getDocs');
Route::get('/maintenance/deletefile/{id}', 'MaintenanceController@maintenancefiledelete');
Route::Post('/maintenance/fileupload', 'MaintenanceController@fileupload');
Route::Post('/maintenance/updatecontractvalue', 'MaintenanceController@updatecontractvalue');
Route::Post('/maintenance/inspectionimages', 'MaintenanceController@inspectionimages');
Route::get('/maintenance/monthly','MaintenanceController@monthly');
Route::get('/maintenance/allprojects','MaintenanceController@allprojects');
Route::get('/maintenance/notification', 'MaintenanceController@sendNotification');
Route::resource('maintenances','MaintenanceController');

Route::resource('maintenanceworks','MaintenanceworkController');

/*Maintenance Activities Controller */
Route::get('/maintenanceactivity/{id}', 'MaintenanceActivityController@maintenanceactivitybyid');
Route::resource('maintenanceactivity','MaintenanceActivityController');

/* Maintenance Accounts Controller */
Route::get('/maintenanceaccounts/{id}', 'MaintenanceAccountController@maintenanceaccountsbyid');
Route::resource('maintenanceaccounts','MaintenanceAccountController');

/* Contractors Controller */
Route::get('/contractors/subdetails/{id}', 'ContractorController@subcontractsbyid');
Route::get('/contractors/details/{id}', 'ContractorController@contractsbyid');
Route::get('/contractors/editcontract/{id}', 'ContractorController@editContractid');
Route::get('/contractors/won/{id}', 'ContractorController@contractswon');
Route::get('/contractors/allcontracts', 'ContractorController@allcontracts');
Route::resource('contractors','ContractorController');

/* Sub Contracts */
Route::get('/subcontracts/subdetails/{id}', 'SubcontractController@subcontractsbyid');
Route::get('/subcontracts/serviceDemand/{id}', 'SubcontractController@serviceDemand');
Route::post('/subcontracts/updatestatus', 'SubcontractController@updatestatus');
Route::get('/subcontracts/won/{id}', 'SubcontractController@subcontractswon');
Route::get('/subcontracts/editsubcontract/{id}', 'SubcontractController@editsubcontractsbyid');
Route::resource('subcontracts','SubcontractController');


/* Properties Controller */
Route::Post('/properties/searchproperty', 'PropertyController@searchproperty');
Route::get('/properties/searchquery', 'PropertyController@searchquery');
Route::Post('/properties/formSubmit','PropertyController@formsubmit');
Route::get('/properties/propertydetails/{id}', 'PropertyController@propertybyid');
Route::get('/properties/clientproperties/{id}', 'PropertyController@clientproperties');
Route::get('/properties/allclientproperties/{id}', 'PropertyController@clientpropertiesbyid');
Route::Post('/properties/updatestatus/{id}', 'PropertyController@updateStatus');
Route::Post('/properties/updatestatusavailable/{id}', 'PropertyController@updatestatusavailable');
Route::Post('/properties/homecare/{id}', 'PropertyController@homecare');
Route::Post('/properties/managedProperty/{id}', 'PropertyController@managedProperty');
Route::get('/properties/homecareproperties', 'PropertyController@homecareproperties');
Route::get('/properties/pendingapproval', 'PropertyController@pendingApproval');
Route::get('/properties/expired', 'PropertyController@expiredProperties');
Route::get('/properties/managedproperties', 'PropertyController@managedProperties');
Route::Post('/properties/uploadfile', 'PropertyController@uploadfile');
Route::get('/properties/getimages', 'PropertyController@propertyimages');
Route::get('/properties/images/{id}', 'PropertyController@propertyimagebyid');
Route::get('/properties/files/{id}', 'PropertyController@getDocs');
Route::get('/properties/deletefile/{id}', 'PropertyController@propertyfiledelete');
Route::get('/properties/amenitiesbyid/{id}', 'PropertyController@amenitiesbyid');
Route::get('/properties/brokerproperties', 'PropertyController@brokerproperties');
Route::get('/properties/totalcount', 'PropertyController@totalcount');
Route::get('/properties/propertylocationwise/{id}', 'PropertyController@propertylocationwise');
Route::get('/properties/propertytypewise/{id}', 'PropertyController@propertytypewise');
Route::get('/properties/propertytypewisesale/{id}', 'PropertyController@propertytypewisesale');
Route::Post('/properties/propertyfiles', 'PropertyController@propertyfiles');
Route::resource('properties','PropertyController');

/* Property Sends*/

Route::get('/propertysends/properties/{id}', 'PropertySendController@propertiesSend');
Route::resource('propertysends','PropertySendController');

/* Property Enquiry*/
Route::get('/propertyenquiry/details/{id}', 'PropertyEnquiryController@enquiriesByid');
Route::resource('propertyenquiry','PropertyEnquiryController');

/*all activities */
Route::get('/activities/{id}','ActivityController@activitiesbyid');
Route::resource('activities','ActivityController');

/* Amenity Controller */
Route::resource('amenity','AmenityController');

Route::get('send-sms-notification', [NotificationController::class, 'sendSmsNotificaition']);
Route::Post('sitevisitsms', [NotificationController::class, 'sitevisitsms']);
Route::get('landtaxsms', [NotificationController::class, 'landtaxsms']);
Route::get('rentalremindersms', [NotificationController::class, 'rentalremindersms']);


/* Property Tenant Controller */
Route::get('/propertytenant/list/{id}','PropertyTenantController@propertytenants');
Route::resource('propertytenant','PropertyTenantController');
/* Property Service Controller */

Route::Post('/propertyservice/updatestatus/', 'PropertyServiceController@updateStatus');
Route::get('/propertyservice/leaddetails/{id}', 'PropertyServiceController@leaddetails');
Route::get('/propertyservice/leads/{id}', 'PropertyServiceController@leads');
Route::get('/propertyservice/totalcount', 'PropertyServiceController@totalcount');
Route::get('/propertyservice/getFiles/{id}', 'PropertyServiceController@getFiles');
Route::Post('/propertyservice/inspectionimages/', 'PropertyServiceController@inspectionimages');
Route::get('/propertyservice/searchquery', 'PropertyServiceController@searchquery');
Route::get('/propertyservice/serviceDemand', 'PropertyServiceController@serviceDemand');
Route::get('/propertyservice/pendingsitevisits', 'PropertyServiceController@pendingSitevisits');
Route::get('/propertyservice/newsales/{id}', 'PropertyServiceController@newsales');
Route::get('/propertyservice/sitevisits/{id}', 'PropertyServiceController@sitevisits');
Route::get('/propertyservice/addproperty/{id}', 'PropertyServiceController@addproperty');
Route::get('/propertyservice/completed/{id}', 'PropertyServiceController@completed');
Route::get('/propertyservice/calendarall', 'PropertyServiceController@calendarall');
Route::resource('propertyservice','PropertyServiceController');
/* Property Notes */
Route::get('/propertynotes/notes/{id}', 'PropertyNoteController@propertynotebyid');
Route::resource('propertynotes','PropertyNoteController');

/*Campaigns */
Route::resource('campaigns','CampaignController');

/*Homecare */
Route::resource('homecare','HomecareController');

Route::get('/wantedlocations/wantedlocationwise/{id}', 'WantedLocationController@wantedlocationwise');
Route::get('/wantedlocations/propertytypewise/{id}', 'WantedLocationController@propertytypewise');
Route::get('/wantedlocations/propertytypewisesale/{id}', 'WantedLocationController@propertytypewisesale');
Route::resource('wantedlocations','WantedLocationController');

/*Campaigns Details*/
Route::get('/campaignsdetails/details/{id}', 'CampaignDetailController@campaigndetails');
Route::resource('campaignsdetails','CampaignDetailController');

/* Property Service Activity Controller */
Route::get('propertyserviceactivities/activities/{id}','PropertyServiceActivityController@activitybyid');
Route::resource('propertyserviceactivities','PropertyServiceActivityController');

/* Dashboard Controller */
Route::get('/dashboard', 'DashboardController@index');
Route::get('/dashboard/tasks/', 'DashboardController@tasks');
Route::get('/dashboard/propertyAddition', 'DashboardController@propertyAddition');
Route::get('/dashboard/sitevisits', 'DashboardController@sitevisits');
Route::get('/dashboard/totalcount', 'DashboardController@totalcount');
Route::get('/dashboard/funnel', 'DashboardController@funnel');
Route::get('/dashboard/latestleads', 'DashboardController@latestleads');
Route::get('/dashboard/sitevisitstoday', 'DashboardController@sitevisitstoday');
Route::post('/dashboard/admincount', 'DashboardController@admincount');
Route::post('/dashboard/maintenancecount', 'DashboardController@maintenancecount');



/*Maintenance Notes */
Route::get('/maintenancenotes/notes/{id}', 'MaintenanceNoteController@maintenancenotebyid');
Route::resource('maintenancenotes','MaintenanceNoteController');


Route::get('/propertyservicenotes/notes/{id}', 'PropertyServiceNoteController@propertyservicenotebyid');
Route::resource('propertyservicenotes','PropertyServiceNoteController');

/*site visits */
Route::resource('allsitevisits','SiteVisitController');
Route::match(['get', 'post'], 'botman', [BotManController::class, 'handle']);
/* User Controller */
Route::resource('users','UserController');
/*Call Logs */

Route::get('/calllogs/logs2/{id}', 'CallLogController@calllogsbyidps');
Route::get('/calllogs/logs/{id}', 'CallLogController@calllogsbyid');
Route::resource('calllogs','CallLogController');

/*lead Notes */
Route::get('/leadnotes/notes/{id}', 'LeadNoteController@leadnotebyid');
Route::resource('leadnotes','LeadNoteController');

/* Tags */
Route::resource('tags','ClientTagController');

/*maintenance Types */
Route::get('/maintenancetypes/edittype/{id}', 'MaintenanceTypeController@edittypetid');
Route::get('/maintenancetypes/alltypes/', 'MaintenanceTypeController@alltypes');
Route::resource('maintenancetypes','MaintenanceTypeController');

Route::resource('brokerage','BrokerageController');

Route::get('/welcome', function () {
    return view('welcome');
});
   
Route::get('/chat', function () {
    return view('chat');
});
Route::get('/sa', function () {
    return view('sitevisit');
});

    Route::get('sockets/serve', function(){
        \Illuminate\Support\Facades\Artisan::call('websockets:serve');
    });


Route::get('/{any}', function () {
    return view('home');
})->where('any', '.*');

Zerion Mini Shell 1.0