programs/vacadmcet.php 1 location
|
@@ 244-256 (lines=13) @@
|
| 241 |
|
|
| 242 |
|
|
| 243 |
|
|
| 244 |
|
function absences_WorkingDayDelete() |
| 245 |
|
{ |
| 246 |
|
require_once $GLOBALS['babInstallPath'].'utilit/urlincl.php'; |
| 247 |
|
$id = bab_gp('id', null); |
| 248 |
|
|
| 249 |
|
if ($id) |
| 250 |
|
{ |
| 251 |
|
$wd = absences_CetDepositRequest::getById($id); |
| 252 |
|
$wd->delete(); |
| 253 |
|
} |
| 254 |
|
|
| 255 |
|
bab_url::get_request('tg')->location(); |
| 256 |
|
} |
| 257 |
|
|
| 258 |
|
|
| 259 |
|
|
programs/vacadmwd.php 1 location
|
@@ 270-282 (lines=13) @@
|
| 267 |
|
|
| 268 |
|
|
| 269 |
|
|
| 270 |
|
function absences_WorkingDayDelete() |
| 271 |
|
{ |
| 272 |
|
require_once $GLOBALS['babInstallPath'].'utilit/urlincl.php'; |
| 273 |
|
$id = bab_gp('id', null); |
| 274 |
|
|
| 275 |
|
if ($id) |
| 276 |
|
{ |
| 277 |
|
$wd = absences_WorkperiodRecoverRequest::getById($id); |
| 278 |
|
$wd->delete(); |
| 279 |
|
} |
| 280 |
|
|
| 281 |
|
bab_url::get_request('tg')->location(); |
| 282 |
|
} |
| 283 |
|
|
| 284 |
|
|
| 285 |
|
/* main */ |