@php
$seconds = $v->duration;
$hours = floor($seconds / 3600);
$seconds -= $hours * 3600;
$minutes = sprintf("%02d", floor($seconds / 60));
$seconds -= sprintf("%02d", $minutes * 60);
@endphp
{{ $hours != 0 ? $hours.':' : '' }}{{ $minutes != 0 ? $minutes.':' : '0:' }}{{ $seconds }}