Skip to content

Commit

Permalink
Merge pull request #44 from alecostaweb/issue_43
Browse files Browse the repository at this point in the history
Ajustando a folha de frequência
  • Loading branch information
alecostaweb authored Dec 4, 2023
2 parents c02f370 + d7caaea commit ea50873
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/Http/Controllers/PdfController.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
class PdfController extends Controller
{
public function folha(Request $request, $codpes){
$this->authorize('boss',$codpes);
$this->authorize('owner',$codpes);

$request->validate([
'in' => 'required|date_format:d/m/Y',
Expand Down
2 changes: 1 addition & 1 deletion resources/views/pdfs/folha.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
<td style='width:20%'>Registro</td>
</tr>

@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
Expand Down

0 comments on commit ea50873

Please sign in to comment.