@extends('contents.form-default') @include('plugins.tagsinput') @include('plugins.jquery-mask') @include('plugins.datatables.default') @section('inputs')
@component("contents.components.form-engine", [ 'data' => $dataForm ]) @endcomponent
@php $first = true; $week = ["dom","seg","ter","qua","qui","sex","sab"]; @endphp @foreach( $units as $u )
@for( $i = 0; $i < 7; $i++ )
{{$week[$i]}}
@php $hours = ''; @endphp @if( isset($daysweek) ) @if( $daysweek->has($u->id) ) @foreach( $daysweek[$u->id] as $wk => $unit ) @if( $wk == $week[$i] ) @php $hours = $unit->implode('|'); @endphp @foreach( $unit as $key => $hour ) {{$hour}} @endforeach @endif @endforeach @endif @endif
@endfor
@php $first = false; @endphp @endforeach
@if( isset($edit) )

Datas Indisponíveis

Data de Até Motivo
@endif
@endsection @push("plugin-css") @endpush @push("include-js") @endpush