From d7caaeab4a43a7cd1d78f69717db979c78da0d28 Mon Sep 17 00:00:00 2001 From: Alessandro Costa de Oliveira Date: Mon, 4 Dec 2023 15:59:15 -0300 Subject: [PATCH] =?UTF-8?q?Agora=20a=20folha=20est=C3=A1=20igual=20a=20do?= =?UTF-8?q?=20JupterWeb?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/views/pdfs/folha.blade.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/views/pdfs/folha.blade.php b/resources/views/pdfs/folha.blade.php index 82f3b26..07f8b84 100644 --- a/resources/views/pdfs/folha.blade.php +++ b/resources/views/pdfs/folha.blade.php @@ -66,15 +66,15 @@ Registro - @for($i = 0; $i <= 16; $i++) + @for($i = 0; $i < 16; $i++) @if(array_key_exists($i, $dias)) @php $col1 = App\Utils\Util::computeDayMinutes($computes,$dias[$i]); @endphp @else @php $col1 = ['','',''] @endphp @endif - @if(array_key_exists($i+17, $dias)) - @php $col2 = App\Utils\Util::computeDayMinutes($computes,$dias[$i+17]); @endphp + @if(array_key_exists($i+16, $dias)) + @php $col2 = App\Utils\Util::computeDayMinutes($computes,$dias[$i+16]); @endphp @else @php $col2 = ['','',''] @endphp @endif