src/Controller/HrReportsController.php line 16

Open in your IDE?
  1. <?php
  2. namespace App\Controller;
  3. use App\Finder\Report\Rch;
  4. use PhpOffice\PhpSpreadsheet\{ IOFactorySpreadsheetStyle\Alignment };
  5. use Sensio\Bundle\FrameworkExtraBundle\Configuration\Security;
  6. use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
  7. use Symfony\Component\HttpFoundation\{ RequestResponseResponseHeaderBag };
  8. use Symfony\Component\Routing\Annotation\Route;
  9. #[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')")]
  10. class HrReportsController extends AbstractController
  11. {
  12.     #[Route(path'/dashboard'name'hr_report_dashboard'methods: ['GET'])]
  13.     public function dashboard(Request $request): Response
  14.     {
  15.         // if ($request->get('range')) {
  16.         //     [$from, $to] = explode(' / ', $request->get('range'));
  17.         // } else {
  18.         //     $from = $to = null;
  19.         // }
  20.         // $hospitalId = $this->getUser()->getHospital()->getId();
  21.         // $cases = $finder->getBirthDefectData($hospitalId, $from, $to);
  22.         return $this->render('hr_reports/dean_dashboard.html.twig');
  23.     }
  24.     #[Route(path'/all-list'name'all_list_hr'methods: ['GET'])]
  25.     public function allList(): Response
  26.     {
  27.         return $this->render('hr_reports/all_list.html.twig',[
  28.             'name'=> 'All HR',
  29.             'url' => 'all_list_hr'
  30.         ]);
  31.     }
  32.     #[Route(path'/oph-hr-list'name'oph_hr_list_hr'methods: ['GET'])]
  33.     public function oph_hrList(): Response
  34.     {
  35.         return $this->render('hr_reports/oph_hr_list.html.twig',[
  36.             'name'=> 'Ophthalmology HR',
  37.             'url' => 'oph_hr_list_hr'
  38.         ]);
  39.     }
  40.     #[Route(path'/sur-onc-list'name'sur_onc_list_hr'methods: ['GET'])]
  41.     public function sur_oncList(): Response
  42.     {
  43.         return $this->render('hr_reports/sur_onc_list.html.twig',[
  44.             'name'=> 'Surgical Oncology HR',
  45.             'url' => 'sur_onc_list_hr'
  46.         ]);
  47.     }
  48.     #[Route(path'/res-list'name'res_list_hr'methods: ['GET'])]
  49.     public function resList(): Response
  50.     {
  51.         return $this->render('hr_reports/res_list.html.twig',[
  52.             'name'=> 'Respiratory Medicine',
  53.             'url' => 'res_list_hr'
  54.         ]);
  55.     }
  56.     #[Route(path'/general-list'name'general_list_hr'methods: ['GET'])]
  57.     public function generalList(): Response
  58.     {
  59.         return $this->render('hr_reports/general_list.html.twig',[
  60.             'name'=> 'General HR',
  61.             'url' => 'general_list_hr'
  62.         ]);
  63.     }
  64.     #[Route(path'/medicine-list'name'medicine_list_hr'methods: ['GET'])]
  65.     public function medicinedList(): Response
  66.     {
  67.         return $this->render('hr_reports/medicine_list.html.twig',[
  68.             'name'=> 'Medicine HR',
  69.             'url' => 'medicine_list_hr'
  70.         ]);
  71.     }
  72.     #[Route(path'/dental-list'name'dental_list_hr'methods: ['GET'])]
  73.     public function dentalList(): Response
  74.     {
  75.         return $this->render('hr_reports/dental_list.html.twig',[
  76.             'name'=> 'Dental HR',
  77.             'url' => 'dental_list_hr'
  78.         ]);
  79.     }
  80.     #[Route(path'/pae-list'name'pae_list_hr'methods: ['GET'])]
  81.     public function paeList(): Response
  82.     {
  83.         return $this->render('hr_reports/pae_list.html.twig',[
  84.             'name'=> 'Pediatric HR',
  85.             'url' => 'pae_list_hr'
  86.         ]);
  87.     }
  88.     #[Route(path'/tra-list'name'tra_list_hr'methods: ['GET'])]
  89.     public function traList(): Response
  90.     {
  91.         return $this->render('hr_reports/trauma_list.html.twig',[
  92.             'name'=> 'Trauma care HR',
  93.             'url' => 'tra_list_hr'
  94.         ]);
  95.     }
  96.     #[Route(path'/surgical-list'name'sur_list_hr'methods: ['GET'])]
  97.     public function surgicalList(): Response
  98.     {
  99.         return $this->render('hr_reports/sur_list.html.twig',[
  100.             'name'=> 'Surgical HR',
  101.             'url' => 'sur_list_hr'
  102.         ]);
  103.     }
  104.     #[Route(path'/mental-list'name'mental_list_hr'methods: ['GET'])]
  105.     public function mentalList(): Response
  106.     {
  107.         return $this->render('hr_reports/mental_list.html.twig',[
  108.             'name'=> 'Mental HR',
  109.             'url' => 'mental_list_hr'
  110.         ]);
  111.     }
  112.     #[Route(path'/psy-list'name'psy_list_hr'methods: ['GET'])]
  113.     public function psyList(): Response
  114.     {
  115.         return $this->render('hr_reports/psy_list.html.twig',[
  116.             'name'=> 'Psychiatry HR',
  117.             'url' => 'psy_list_hr'
  118.         ]);
  119.     }
  120.     #[Route(path'/gyn-list'name'gyn_list_hr'methods: ['GET'])]
  121.     public function gynList(): Response
  122.     {
  123.         return $this->render('hr_reports/gyn_list.html.twig',[
  124.             'name'=> 'Gynecology HR',
  125.             'url' => 'gyn_list_hr'
  126.         ]);
  127.     }
  128.     #[Route(path'/orth-list'name'orth_list_hr'methods: ['GET'])]
  129.     public function orthList(): Response
  130.     {
  131.         return $this->render('hr_reports/orth_list.html.twig',[
  132.             'name'=> 'Orthopedic HR',
  133.             'url' => 'orth_list_hr'
  134.         ]);
  135.     }
  136.     #[Route(path'/phy-list'name'phy_list_hr'methods: ['GET'])]
  137.     public function phyList(): Response
  138.     {
  139.         return $this->render('hr_reports/phy_list.html.twig',[
  140.             'name'=> 'Physiotherapy HR',
  141.             'url' => 'phy_list_hr'
  142.         ]);
  143.     }
  144.     #[Route(path'/ent-list'name'ent_list_hr'methods: ['GET'])]
  145.     public function ENTList(): Response
  146.     {
  147.         return $this->render('hr_reports/ent_list.html.twig',[
  148.             'name'=> 'ENT HR',
  149.             'url' => 'ent_list_hr'
  150.         ]);
  151.     }
  152.     #[Route(path'/plastic-list'name'plastic_list_hr'methods: ['GET'])]
  153.     public function plasticList(): Response
  154.     {
  155.         return $this->render('hr_reports/plastic_list.html.twig',[
  156.             'name'=> 'Plastic Surgery HR',
  157.             'url' => 'plastic_list_hr'
  158.         ]);
  159.     }
  160.     #[Route(path'/oph-list'name'oph_list_hr'methods: ['GET'])]
  161.     public function ophList(): Response
  162.     {
  163.         return $this->render('hr_reports/oph_list.html.twig',[
  164.             'name'=> 'Ophthalmic HR',
  165.             'url' => 'oph_list_hr'
  166.         ]);
  167.     }
  168.     #[Route(path'/onc-list'name'onc_list_hr'methods: ['GET'])]
  169.     public function oncList(): Response
  170.     {
  171.         return $this->render('hr_reports/onc_list.html.twig',[
  172.             'name'=> 'Oncology HR',
  173.             'url' => 'onc_list_hr'
  174.         ]);
  175.     }
  176.     #[Route(path'/neu-list'name'neu_list_hr'methods: ['GET'])]
  177.     public function neuList(): Response
  178.     {
  179.         return $this->render('hr_reports/neu_list.html.twig',[
  180.             'name'=> 'Neurosurgery HR',
  181.             'url' => 'neu_list_hr'
  182.         ]);
  183.     }
  184.     #[Route(path'/oph-hr-name'name'oph_hr_name_list_hr'methods: ['GET'])]
  185.     public function oph_hr_name(): Response
  186.     {
  187.         return $this->render('hr_reports/name-wise-hr/hr_list.html.twig', [
  188.             'url_hr' => 'oph_hr_list_hr',
  189.              'url_detail' => 'oph_detail_hr',
  190.              'url_summary' => 'oph_summary_hr',
  191.             'title' => 'Ophthalmology HR'
  192.         ]);
  193.     }
  194.     #[Route(path'/sur-onc-name'name'sur_onc_name_hr'methods: ['GET'])]
  195.     public function sur_onc_name(): Response
  196.     {
  197.         return $this->render('hr_reports/name-wise-hr/hr_list.html.twig', [
  198.             'url_hr' => 'sur_onc_list_hr',
  199.              'url_detail' => 'sur_onc_detail_hr',
  200.              'url_summary' => 'sur_onc_summary_hr',
  201.             'title' => 'Surgical Oncology HR'
  202.         ]);
  203.     }
  204.     #[Route(path'/res-name'name'res_name_list_hr'methods: ['GET'])]
  205.     public function res_name(): Response
  206.     {
  207.         return $this->render('hr_reports/name-wise-hr/hr_list.html.twig', [
  208.             'url_hr' => 'res_list_hr',
  209.              'url_detail' => 'res_detail_hr',
  210.              'url_summary' => 'res_summary_hr',
  211.             'title' => 'Respiratory Medicine'
  212.         ]);
  213.     }
  214.     #[Route(path'/general-name'name'general_name_list_hr'methods: ['GET'])]
  215.     public function general_name(): Response
  216.     {
  217.         return $this->render('hr_reports/name-wise-hr/hr_list.html.twig', [
  218.             'url_hr' => 'general_list_hr',
  219.              'url_detail' => 'general_detail_hr',
  220.              'url_summary' => 'general_summary_hr',
  221.             'title' => 'General HR'
  222.         ]);
  223.     }
  224.     #[Route(path'/medicine-name'name'medicine_name_list_hr'methods: ['GET'])]
  225.     public function medicine_name(): Response
  226.     {
  227.         return $this->render('hr_reports/name-wise-hr/hr_list.html.twig', [
  228.             'url_hr' => 'medicine_list_hr',
  229.              'url_detail' => 'medicine_detail_hr',
  230.              'url_summary' => 'medicine_summary_hr',
  231.             'title' => 'Medicine HR'
  232.         ]);
  233.     }
  234.     #[Route(path'/dental-name'name'dental_name_list_hr'methods: ['GET'])]
  235.     public function dental_name(): Response
  236.     {
  237.         return $this->render('hr_reports/name-wise-hr/hr_list.html.twig', [
  238.             'url_hr' => 'dental_list_hr',
  239.              'url_detail' => 'dental_detail_hr',
  240.              'url_summary' => 'dental_summary_hr',
  241.             'title' => 'Dental HR'
  242.         ]);
  243.     }
  244.     #[Route(path'/pae-name'name'pae_name_list_hr'methods: ['GET'])]
  245.     public function pae_name(): Response
  246.     {
  247.         return $this->render('hr_reports/name-wise-hr/hr_list.html.twig', [
  248.             'url_hr' => 'pae_list_hr',
  249.              'url_detail' => 'pae_detail_hr',
  250.              'url_summary' => 'pae_summary_hr',
  251.             'title' => 'Pediatric HR '
  252.         ]);
  253.     }
  254.     #[Route(path'/tra-name'name'tra_name_list_hr'methods: ['GET'])]
  255.     public function tra_name(): Response
  256.     {
  257.         return $this->render('hr_reports/name-wise-hr/hr_list.html.twig', [
  258.             'url_hr' => 'tra_list_hr',
  259.              'url_detail' => 'tra_detail_hr',
  260.              'url_summary' => 'tra_summary_hr',
  261.             'title' => 'Trauma care HR'
  262.         ]);
  263.     }
  264.     #[Route(path'/surgical-name'name'surgical_name_list_hr'methods: ['GET'])]
  265.     public function surgical_name(): Response
  266.     {
  267.         return $this->render('hr_reports/name-wise-hr/hr_list.html.twig', [
  268.             'url_hr' => 'sur_list_hr',
  269.              'url_detail' => 'surgical_detail_hr',
  270.              'url_summary' => 'surgical_summary_hr',
  271.             'title' => 'Surgical HR'
  272.         ]);
  273.     }
  274.     #[Route(path'/mental-name'name'mental_name_list_hr'methods: ['GET'])]
  275.     public function mental_name(): Response
  276.     {
  277.         return $this->render('hr_reports/name-wise-hr/hr_list.html.twig', [
  278.             'url_hr' => 'mental_list_hr',
  279.              'url_detail' => 'mental_detail_hr',
  280.              'url_summary' => 'mental_summary_hr',
  281.             'title' => 'Mental HR'
  282.         ]);
  283.     }
  284.     #[Route(path'/psy-name'name'psy_name_list_hr'methods: ['GET'])]
  285.     public function psy_name(): Response
  286.     {
  287.         return $this->render('hr_reports/name-wise-hr/hr_list.html.twig', [
  288.             'url_hr' => 'psy_list_hr',
  289.              'url_detail' => 'psy_detail_hr',
  290.              'url_summary' => 'psy_summary_hr',
  291.             'title' => 'Psychiatry HR'
  292.         ]);
  293.     }
  294.     #[Route(path'/gyn-name'name'gyn_name_list_hr'methods: ['GET'])]
  295.     public function gyn_name(): Response
  296.     {
  297.         return $this->render('hr_reports/name-wise-hr/hr_list.html.twig', [
  298.             'url_hr' => 'gyn_list_hr',
  299.              'url_detail' => 'gyn_detail_hr',
  300.              'url_summary' => 'gyn_summary_hr',
  301.             'title' => 'Gynecology HR'
  302.         ]);
  303.     }
  304.     #[Route(path'/orth-name'name'orth_name_list_hr'methods: ['GET'])]
  305.     public function orth_name(): Response
  306.     {
  307.         return $this->render('hr_reports/name-wise-hr/hr_list.html.twig', [
  308.             'url_hr' => 'orth_list_hr',
  309.              'url_detail' => 'orth_detail_hr',
  310.              'url_summary' => '_summary_hr',
  311.             'title' => 'Orthopedic HR'
  312.         ]);
  313.     }
  314.     #[Route(path'/phy-name'name'phy_name_list_hr'methods: ['GET'])]
  315.     public function phy_name(): Response
  316.     {
  317.         return $this->render('hr_reports/name-wise-hr/hr_list.html.twig', [
  318.             'url_hr' => 'phy_list_hr',
  319.              'url_detail' => 'phy_detail_hr',
  320.              'url_summary' => 'phy_summary_hr',
  321.             'title' => 'Physiotherapy HR'
  322.         ]);
  323.     }
  324.     #[Route(path'/ent-name'name'ent_name_list_hr'methods: ['GET'])]
  325.     public function ENT_name(): Response
  326.     {
  327.         return $this->render('hr_reports/name-wise-hr/hr_list.html.twig', [
  328.             'url_hr' => 'ent_list_hr',
  329.              'url_detail' => 'ent_detail_hr',
  330.              'url_summary' => 'ent_summary_hr',
  331.             'title' => 'ENT HR'
  332.         ]);
  333.     }
  334.     #[Route(path'/plastic-name'name'plastic_name_list_hr'methods: ['GET'])]
  335.     public function plastic_name(): Response
  336.     {
  337.         return $this->render('hr_reports/name-wise-hr/hr_list.html.twig', [
  338.             'url_hr' => 'plastic_list_hr',
  339.              'url_detail' => 'plastic_detail_hr',
  340.              'url_summary' => 'plastic_summary_hr',
  341.             'title' => 'Plastic Surgery HR'
  342.         ]);
  343.     }
  344.     #[Route(path'/oph-name'name'oph_name_list_hr'methods: ['GET'])]
  345.     public function oph_name(): Response
  346.     {
  347.         return $this->render('hr_reports/name-wise-hr/hr_list.html.twig', [
  348.             'url_hr' => 'oph_list_hr',
  349.              'url_detail' => 'oph_detail_hr',
  350.              'url_summary' => 'oph_summary_hr',
  351.             'title' => 'Ophthalmic HR'
  352.         ]);
  353.     }
  354.     #[Route(path'/onc-name'name'onc_name_list_hr'methods: ['GET'])]
  355.     public function Onc_name(): Response
  356.     {
  357.         return $this->render('hr_reports/name-wise-hr/hr_list.html.twig', [
  358.             'url_hr' => 'onc_list_hr',
  359.              'url_detail' => 'onc_detail_hr',
  360.              'url_summary' => 'onc_summary_hr',
  361.             'title' => 'Oncology HR'
  362.         ]);
  363.     }
  364.     #[Route(path'/neu-name'name'neu_name_list_hr'methods: ['GET'])]
  365.     public function neu_name(): Response
  366.     {
  367.         return $this->render('hr_reports/name-wise-hr/hr_list.html.twig', [
  368.             'url_hr' => 'neu_list_hr',
  369.              'url_detail' => 'neu_detail_hr',
  370.              'url_summary' => 'neu_summary_hr',
  371.             'title' => 'Neurosurgery HR'
  372.         ]);
  373.     }
  374.     #[Route(path'/oph-hr-summary'name'oph_hr_summary_hr'methods: ['GET'])]
  375.     public function oph_hr_summary(): Response
  376.     {
  377.         return $this->render('hr_reports/name-wise-hr/summary.html.twig', [
  378.             'url_back' => 'oph_hr_name_list_hr',
  379.             'title' => 'ophthalmology HR'
  380.         ]);
  381.     }
  382.     #[Route(path'/sur-onc-summary'name'sur_onc_summary_hr'methods: ['GET'])]
  383.     public function sur_onc_list_summary(): Response
  384.     {
  385.         return $this->render('hr_reports/name-wise-hr/summary.html.twig', [
  386.             'url_back' => 'sur_onc_name_hr',
  387.             'title' => 'Surgical Oncology'
  388.         ]);
  389.     }
  390.     #[Route(path'/res-summary'name'res_summary_hr'methods: ['GET'])]
  391.     public function res_summary(): Response
  392.     {
  393.         return $this->render('hr_reports/name-wise-hr/summary.html.twig', [
  394.             'url_back' => 'res_name_list_hr',
  395.             'title' => 'Respiratory Medicine'
  396.         ]);
  397.     }
  398.     #[Route(path'/general-summary'name'general_summary_hr'methods: ['GET'])]
  399.     public function general_summary(): Response
  400.     {
  401.         return $this->render('hr_reports/name-wise-hr/summary.html.twig', [
  402.             'url_back' => 'general_name_list_hr',
  403.             'title' => 'General HR'
  404.         ]);
  405.     }
  406.     #[Route(path'/medicine-summary'name'medicine_summary_hr'methods: ['GET'])]
  407.     public function medicine_summary(): Response
  408.     {
  409.         return $this->render('hr_reports/name-wise-hr/summary.html.twig', [
  410.             'url_back' => 'medicine_name_list_hr',
  411.             'title' => 'Medicine HR'
  412.         ]);
  413.     }
  414.     #[Route(path'/dental-summary'name'dental_summary_hr'methods: ['GET'])]
  415.     public function dental_summary(): Response
  416.     {
  417.         return $this->render('hr_reports/name-wise-hr/summary.html.twig', [
  418.             'url_back' => 'dental_name_list_hr',
  419.             'title' => 'Dental HR'
  420.         ]);
  421.     }
  422.     #[Route(path'/pae-summary'name'pae_summary_hr'methods: ['GET'])]
  423.     public function pae_summary(): Response
  424.     {
  425.         return $this->render('hr_reports/name-wise-hr/summary.html.twig', [
  426.             'url_back' => 'pae_name_list_hr',
  427.             'title' => 'Pediatric HR'
  428.         ]);
  429.     }
  430.     #[Route(path'/tra-summary'name'tra_summary_hr'methods: ['GET'])]
  431.     public function tra_summary(): Response
  432.     {
  433.         return $this->render('hr_reports/name-wise-hr/summary.html.twig', [
  434.             'url_back' => 'tra_name_list_hr',
  435.             'title' => 'Trauma care HR'
  436.         ]);
  437.     }
  438.     #[Route(path'/surgical-summary'name'surgical_summary_hr'methods: ['GET'])]
  439.     public function surgical_summary(): Response
  440.     {
  441.         return $this->render('hr_reports/name-wise-hr/summary.html.twig', [
  442.             'url_back' => 'surgical_name_list_hr',
  443.             'title' => 'Surgical HR'
  444.         ]);
  445.     }
  446.     #[Route(path'/mental-summary'name'mental_summary_hr'methods: ['GET'])]
  447.     public function mental_summary(): Response
  448.     {
  449.         return $this->render('hr_reports/name-wise-hr/summary.html.twig', [
  450.             'url_back' => 'mental_name_list_hr',
  451.             'title' => 'mental HR'
  452.         ]);
  453.     }
  454.     #[Route(path'/tale-summary'name'tale_summary_hr'methods: ['GET'])]
  455.     public function tale_summary(): Response
  456.     {
  457.         return $this->render('hr_reports/name-wise-hr/summary.html.twig', [
  458.             'url_back' => 'tale_name_list_hr',
  459.             'title' => 'Teleradiology'
  460.         ]);
  461.     }
  462.     #[Route(path'/psy-summary'name'psy_summary_hr'methods: ['GET'])]
  463.     public function psy_summary(): Response
  464.     {
  465.         return $this->render('hr_reports/name-wise-hr/summary.html.twig', [
  466.             'url_back' => 'psy_name_list_hr',
  467.             'title' => 'Psychiatry HR'
  468.         ]);
  469.     }
  470.     #[Route(path'/gyn-summary'name'gyn_summary_hr'methods: ['GET'])]
  471.     public function gyn_summary(): Response
  472.     {
  473.         return $this->render('hr_reports/name-wise-hr/summary.html.twig', [
  474.             'url_back' => 'gyn_name_list_hr',
  475.             'title' => 'Gynecology HR'
  476.         ]);
  477.     }
  478.     #[Route(path'/orth-summary'name'orth_summary_hr'methods: ['GET'])]
  479.     public function orth_summary(): Response
  480.     {
  481.         return $this->render('hr_reports/name-wise-hr/summary.html.twig', [
  482.             'url_back' => 'orth_name_list_hr',
  483.             'title' => 'Orthopaedic HR'
  484.         ]);
  485.     }
  486.     #[Route(path'/phy-summary'name'phy_summary_hr'methods: ['GET'])]
  487.     public function phy_summary(): Response
  488.     {
  489.         return $this->render('hr_reports/name-wise-hr/summary.html.twig', [
  490.             'url_back' => 'phy_name_list_hr',
  491.             'title' => 'Physiotherapy HR'
  492.         ]);
  493.     }
  494.     #[Route(path'/ent-summary'name'ent_summary_hr'methods: ['GET'])]
  495.     public function ent_summary(): Response
  496.     {
  497.         return $this->render('hr_reports/name-wise-hr/summary.html.twig', [
  498.             'url_back' => 'ent_name_list_hr',
  499.             'title' => 'ENT'
  500.         ]);
  501.     }
  502.     #[Route(path'/plastic-summary'name'plastic_summary_hr'methods: ['GET'])]
  503.     public function plastic_summary(): Response
  504.     {
  505.         return $this->render('hr_reports/name-wise-hr/summary.html.twig', [
  506.             'url_back' => 'plastic_name_list_hr',
  507.             'title' => 'Plastic Surgery HR'
  508.         ]);
  509.     }
  510.     #[Route(path'/oph-summary'name'oph_summary_hr'methods: ['GET'])]
  511.     public function oph_summary(): Response
  512.     {
  513.         return $this->render('hr_reports/name-wise-hr/summary.html.twig', [
  514.             'url_back' => 'oph_name_list_hr',
  515.             'title' => 'Ophthalmic HR'
  516.         ]);
  517.     }
  518.     #[Route(path'/onc-summary'name'onc_summary_hr'methods: ['GET'])]
  519.     public function Onc_summary(): Response
  520.     {
  521.         return $this->render('hr_reports/name-wise-hr/summary.html.twig', [
  522.             'url_back' => 'onc_name_list_hr',
  523.             'title' => 'Oncology HR'
  524.         ]);
  525.     }
  526.     #[Route(path'/neu-summary'name'neu_summary_hr'methods: ['GET'])]
  527.     public function neu_summary(): Response
  528.     {
  529.         return $this->render('hr_reports/name-wise-hr/summary.html.twig', [
  530.             'url_back' => 'neu_name_list_hr',
  531.             'title' => 'Neurosurgery HR'
  532.         ]);
  533.     }
  534.     #[Route(path'/oph_hr-detail'name'oph_hr_detail_hr'methods: ['GET'])]
  535.     public function oph_hr_detail(): Response
  536.     {
  537.         return $this->render('hr_reports/name-wise-hr/detail.html.twig', [
  538.             'url_back' => 'oph_hr_name_list_hr',
  539.             'title' => 'Ophthalmology HR'
  540.         ]);
  541.     }
  542.     #[Route(path'/sur_onc-detail'name'sur_onc_detail_hr'methods: ['GET'])]
  543.     public function sur_onc_detail(): Response
  544.     {
  545.         return $this->render('hr_reports/name-wise-hr/detail.html.twig', [
  546.             'url_back' => 'sur_onc_name_hr',
  547.             'title' => 'Surgical Oncology'
  548.         ]);
  549.     }
  550.     #[Route(path'/res-detail'name'res_detail_hr'methods: ['GET'])]
  551.     public function res_detail(): Response
  552.     {
  553.         return $this->render('hr_reports/name-wise-hr/detail.html.twig', [
  554.             'url_back' => 'res_name_list_hr',
  555.             'title' => 'Respiratory Medicine'
  556.         ]);
  557.     }
  558.     #[Route(path'/general-detail'name'general_detail_hr'methods: ['GET'])]
  559.     public function general_detail(): Response
  560.     {
  561.         return $this->render('hr_reports/name-wise-hr/detail.html.twig', [
  562.             'url_back' => 'general_name_list_hr',
  563.             'title' => 'General HR'
  564.         ]);
  565.     }
  566.     #[Route(path'/medicine-detail'name'medicine_detail_hr'methods: ['GET'])]
  567.     public function medicine_detail(): Response
  568.     {
  569.         return $this->render('hr_reports/name-wise-hr/detail.html.twig', [
  570.             'url_back' => 'medicine_name_list_hr',
  571.             'title' => 'Medicine HR'
  572.         ]);
  573.     }
  574.     #[Route(path'/dental-detail'name'dental_detail_hr'methods: ['GET'])]
  575.     public function dental_detail(): Response
  576.     {
  577.         return $this->render('hr_reports/name-wise-hr/detail.html.twig', [
  578.             'url_back' => 'dental_name_list_hr',
  579.             'title' => 'Dental HR'
  580.         ]);
  581.     }
  582.     #[Route(path'/pae-detail'name'pae_detail_hr'methods: ['GET'])]
  583.     public function pae_detail(): Response
  584.     {
  585.         return $this->render('hr_reports/name-wise-hr/detail.html.twig', [
  586.             'url_back' => 'pae_name_list_hr',
  587.             'title' => 'Pediatric HR'
  588.         ]);
  589.     }
  590.     #[Route(path'/tra-detail'name'tra_detail_hr'methods: ['GET'])]
  591.     public function tra_detail(): Response
  592.     {
  593.         return $this->render('hr_reports/name-wise-hr/detail.html.twig', [
  594.             'url_back' => 'tra_name_list_hr',
  595.             'title' => 'Trauma care HR'
  596.         ]);
  597.     }
  598.     #[Route(path'/surgical-detail'name'surgical_detail_hr'methods: ['GET'])]
  599.     public function surgical_detail(): Response
  600.     {
  601.         return $this->render('hr_reports/name-wise-hr/detail.html.twig', [
  602.             'url_back' => 'surgical_name_list_hr',
  603.             'title' => 'Surgical HR'
  604.         ]);
  605.     }
  606.     #[Route(path'/mental-detail'name'mental_detail_hr'methods: ['GET'])]
  607.     public function mental_detail(): Response
  608.     {
  609.         return $this->render('hr_reports/name-wise-hr/detail.html.twig', [
  610.             'url_back' => 'mental_name_list_hr',
  611.             'title' => 'mental HR'
  612.         ]);
  613.     }
  614.     #[Route(path'/tale-detail'name'tale_detail_hr'methods: ['GET'])]
  615.     public function tale_detail(): Response
  616.     {
  617.         return $this->render('hr_reports/name-wise-hr/detail.html.twig', [
  618.             'url_back' => 'tale_name_list_hr',
  619.             'title' => 'Teleradiology'
  620.         ]);
  621.     }
  622.     #[Route(path'/psy-detail'name'psy_detail_hr'methods: ['GET'])]
  623.     public function psy_detail(): Response
  624.     {
  625.         return $this->render('hr_reports/name-wise-hr/detail.html.twig', [
  626.             'url_back' => 'psy_name_list_hr',
  627.             'title' => 'Psychiatry HR'
  628.         ]);
  629.     }
  630.     #[Route(path'/gyn-detail'name'gyn_detail_hr'methods: ['GET'])]
  631.     public function gyn_detail(): Response
  632.     {
  633.         return $this->render('hr_reports/name-wise-hr/detail.html.twig', [
  634.             'url_back' => 'gyn_name_list_hr',
  635.             'title' => 'Gynecology HR'
  636.         ]);
  637.     }
  638.     #[Route(path'/orth-detail'name'orth_detail_hr'methods: ['GET'])]
  639.     public function orth_detail(): Response
  640.     {
  641.         return $this->render('hr_reports/name-wise-hr/detail.html.twig', [
  642.             'url_back' => 'orth_name_list_hr',
  643.             'title' => 'Orthopedic HR'
  644.         ]);
  645.     }
  646.     #[Route(path'/phy-detail'name'phy_detail_hr'methods: ['GET'])]
  647.     public function phy_detail(): Response
  648.     {
  649.         return $this->render('hr_reports/name-wise-hr/detail.html.twig', [
  650.             'url_back' => 'phy_name_list_hr',
  651.             'title' => 'Physiotherapy HR'
  652.         ]);
  653.     }
  654.     #[Route(path'/ent-detail'name'ent_detail_hr'methods: ['GET'])]
  655.     public function ENT_detail(): Response
  656.     {
  657.         return $this->render('hr_reports/name-wise-hr/detail.html.twig', [
  658.             'url_back' => 'ent_name_list_hr',
  659.             'title' => 'ENT HR'
  660.         ]);
  661.     }
  662.     #[Route(path'/plastic-detail'name'plastic_detail_hr'methods: ['GET'])]
  663.     public function plastic_detail(): Response
  664.     {
  665.         return $this->render('hr_reports/name-wise-hr/detail.html.twig', [
  666.             'url_back' => 'plastic_name_list_hr',
  667.             'title' => 'Plastic Surgery HR'
  668.         ]);
  669.     }
  670.     #[Route(path'/oph-detail'name'oph_detail_hr'methods: ['GET'])]
  671.     public function oph_detail(): Response
  672.     {
  673.         return $this->render('hr_reports/name-wise-hr/detail.html.twig', [
  674.             'url_back' => 'oph_name_list_hr',
  675.             'title' => 'Ophthalmic HR'
  676.         ]);
  677.     }
  678.     #[Route(path'/onc-detail'name'onc_detail_hr'methods: ['GET'])]
  679.     public function Onc_detail(): Response
  680.     {
  681.         return $this->render('hr_reports/name-wise-hr/detail.html.twig', [
  682.             'url_back' => 'onc_name_list_hr',
  683.             'title' => 'Oncology HR'
  684.         ]);
  685.     }
  686.     #[Route(path'/neu-detail'name'neu_detail_hr'methods: ['GET'])]
  687.     public function neu_detail(): Response
  688.     {
  689.         return $this->render('hr_reports/name-wise-hr/detail.html.twig', [
  690.             'url_back' => 'neu_name_list_hr',
  691.             'title' => 'Neurosurgery HR'
  692.         ]);
  693.     }
  694. }