mirror of
https://github.com/Karaka-Management/oms-HumanResourceManagement.git
synced 2026-02-12 10:58:40 +00:00
fix tests
This commit is contained in:
parent
eb72abfa24
commit
3de023a241
|
|
@ -47,4 +47,5 @@ return ['HumanResourceManagement' => [
|
||||||
'Unit' => 'Unit',
|
'Unit' => 'Unit',
|
||||||
'Vacation' => 'Vacation',
|
'Vacation' => 'Vacation',
|
||||||
'Work' => 'Work',
|
'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;
|
<?php $c = 0; foreach ($employees as $key => $value) : ++$c;
|
||||||
$url = UriFactory::build('{/prefix}humanresource/staff/profile?{?}&id=' . $value->getId()); ?>
|
$url = UriFactory::build('{/prefix}humanresource/staff/profile?{?}&id=' . $value->getId()); ?>
|
||||||
<tr tabindex="0" data-href="<?= $url; ?>">
|
<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="<?=
|
src="<?=
|
||||||
$value->profile->image instanceof NullMedia ?
|
$value->profile->image instanceof NullMedia ?
|
||||||
UriFactory::build('Web/Backend/img/user_default_' . \mt_rand(1, 6) .'.png') :
|
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
|
// Modules/tests
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user