@props([ 'parentTicketId' => false, 'onTheClock' => false ])
  • @if ($onTheClock === false) {{ __("links.start_work") }} @endif @if ($onTheClock !== false && $onTheClock["id"] == $parentTicketId) @if (is_array($onTheClock) == true) {!! sprintf(__("links.stop_work_started_at"), date(__("language.timeformat"), $onTheClock["since"])) !!} @else {!! sprintf(__("links.stop_work_started_at"), date(__("language.timeformat"), time())) !!} @endif @endif @if ($onTheClock !== false && $onTheClock["id"] != $parentTicketId) {{ __("text.timer_set_other_todo") }} @endif