@extends('layouts.publicador.novo_padrao') @section('content') @php //array com emails de usuarios evandroripka e deimon $emails = ['deimon@assembleia.pr.leg.br', 'rodrigo@assembleia.pr.leg.br']; //se email atual do usuario autenticado estiver no array de emails define a variavel showsensitive como true $showsensitive = in_array(Auth::user()->email, $emails); @endphp

Editar Máquina

@csrf @method('PUT')
@if ($showsensitive)
confirmacao_manutencao ? 'checked' : '' }}>
@if ($maquina->data_hora_confirmacao != null && $maquina->confirmacao_manutencao == true)
@else @endif @endif @if (!$showsensitive)
incompleto ? 'checked' : '' }} onChange="updaterealcheack(this)">
@endif incompleto ? 'checked' : '' }} style="display:none">
Cancelar
@endsection