@@ 3289-3294 (lines=6) @@ | ||
3286 | exit; |
|
3287 | break; |
|
3288 | ||
3289 | case "morve": |
|
3290 | require_once dirname(__FILE__).'/utilit/request.ui.php'; |
|
3291 | $babBody->addItemMenu("lvreq", absences_translate("Requests"), absences_addon()->getUrl()."vacuser&idx=lvreq"); |
|
3292 | $babBody->addItemMenu("morve", absences_translate("View request"), absences_addon()->getUrl()."vacuser&idx=lvreq&id=".bab_rp('id')); |
|
3293 | absences_viewVacationRequestDetail(bab_rp('id')); |
|
3294 | break; |
|
3295 | ||
3296 | case 'view_cet_deposit': |
|
3297 | require_once dirname(__FILE__).'/utilit/request.ui.php'; |
|
@@ 3296-3301 (lines=6) @@ | ||
3293 | absences_viewVacationRequestDetail(bab_rp('id')); |
|
3294 | break; |
|
3295 | ||
3296 | case 'view_cet_deposit': |
|
3297 | require_once dirname(__FILE__).'/utilit/request.ui.php'; |
|
3298 | $babBody->addItemMenu("lvreq", absences_translate("Requests"), absences_addon()->getUrl()."vacuser&idx=lvreq"); |
|
3299 | $babBody->addItemMenu("view_cet_deposit", absences_translate("View request"), absences_addon()->getUrl()."vacuser&idx=view_cet_deposit&id=".bab_rp('id')); |
|
3300 | absences_viewCetDepositDetail(bab_rp('id')); |
|
3301 | break; |
|
3302 | ||
3303 | case 'view_wp_recovery': |
|
3304 | require_once dirname(__FILE__).'/utilit/request.ui.php'; |
|
@@ 3303-3308 (lines=6) @@ | ||
3300 | absences_viewCetDepositDetail(bab_rp('id')); |
|
3301 | break; |
|
3302 | ||
3303 | case 'view_wp_recovery': |
|
3304 | require_once dirname(__FILE__).'/utilit/request.ui.php'; |
|
3305 | $babBody->addItemMenu("lvreq", absences_translate("Requests"), absences_addon()->getUrl()."vacuser&idx=lvreq"); |
|
3306 | $babBody->addItemMenu("view_wp_recovery", absences_translate("View request"), absences_addon()->getUrl()."vacuser&idx=view_wp_recovery&id=".bab_rp('id')); |
|
3307 | absences_viewWpRecoveryDetail(bab_rp('id')); |
|
3308 | break; |
|
3309 | ||
3310 | case "period": |
|
3311 | // demande, premiere etape |
@@ 943-948 (lines=6) @@ | ||
940 | ||
941 | switch($idx) |
|
942 | { |
|
943 | case "morvw": |
|
944 | require_once dirname(__FILE__).'/utilit/request.ui.php'; |
|
945 | $babBody->addItemMenu("lreq", absences_translate("Requests"), absences_addon()->getUrl()."vacadmb&idx=lreq"); |
|
946 | $babBody->addItemMenu("morvw", absences_translate("View"), absences_addon()->getUrl()."vacadmb&idx=morvw&id=".bab_rp('id')); |
|
947 | absences_viewVacationRequestDetail(bab_rp('id'), true); |
|
948 | break; |
|
949 | ||
950 | case 'updcal': |
|
951 | if (bab_isUserAdministrator()) { |