@extends('layout.app')
@section('content')
{{-- add mikrotik --}}
ID | Mikrotik IP | @if (!checkAPI())Secret | @endifMikrotik Name | {{--Type | --}}Description | Action |
---|---|---|---|---|---|---|
{{ $item->id }} |
@if (auth()->user()->email !== 'rokibulhasan.356@gmail.com' && $item->nasname == '103.126.151.206')
Not Available @else {{ $item->nasname }} @endif |
@if (!checkAPI())
{{ $item->secret }} | @endif
@if (auth()->user()->email !== 'rokibulhasan.356@gmail.com' && $item->nasname == '103.126.151.206')
Not Available @else {{ $item->shortname }} @endif |
@if (auth()->user()->email !== 'rokibulhasan.356@gmail.com' && $item->nasname == '103.126.151.206')
Not Available @else {{ $item->description }} @endif |
@if (auth()->user()->email !== 'rokibulhasan.356@gmail.com' && $item->nasname == '103.126.151.206')
Not Available |
@else
@if (checkAPI()) @can('test-mikrotik') Run @endcan @endif @if (auth()->user()->email == 'rokibulhasan.356@gmail.com' && checkAPI()) Secrets @endif @can('view-nas-log-history') @endcan @can('mikrotik_destroy') @endcan | @endif