mirror of
https://github.com/Karaka-Management/oms-HumanResourceManagement.git
synced 2026-01-22 00:48:41 +00:00
fix tests
This commit is contained in:
parent
eb72abfa24
commit
3de023a241
|
|
@ -47,4 +47,5 @@ return ['HumanResourceManagement' => [
|
|||
'Unit' => 'Unit',
|
||||
'Vacation' => 'Vacation',
|
||||
'Work' => 'Work',
|
||||
'IMG_alt_staff' => 'Staff image',
|
||||
]];
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ echo $this->getData('nav')->render(); ?>
|
|||
<?php $c = 0; foreach ($employees as $key => $value) : ++$c;
|
||||
$url = UriFactory::build('{/prefix}humanresource/staff/profile?{?}&id=' . $value->getId()); ?>
|
||||
<tr tabindex="0" data-href="<?= $url; ?>">
|
||||
<td><a href="<?= $url; ?>"><img width="30" loading="lazy" class="profile-image"
|
||||
<td><a href="<?= $url; ?>"><img alt="<?= $this->getHtml('IMG_alt_staff'); ?>" width="30" loading="lazy" class="profile-image"
|
||||
src="<?=
|
||||
$value->profile->image instanceof NullMedia ?
|
||||
UriFactory::build('Web/Backend/img/user_default_' . \mt_rand(1, 6) .'.png') :
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
<?php declare(strict_types=1);
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
|
||||
// Modules/tests
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user