@extends('layouts.app') @section('content')
{{ Session::get('flash_message') }}
No | Name | Branch | Roles | Logistic Role | Type | Status | Action | |
---|---|---|---|---|---|---|---|---|
{{ $item->id }} | {{ $item->name }} | {{ $item->email }} | {{ $item->ip['branch_name'] }} | @if(!empty($item->roles)) @foreach($item->roles as $v) @endforeach @endif | @if($item->logistic_type == '1') @if($item->logistic_both == '0') @endif @endif @if($item->logistic_type == '2') @if($item->logistic_both == '0') @endif @endif @if($item->logistic_both == '1') @endif | @if($item->type == 'superuser') @endif @if($item->type == 'supervisor') @endif @if($item->type == 'operator') @endif @if($item->type == 'admin') @endif | {!! $item->status == 0 ? 'Inactive' : 'Active' !!} | Show Edit {!! Form::open(['method' => 'DELETE','route' => ['users.destroy', $item->id],'style'=>'display:inline']) !!} {!! Form::submit('Delete', ['class' => 'btn red btn-xs']) !!} {!! Form::close() !!} |