<?php
namespace App\Controller;
use App\Finder\Report\Rch;
use PhpOffice\PhpSpreadsheet\{ IOFactory, Spreadsheet, Style\Alignment };
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Security;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\{ Request, Response, ResponseHeaderBag };
use Symfony\Component\Routing\Annotation\Route;
#[Route(path: '/hr-reports'), Security("is_granted('ROLE_DEAN') or is_granted('ROLE_DEAN_MEDICAL') or is_granted('ROLE_DEAN_DISTRICT') or is_granted('ROLE_DEAN_SUB_DISTRICT') or is_granted('ROLE_DEAN_CHC') or is_granted('ROLE_DEAN_PHC')")]
class HrReportsController extends AbstractController
{
#[Route(path: '/dashboard', name: 'hr_report_dashboard', methods: ['GET'])]
public function dashboard(Request $request): Response
{
// if ($request->get('range')) {
// [$from, $to] = explode(' / ', $request->get('range'));
// } else {
// $from = $to = null;
// }
// $hospitalId = $this->getUser()->getHospital()->getId();
// $cases = $finder->getBirthDefectData($hospitalId, $from, $to);
return $this->render('hr_reports/dean_dashboard.html.twig');
}
#[Route(path: '/all-list', name: 'all_list_hr', methods: ['GET'])]
public function allList(): Response
{
return $this->render('hr_reports/all_list.html.twig',[
'name'=> 'All HR',
'url' => 'all_list_hr'
]);
}
#[Route(path: '/oph-hr-list', name: 'oph_hr_list_hr', methods: ['GET'])]
public function oph_hrList(): Response
{
return $this->render('hr_reports/oph_hr_list.html.twig',[
'name'=> 'Ophthalmology HR',
'url' => 'oph_hr_list_hr'
]);
}
#[Route(path: '/sur-onc-list', name: 'sur_onc_list_hr', methods: ['GET'])]
public function sur_oncList(): Response
{
return $this->render('hr_reports/sur_onc_list.html.twig',[
'name'=> 'Surgical Oncology HR',
'url' => 'sur_onc_list_hr'
]);
}
#[Route(path: '/res-list', name: 'res_list_hr', methods: ['GET'])]
public function resList(): Response
{
return $this->render('hr_reports/res_list.html.twig',[
'name'=> 'Respiratory Medicine',
'url' => 'res_list_hr'
]);
}
#[Route(path: '/general-list', name: 'general_list_hr', methods: ['GET'])]
public function generalList(): Response
{
return $this->render('hr_reports/general_list.html.twig',[
'name'=> 'General HR',
'url' => 'general_list_hr'
]);
}
#[Route(path: '/medicine-list', name: 'medicine_list_hr', methods: ['GET'])]
public function medicinedList(): Response
{
return $this->render('hr_reports/medicine_list.html.twig',[
'name'=> 'Medicine HR',
'url' => 'medicine_list_hr'
]);
}
#[Route(path: '/dental-list', name: 'dental_list_hr', methods: ['GET'])]
public function dentalList(): Response
{
return $this->render('hr_reports/dental_list.html.twig',[
'name'=> 'Dental HR',
'url' => 'dental_list_hr'
]);
}
#[Route(path: '/pae-list', name: 'pae_list_hr', methods: ['GET'])]
public function paeList(): Response
{
return $this->render('hr_reports/pae_list.html.twig',[
'name'=> 'Pediatric HR',
'url' => 'pae_list_hr'
]);
}
#[Route(path: '/tra-list', name: 'tra_list_hr', methods: ['GET'])]
public function traList(): Response
{
return $this->render('hr_reports/trauma_list.html.twig',[
'name'=> 'Trauma care HR',
'url' => 'tra_list_hr'
]);
}
#[Route(path: '/surgical-list', name: 'sur_list_hr', methods: ['GET'])]
public function surgicalList(): Response
{
return $this->render('hr_reports/sur_list.html.twig',[
'name'=> 'Surgical HR',
'url' => 'sur_list_hr'
]);
}
#[Route(path: '/mental-list', name: 'mental_list_hr', methods: ['GET'])]
public function mentalList(): Response
{
return $this->render('hr_reports/mental_list.html.twig',[
'name'=> 'Mental HR',
'url' => 'mental_list_hr'
]);
}
#[Route(path: '/psy-list', name: 'psy_list_hr', methods: ['GET'])]
public function psyList(): Response
{
return $this->render('hr_reports/psy_list.html.twig',[
'name'=> 'Psychiatry HR',
'url' => 'psy_list_hr'
]);
}
#[Route(path: '/gyn-list', name: 'gyn_list_hr', methods: ['GET'])]
public function gynList(): Response
{
return $this->render('hr_reports/gyn_list.html.twig',[
'name'=> 'Gynecology HR',
'url' => 'gyn_list_hr'
]);
}
#[Route(path: '/orth-list', name: 'orth_list_hr', methods: ['GET'])]
public function orthList(): Response
{
return $this->render('hr_reports/orth_list.html.twig',[
'name'=> 'Orthopedic HR',
'url' => 'orth_list_hr'
]);
}
#[Route(path: '/phy-list', name: 'phy_list_hr', methods: ['GET'])]
public function phyList(): Response
{
return $this->render('hr_reports/phy_list.html.twig',[
'name'=> 'Physiotherapy HR',
'url' => 'phy_list_hr'
]);
}
#[Route(path: '/ent-list', name: 'ent_list_hr', methods: ['GET'])]
public function ENTList(): Response
{
return $this->render('hr_reports/ent_list.html.twig',[
'name'=> 'ENT HR',
'url' => 'ent_list_hr'
]);
}
#[Route(path: '/plastic-list', name: 'plastic_list_hr', methods: ['GET'])]
public function plasticList(): Response
{
return $this->render('hr_reports/plastic_list.html.twig',[
'name'=> 'Plastic Surgery HR',
'url' => 'plastic_list_hr'
]);
}
#[Route(path: '/oph-list', name: 'oph_list_hr', methods: ['GET'])]
public function ophList(): Response
{
return $this->render('hr_reports/oph_list.html.twig',[
'name'=> 'Ophthalmic HR',
'url' => 'oph_list_hr'
]);
}
#[Route(path: '/onc-list', name: 'onc_list_hr', methods: ['GET'])]
public function oncList(): Response
{
return $this->render('hr_reports/onc_list.html.twig',[
'name'=> 'Oncology HR',
'url' => 'onc_list_hr'
]);
}
#[Route(path: '/neu-list', name: 'neu_list_hr', methods: ['GET'])]
public function neuList(): Response
{
return $this->render('hr_reports/neu_list.html.twig',[
'name'=> 'Neurosurgery HR',
'url' => 'neu_list_hr'
]);
}
#[Route(path: '/oph-hr-name', name: 'oph_hr_name_list_hr', methods: ['GET'])]
public function oph_hr_name(): Response
{
return $this->render('hr_reports/name-wise-hr/hr_list.html.twig', [
'url_hr' => 'oph_hr_list_hr',
'url_detail' => 'oph_detail_hr',
'url_summary' => 'oph_summary_hr',
'title' => 'Ophthalmology HR'
]);
}
#[Route(path: '/sur-onc-name', name: 'sur_onc_name_hr', methods: ['GET'])]
public function sur_onc_name(): Response
{
return $this->render('hr_reports/name-wise-hr/hr_list.html.twig', [
'url_hr' => 'sur_onc_list_hr',
'url_detail' => 'sur_onc_detail_hr',
'url_summary' => 'sur_onc_summary_hr',
'title' => 'Surgical Oncology HR'
]);
}
#[Route(path: '/res-name', name: 'res_name_list_hr', methods: ['GET'])]
public function res_name(): Response
{
return $this->render('hr_reports/name-wise-hr/hr_list.html.twig', [
'url_hr' => 'res_list_hr',
'url_detail' => 'res_detail_hr',
'url_summary' => 'res_summary_hr',
'title' => 'Respiratory Medicine'
]);
}
#[Route(path: '/general-name', name: 'general_name_list_hr', methods: ['GET'])]
public function general_name(): Response
{
return $this->render('hr_reports/name-wise-hr/hr_list.html.twig', [
'url_hr' => 'general_list_hr',
'url_detail' => 'general_detail_hr',
'url_summary' => 'general_summary_hr',
'title' => 'General HR'
]);
}
#[Route(path: '/medicine-name', name: 'medicine_name_list_hr', methods: ['GET'])]
public function medicine_name(): Response
{
return $this->render('hr_reports/name-wise-hr/hr_list.html.twig', [
'url_hr' => 'medicine_list_hr',
'url_detail' => 'medicine_detail_hr',
'url_summary' => 'medicine_summary_hr',
'title' => 'Medicine HR'
]);
}
#[Route(path: '/dental-name', name: 'dental_name_list_hr', methods: ['GET'])]
public function dental_name(): Response
{
return $this->render('hr_reports/name-wise-hr/hr_list.html.twig', [
'url_hr' => 'dental_list_hr',
'url_detail' => 'dental_detail_hr',
'url_summary' => 'dental_summary_hr',
'title' => 'Dental HR'
]);
}
#[Route(path: '/pae-name', name: 'pae_name_list_hr', methods: ['GET'])]
public function pae_name(): Response
{
return $this->render('hr_reports/name-wise-hr/hr_list.html.twig', [
'url_hr' => 'pae_list_hr',
'url_detail' => 'pae_detail_hr',
'url_summary' => 'pae_summary_hr',
'title' => 'Pediatric HR '
]);
}
#[Route(path: '/tra-name', name: 'tra_name_list_hr', methods: ['GET'])]
public function tra_name(): Response
{
return $this->render('hr_reports/name-wise-hr/hr_list.html.twig', [
'url_hr' => 'tra_list_hr',
'url_detail' => 'tra_detail_hr',
'url_summary' => 'tra_summary_hr',
'title' => 'Trauma care HR'
]);
}
#[Route(path: '/surgical-name', name: 'surgical_name_list_hr', methods: ['GET'])]
public function surgical_name(): Response
{
return $this->render('hr_reports/name-wise-hr/hr_list.html.twig', [
'url_hr' => 'sur_list_hr',
'url_detail' => 'surgical_detail_hr',
'url_summary' => 'surgical_summary_hr',
'title' => 'Surgical HR'
]);
}
#[Route(path: '/mental-name', name: 'mental_name_list_hr', methods: ['GET'])]
public function mental_name(): Response
{
return $this->render('hr_reports/name-wise-hr/hr_list.html.twig', [
'url_hr' => 'mental_list_hr',
'url_detail' => 'mental_detail_hr',
'url_summary' => 'mental_summary_hr',
'title' => 'Mental HR'
]);
}
#[Route(path: '/psy-name', name: 'psy_name_list_hr', methods: ['GET'])]
public function psy_name(): Response
{
return $this->render('hr_reports/name-wise-hr/hr_list.html.twig', [
'url_hr' => 'psy_list_hr',
'url_detail' => 'psy_detail_hr',
'url_summary' => 'psy_summary_hr',
'title' => 'Psychiatry HR'
]);
}
#[Route(path: '/gyn-name', name: 'gyn_name_list_hr', methods: ['GET'])]
public function gyn_name(): Response
{
return $this->render('hr_reports/name-wise-hr/hr_list.html.twig', [
'url_hr' => 'gyn_list_hr',
'url_detail' => 'gyn_detail_hr',
'url_summary' => 'gyn_summary_hr',
'title' => 'Gynecology HR'
]);
}
#[Route(path: '/orth-name', name: 'orth_name_list_hr', methods: ['GET'])]
public function orth_name(): Response
{
return $this->render('hr_reports/name-wise-hr/hr_list.html.twig', [
'url_hr' => 'orth_list_hr',
'url_detail' => 'orth_detail_hr',
'url_summary' => '_summary_hr',
'title' => 'Orthopedic HR'
]);
}
#[Route(path: '/phy-name', name: 'phy_name_list_hr', methods: ['GET'])]
public function phy_name(): Response
{
return $this->render('hr_reports/name-wise-hr/hr_list.html.twig', [
'url_hr' => 'phy_list_hr',
'url_detail' => 'phy_detail_hr',
'url_summary' => 'phy_summary_hr',
'title' => 'Physiotherapy HR'
]);
}
#[Route(path: '/ent-name', name: 'ent_name_list_hr', methods: ['GET'])]
public function ENT_name(): Response
{
return $this->render('hr_reports/name-wise-hr/hr_list.html.twig', [
'url_hr' => 'ent_list_hr',
'url_detail' => 'ent_detail_hr',
'url_summary' => 'ent_summary_hr',
'title' => 'ENT HR'
]);
}
#[Route(path: '/plastic-name', name: 'plastic_name_list_hr', methods: ['GET'])]
public function plastic_name(): Response
{
return $this->render('hr_reports/name-wise-hr/hr_list.html.twig', [
'url_hr' => 'plastic_list_hr',
'url_detail' => 'plastic_detail_hr',
'url_summary' => 'plastic_summary_hr',
'title' => 'Plastic Surgery HR'
]);
}
#[Route(path: '/oph-name', name: 'oph_name_list_hr', methods: ['GET'])]
public function oph_name(): Response
{
return $this->render('hr_reports/name-wise-hr/hr_list.html.twig', [
'url_hr' => 'oph_list_hr',
'url_detail' => 'oph_detail_hr',
'url_summary' => 'oph_summary_hr',
'title' => 'Ophthalmic HR'
]);
}
#[Route(path: '/onc-name', name: 'onc_name_list_hr', methods: ['GET'])]
public function Onc_name(): Response
{
return $this->render('hr_reports/name-wise-hr/hr_list.html.twig', [
'url_hr' => 'onc_list_hr',
'url_detail' => 'onc_detail_hr',
'url_summary' => 'onc_summary_hr',
'title' => 'Oncology HR'
]);
}
#[Route(path: '/neu-name', name: 'neu_name_list_hr', methods: ['GET'])]
public function neu_name(): Response
{
return $this->render('hr_reports/name-wise-hr/hr_list.html.twig', [
'url_hr' => 'neu_list_hr',
'url_detail' => 'neu_detail_hr',
'url_summary' => 'neu_summary_hr',
'title' => 'Neurosurgery HR'
]);
}
#[Route(path: '/oph-hr-summary', name: 'oph_hr_summary_hr', methods: ['GET'])]
public function oph_hr_summary(): Response
{
return $this->render('hr_reports/name-wise-hr/summary.html.twig', [
'url_back' => 'oph_hr_name_list_hr',
'title' => 'ophthalmology HR'
]);
}
#[Route(path: '/sur-onc-summary', name: 'sur_onc_summary_hr', methods: ['GET'])]
public function sur_onc_list_summary(): Response
{
return $this->render('hr_reports/name-wise-hr/summary.html.twig', [
'url_back' => 'sur_onc_name_hr',
'title' => 'Surgical Oncology'
]);
}
#[Route(path: '/res-summary', name: 'res_summary_hr', methods: ['GET'])]
public function res_summary(): Response
{
return $this->render('hr_reports/name-wise-hr/summary.html.twig', [
'url_back' => 'res_name_list_hr',
'title' => 'Respiratory Medicine'
]);
}
#[Route(path: '/general-summary', name: 'general_summary_hr', methods: ['GET'])]
public function general_summary(): Response
{
return $this->render('hr_reports/name-wise-hr/summary.html.twig', [
'url_back' => 'general_name_list_hr',
'title' => 'General HR'
]);
}
#[Route(path: '/medicine-summary', name: 'medicine_summary_hr', methods: ['GET'])]
public function medicine_summary(): Response
{
return $this->render('hr_reports/name-wise-hr/summary.html.twig', [
'url_back' => 'medicine_name_list_hr',
'title' => 'Medicine HR'
]);
}
#[Route(path: '/dental-summary', name: 'dental_summary_hr', methods: ['GET'])]
public function dental_summary(): Response
{
return $this->render('hr_reports/name-wise-hr/summary.html.twig', [
'url_back' => 'dental_name_list_hr',
'title' => 'Dental HR'
]);
}
#[Route(path: '/pae-summary', name: 'pae_summary_hr', methods: ['GET'])]
public function pae_summary(): Response
{
return $this->render('hr_reports/name-wise-hr/summary.html.twig', [
'url_back' => 'pae_name_list_hr',
'title' => 'Pediatric HR'
]);
}
#[Route(path: '/tra-summary', name: 'tra_summary_hr', methods: ['GET'])]
public function tra_summary(): Response
{
return $this->render('hr_reports/name-wise-hr/summary.html.twig', [
'url_back' => 'tra_name_list_hr',
'title' => 'Trauma care HR'
]);
}
#[Route(path: '/surgical-summary', name: 'surgical_summary_hr', methods: ['GET'])]
public function surgical_summary(): Response
{
return $this->render('hr_reports/name-wise-hr/summary.html.twig', [
'url_back' => 'surgical_name_list_hr',
'title' => 'Surgical HR'
]);
}
#[Route(path: '/mental-summary', name: 'mental_summary_hr', methods: ['GET'])]
public function mental_summary(): Response
{
return $this->render('hr_reports/name-wise-hr/summary.html.twig', [
'url_back' => 'mental_name_list_hr',
'title' => 'mental HR'
]);
}
#[Route(path: '/tale-summary', name: 'tale_summary_hr', methods: ['GET'])]
public function tale_summary(): Response
{
return $this->render('hr_reports/name-wise-hr/summary.html.twig', [
'url_back' => 'tale_name_list_hr',
'title' => 'Teleradiology'
]);
}
#[Route(path: '/psy-summary', name: 'psy_summary_hr', methods: ['GET'])]
public function psy_summary(): Response
{
return $this->render('hr_reports/name-wise-hr/summary.html.twig', [
'url_back' => 'psy_name_list_hr',
'title' => 'Psychiatry HR'
]);
}
#[Route(path: '/gyn-summary', name: 'gyn_summary_hr', methods: ['GET'])]
public function gyn_summary(): Response
{
return $this->render('hr_reports/name-wise-hr/summary.html.twig', [
'url_back' => 'gyn_name_list_hr',
'title' => 'Gynecology HR'
]);
}
#[Route(path: '/orth-summary', name: 'orth_summary_hr', methods: ['GET'])]
public function orth_summary(): Response
{
return $this->render('hr_reports/name-wise-hr/summary.html.twig', [
'url_back' => 'orth_name_list_hr',
'title' => 'Orthopaedic HR'
]);
}
#[Route(path: '/phy-summary', name: 'phy_summary_hr', methods: ['GET'])]
public function phy_summary(): Response
{
return $this->render('hr_reports/name-wise-hr/summary.html.twig', [
'url_back' => 'phy_name_list_hr',
'title' => 'Physiotherapy HR'
]);
}
#[Route(path: '/ent-summary', name: 'ent_summary_hr', methods: ['GET'])]
public function ent_summary(): Response
{
return $this->render('hr_reports/name-wise-hr/summary.html.twig', [
'url_back' => 'ent_name_list_hr',
'title' => 'ENT'
]);
}
#[Route(path: '/plastic-summary', name: 'plastic_summary_hr', methods: ['GET'])]
public function plastic_summary(): Response
{
return $this->render('hr_reports/name-wise-hr/summary.html.twig', [
'url_back' => 'plastic_name_list_hr',
'title' => 'Plastic Surgery HR'
]);
}
#[Route(path: '/oph-summary', name: 'oph_summary_hr', methods: ['GET'])]
public function oph_summary(): Response
{
return $this->render('hr_reports/name-wise-hr/summary.html.twig', [
'url_back' => 'oph_name_list_hr',
'title' => 'Ophthalmic HR'
]);
}
#[Route(path: '/onc-summary', name: 'onc_summary_hr', methods: ['GET'])]
public function Onc_summary(): Response
{
return $this->render('hr_reports/name-wise-hr/summary.html.twig', [
'url_back' => 'onc_name_list_hr',
'title' => 'Oncology HR'
]);
}
#[Route(path: '/neu-summary', name: 'neu_summary_hr', methods: ['GET'])]
public function neu_summary(): Response
{
return $this->render('hr_reports/name-wise-hr/summary.html.twig', [
'url_back' => 'neu_name_list_hr',
'title' => 'Neurosurgery HR'
]);
}
#[Route(path: '/oph_hr-detail', name: 'oph_hr_detail_hr', methods: ['GET'])]
public function oph_hr_detail(): Response
{
return $this->render('hr_reports/name-wise-hr/detail.html.twig', [
'url_back' => 'oph_hr_name_list_hr',
'title' => 'Ophthalmology HR'
]);
}
#[Route(path: '/sur_onc-detail', name: 'sur_onc_detail_hr', methods: ['GET'])]
public function sur_onc_detail(): Response
{
return $this->render('hr_reports/name-wise-hr/detail.html.twig', [
'url_back' => 'sur_onc_name_hr',
'title' => 'Surgical Oncology'
]);
}
#[Route(path: '/res-detail', name: 'res_detail_hr', methods: ['GET'])]
public function res_detail(): Response
{
return $this->render('hr_reports/name-wise-hr/detail.html.twig', [
'url_back' => 'res_name_list_hr',
'title' => 'Respiratory Medicine'
]);
}
#[Route(path: '/general-detail', name: 'general_detail_hr', methods: ['GET'])]
public function general_detail(): Response
{
return $this->render('hr_reports/name-wise-hr/detail.html.twig', [
'url_back' => 'general_name_list_hr',
'title' => 'General HR'
]);
}
#[Route(path: '/medicine-detail', name: 'medicine_detail_hr', methods: ['GET'])]
public function medicine_detail(): Response
{
return $this->render('hr_reports/name-wise-hr/detail.html.twig', [
'url_back' => 'medicine_name_list_hr',
'title' => 'Medicine HR'
]);
}
#[Route(path: '/dental-detail', name: 'dental_detail_hr', methods: ['GET'])]
public function dental_detail(): Response
{
return $this->render('hr_reports/name-wise-hr/detail.html.twig', [
'url_back' => 'dental_name_list_hr',
'title' => 'Dental HR'
]);
}
#[Route(path: '/pae-detail', name: 'pae_detail_hr', methods: ['GET'])]
public function pae_detail(): Response
{
return $this->render('hr_reports/name-wise-hr/detail.html.twig', [
'url_back' => 'pae_name_list_hr',
'title' => 'Pediatric HR'
]);
}
#[Route(path: '/tra-detail', name: 'tra_detail_hr', methods: ['GET'])]
public function tra_detail(): Response
{
return $this->render('hr_reports/name-wise-hr/detail.html.twig', [
'url_back' => 'tra_name_list_hr',
'title' => 'Trauma care HR'
]);
}
#[Route(path: '/surgical-detail', name: 'surgical_detail_hr', methods: ['GET'])]
public function surgical_detail(): Response
{
return $this->render('hr_reports/name-wise-hr/detail.html.twig', [
'url_back' => 'surgical_name_list_hr',
'title' => 'Surgical HR'
]);
}
#[Route(path: '/mental-detail', name: 'mental_detail_hr', methods: ['GET'])]
public function mental_detail(): Response
{
return $this->render('hr_reports/name-wise-hr/detail.html.twig', [
'url_back' => 'mental_name_list_hr',
'title' => 'mental HR'
]);
}
#[Route(path: '/tale-detail', name: 'tale_detail_hr', methods: ['GET'])]
public function tale_detail(): Response
{
return $this->render('hr_reports/name-wise-hr/detail.html.twig', [
'url_back' => 'tale_name_list_hr',
'title' => 'Teleradiology'
]);
}
#[Route(path: '/psy-detail', name: 'psy_detail_hr', methods: ['GET'])]
public function psy_detail(): Response
{
return $this->render('hr_reports/name-wise-hr/detail.html.twig', [
'url_back' => 'psy_name_list_hr',
'title' => 'Psychiatry HR'
]);
}
#[Route(path: '/gyn-detail', name: 'gyn_detail_hr', methods: ['GET'])]
public function gyn_detail(): Response
{
return $this->render('hr_reports/name-wise-hr/detail.html.twig', [
'url_back' => 'gyn_name_list_hr',
'title' => 'Gynecology HR'
]);
}
#[Route(path: '/orth-detail', name: 'orth_detail_hr', methods: ['GET'])]
public function orth_detail(): Response
{
return $this->render('hr_reports/name-wise-hr/detail.html.twig', [
'url_back' => 'orth_name_list_hr',
'title' => 'Orthopedic HR'
]);
}
#[Route(path: '/phy-detail', name: 'phy_detail_hr', methods: ['GET'])]
public function phy_detail(): Response
{
return $this->render('hr_reports/name-wise-hr/detail.html.twig', [
'url_back' => 'phy_name_list_hr',
'title' => 'Physiotherapy HR'
]);
}
#[Route(path: '/ent-detail', name: 'ent_detail_hr', methods: ['GET'])]
public function ENT_detail(): Response
{
return $this->render('hr_reports/name-wise-hr/detail.html.twig', [
'url_back' => 'ent_name_list_hr',
'title' => 'ENT HR'
]);
}
#[Route(path: '/plastic-detail', name: 'plastic_detail_hr', methods: ['GET'])]
public function plastic_detail(): Response
{
return $this->render('hr_reports/name-wise-hr/detail.html.twig', [
'url_back' => 'plastic_name_list_hr',
'title' => 'Plastic Surgery HR'
]);
}
#[Route(path: '/oph-detail', name: 'oph_detail_hr', methods: ['GET'])]
public function oph_detail(): Response
{
return $this->render('hr_reports/name-wise-hr/detail.html.twig', [
'url_back' => 'oph_name_list_hr',
'title' => 'Ophthalmic HR'
]);
}
#[Route(path: '/onc-detail', name: 'onc_detail_hr', methods: ['GET'])]
public function Onc_detail(): Response
{
return $this->render('hr_reports/name-wise-hr/detail.html.twig', [
'url_back' => 'onc_name_list_hr',
'title' => 'Oncology HR'
]);
}
#[Route(path: '/neu-detail', name: 'neu_detail_hr', methods: ['GET'])]
public function neu_detail(): Response
{
return $this->render('hr_reports/name-wise-hr/detail.html.twig', [
'url_back' => 'neu_name_list_hr',
'title' => 'Neurosurgery HR'
]);
}
}