@extends(layoutTenant()) @section('content')

Lista de Paginas

@if ($errors->any())
@endif @if (session('success'))
{{ session('success') }}
@endif @if (session('erro'))
{{ session('erro') }}
@endif
Covid 19
Configuração
{!! Form::model($dadosconfig, ['url'=>routeTenant('covid19.config_cadastrar', [$dadosconfig->id]),'enctype'=>'multipart/form-data']) !!}
@php $conta = 0; @endphp @foreach($covid as $c) @php $conta += $c->notifica; @endphp @endforeach
{!! Form::text('notifica_nome', null, ['class'=>'form-control']) !!}
0 @php $dataco = App\Covid19::where('notifica','>=',1)->orderBy('id', 'desc')->first(); @endphp

@if(isset($dataco)){{$dataco->updated_at->format('d/m/y | H:i')}}@endif

@php $conta = 0; @endphp @foreach($covid as $c) @php $conta += $c->negativo; @endphp @endforeach
{!! Form::text('Negativos_nome', null, ['class'=>'form-control']) !!}
0 @php $dataco = App\Covid19::where('negativo','>=',1)->orderBy('id', 'desc')->first(); @endphp

@if(isset($dataco)){{$dataco->updated_at->format('d/m/y | H:i')}}@endif

@php $conta_confimado = 0; @endphp @foreach($covid as $c) @php $conta_confimado += $c->confimado; @endphp @endforeach
{!! Form::text('Confimado_nome', null, ['class'=>'form-control']) !!}
0 @php $dataco = App\Covid19::where('confimado','>=',1)->orderBy('id', 'desc')->first(); @endphp

@if(isset($dataco)){{$dataco->updated_at->format('d/m/y | H:i')}}@endif

@php $conta_recuperado = 0; @endphp @foreach($covid as $c) @php $conta_recuperado += $c->recuperado; @endphp @endforeach
{!! Form::text('Recuperados_nome', null, ['class'=>'form-control']) !!}
0 @php $dataco = App\Covid19::where('recuperado','>=',1)->orderBy('id', 'desc')->first(); @endphp

@if(isset($dataco)){{$dataco->updated_at->format('d/m/y | H:i')}}@endif

@php $conta_obito = 0; @endphp @foreach($covid as $c) @php $conta_obito += $c->obito; @endphp @endforeach
{!! Form::text('obitos_nome', null, ['class'=>'form-control']) !!}
0 @php $dataco = App\Covid19::where('obito','>=',1)->orderBy('id', 'desc')->first(); @endphp

@if(isset($dataco)){{$dataco->updated_at->format('d/m/y | H:i')}}@endif

{!! Form::text('ativos_nome', null, ['class'=>'form-control']) !!}
0 @php $dataco = App\Covid19::where('confimado','>=',1)->orderBy('id', 'desc')->first(); @endphp

@if(isset($dataco)){{$dataco->updated_at->format('d/m/y | H:i')}}@endif

{!! Form::text('Internados_nome', null, ['class'=>'form-control']) !!}
Quatidade: {!! Form::number('Internados_valor', null, ['class'=>'form-control']) !!} @php $dataco = App\configCovid::first(); @endphp

@if(isset($dataco)){{$dataco->updated_at->format('d/m/y | H:i')}}@endif

{!! Form::submit('Salvar', ['class'=>'btn btn-primary','style'=>'width: 100%;']) !!} {!! Form::close() !!}
@endsection @section('post-script') @endsection