Guest User

Untitled

a guest
Jan 6th, 2018
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.07 KB | None | 0 0
  1. <div class="form-group">
  2. <label for="status">Operações</label>
  3. <div class="input-group-addon">
  4. <i class="fa fa-users"></i>
  5. </div>
  6.  
  7. <div class="input-group">
  8.  
  9. {{dd($oco = \App\UserOperacao::all())}}
  10.  
  11.  
  12. @foreach($oper as $o)
  13.  
  14.  
  15.  
  16. @if($o->Operacao_Status == 1 && $usu->perfil_id == 2)
  17. <input type="checkbox" name="ids_operacoes[]" value="{{ $o->Operacao_ID }}"/>
  18. {{ $o->Operacao_Status }} {{ $o->Operacao_Descricao }}
  19.  
  20. @elseif($o->Operacao_Status == 1 && $oco )
  21.  
  22. {{ $o->Operacao_Status }} {{ $o->Operacao_Descricao }}
  23. <input type="checkbox" checked name="ids_operacoes[]" value="{{ $o->Operacao_ID }}"/>
  24.  
  25. @endif
  26.  
  27. @endforeach
  28.  
  29.  
  30. </div>
  31. </div>
Add Comment
Please, Sign In to add comment