programs/utilit/agent.ui.php 1 location
|
@@ 455-466 (lines=12) @@
|
452 |
|
return false; |
453 |
|
} |
454 |
|
|
455 |
|
public function getHtml() |
456 |
|
{ |
457 |
|
$babBody = bab_getInstance('babBody'); |
458 |
|
|
459 |
|
if ($this->res->count() === 0) |
460 |
|
{ |
461 |
|
$babBody->addError(absences_translate('There are no records yet for this user')); |
462 |
|
return ''; |
463 |
|
} |
464 |
|
|
465 |
|
return bab_printTemplate($this, absences_addon()->getRelativePath()."agent.html", "movement"); |
466 |
|
} |
467 |
|
} |
468 |
|
|
469 |
|
|
programs/utilit/vacincl.php 1 location
|
@@ 537-548 (lines=12) @@
|
534 |
|
return false; |
535 |
|
} |
536 |
|
|
537 |
|
public function getHtml() |
538 |
|
{ |
539 |
|
$babBody = bab_getInstance('babBody'); |
540 |
|
|
541 |
|
if ($this->res->count() === 0) |
542 |
|
{ |
543 |
|
$babBody->addError(absences_translate('There are no records yet')); |
544 |
|
return ''; |
545 |
|
} |
546 |
|
|
547 |
|
return bab_printTemplate($this, absences_addon()->getRelativePath()."agent.html", "movement"); |
548 |
|
} |
549 |
|
} |
550 |
|
|
551 |
|
|