|
|
@ -408,7 +408,7 @@ function User_view_myshift($shift, $user_source, $its_me)
|
|
|
|
|
|
|
|
|
|
|
|
if ($shift['freeloaded']) {
|
|
|
|
if ($shift['freeloaded']) {
|
|
|
|
$myshift['duration'] = '<p class="text-danger">'
|
|
|
|
$myshift['duration'] = '<p class="text-danger">'
|
|
|
|
. printf('%.2f', -($shift['end'] - $shift['start']) / 3600 * 2) . ' h'
|
|
|
|
. printf('%.2f', round(-($shift['end'] - $shift['start']) / 3600 * 2, 2)) . ' h'
|
|
|
|
. '</p>';
|
|
|
|
. '</p>';
|
|
|
|
if (auth()->can('user_shifts_admin')) {
|
|
|
|
if (auth()->can('user_shifts_admin')) {
|
|
|
|
$myshift['comment'] .= '<br />'
|
|
|
|
$myshift['comment'] .= '<br />'
|
|
|
|