Files
streamline-emr/docker/statistics/Modules/Finance/Routes/web.php
T
2025-03-31 03:46:05 +03:00

68 lines
5.4 KiB
PHP

<?php
use Illuminate\Support\Facades\Route;
Route::group(['middleware' => ['auth', 'disablebackbutton', 'user-locale','subscription-tracking', 'password-expiry']], function () {
/* cost centers */
Route::resource('cost_centers', 'CostCenterController');
Route::any('cost_centers_details', 'CostCenterController@cost_center_details')->name('cost_centers.details');
Route::any('lab_performance', 'CostCenterController@labPerformanceReport')->name('lab_performance.index');
Route::any('lab_performance_details', 'CostCenterController@labPerformanceReportDetails')->name('lab_performance.details');
Route::any('top_performing_investigations', 'CostCenterController@topPerformingInvestigationsReport')->name('top_performing_investigations');
Route::any('cost_center_income_details', 'CostCenterController@costCenterIncomeDetailedReport')->name('cost_center.income_detailed_report');
Route::any('opd_details_drilldown', 'CostCenterController@opd_details_drilldown')->name('cost_centers.opd_details_drilldown');
/* Equities */
Route::get('/inactive/equities', 'EquityController@inactive')->name('equities.inactive');
Route::post('/equities/activate/{id}', 'EquityController@activate')->name('equities.activate');
Route::resource('equities', 'EquityController');
/* Finance Home */
Route::get('finance', 'FinanceController@index')->name('finance');
Route::any('incoming_opd_payments', 'FinanceController@incoming_opd_payments')->name('finance.incoming_opd_payments');
/* Fixed Assets */
Route::resource('fixed_assets', 'FixedAssetsController');
Route::any('is_fixed_asset_attached_to_bill', 'FixedAssetsController@is_fixed_asset_attached_to_bill');
/* staff payment configuration */
Route::any('/staff_payment_configuration/fetch_performed_by_info/{id}', 'StaffPaymentsConfigurationController@fetch_performed_by_info');
Route::any('/staff_payment_configuration/edit_performed_by_info', 'StaffPaymentsConfigurationController@edit_performed_by_info');
Route::any('/staff_payment_configuration/delete_performed_by/{id}/{position}/{order_id}/{type}', 'StaffPaymentsConfigurationController@delete_performed_by');
Route::resource('staff_payment_configuration', 'StaffPaymentsConfigurationController');
Route::any('staff_payment_configuration_search', 'StaffPaymentsConfigurationController@staff_payment_configuration_search')->name('staff_payment_configuration.search');
Route::any('delete_staff_configuration', 'StaffPaymentsConfigurationController@delete_staff_configuration')->name('staff_payment_configuration.delete_staff_configuration');
Route::any('edit_staff_configuration', 'StaffPaymentsConfigurationController@edit_staff_configuration')->name('staff_payment_configuration.edit_staff_configuration');
/* report for incomes owed to staff */
Route::any('staff_payments_report', 'StaffPaymentsConfigurationController@payments_report')->name('staff_payments.payments_report');
Route::any('staff_payments_details_report', 'StaffPaymentsConfigurationController@payments_details_report')->name('staff_payments.payments_details_report');
Route::any('record_staff_service_performance', 'StaffPaymentsConfigurationController@record_staff_service_performance')->name('staff_performance.create_record');
Route::post('store_recorded_performed_service', 'StaffPaymentsConfigurationController@store_recorded_performed_service');
Route::any('get_item_price', 'StaffPaymentsConfigurationController@get_item_price');
/* Streamline Bills */
Route::any('/streamline_bill', 'StreamlineBillsController@index')->name('streamline_bill');
Route::any('/streamline_bill/create', 'StreamlineBillsController@create')->name('streamline_bill.create');
Route::any('/streamline_bill/detail/{id}', 'StreamlineBillsController@detail')->name('streamline_bill.detail');
Route::any('/streamline_bill/generate', 'StreamlineBillsController@generate')->name('streamline_bill.generate');
Route::any('/streamline_bill/transfer', 'StreamlineBillsController@transfer')->name('streamline_bill.transfer');
Route::any('/streamline_bill/delete/{id}', 'StreamlineBillsController@delete')->name('streamline_bill.delete');
Route::post('/streamline_bill/view_patients', 'StreamlineBillsController@view_patients')->name('streamline_bill.view_patients');
/* markup tags */
Route::get('/markup_tag/inactive', 'MarkupTagController@inactive')->name('markup_tag.inactive');
Route::post('/markup_tag/activate{id}', 'MarkupTagController@activate')->name('markup_tag.activate');
Route::resource('markup_tag', 'MarkupTagController');
/* markup tags to drugs*/
Route::any('add_markups_to_drugs', 'MarkupTagController@add_markups_to_drugs');
Route::any('update_mark_up_to_drug', 'MarkupTagController@update_mark_up_to_drug')->name('markup_tag.update_mark_up_to_drug');
Route::any('drug_markup_search', 'MarkupTagController@drug_markup_search')->name('markup_tag.drug_markup_search');
Route::any('view_markup_drugs/{id}', 'MarkupTagController@view_markup_drugs');
/* markup tags to sundries*/
Route::any('add_markups_to_sundries', 'MarkupTagController@add_markups_to_sundries');
Route::any('update_mark_up_to_sundry', 'MarkupTagController@update_mark_up_to_sundry')->name('markup_tag.update_mark_up_to_sundry');
Route::any('sundry_markup_search', 'MarkupTagController@sundry_markup_search')->name('markup_tag.sundry_markup_search');
});