@extends('layouts.app') @section('title', __('lang_v1.manage_modules')) @section('content')

@lang('lang_v1.manage_modules') Only superadmin can access manage modules

@component('components.widget') @foreach($modules as $module) @endforeach @php $mods = unserialize($mods); @endphp @foreach($mods as $mod) @if(!isset($modules[$mod['n']])) @endif @endforeach
# @lang('lang_v1.modules') @lang('lang_v1.description')
{{$loop->iteration}} {{$module['name']}}
@if(!$module['is_installed']) @lang('lang_v1.install') @else @lang('lang_v1.uninstall') {{-- Commented Activate/Deactivate @if($module['active'] == 1)
@method('PUT') @csrf
@else
@method('PUT') @csrf
@endif --}} @endif
@method('DELETE') @csrf
{{$module['description']}}
@isset($module['version']) @lang('lang_v1.version') {{$module['version']['installed_version']}} @endisset @if(!empty($module['version']) && $module['version']['is_update_available'])
@lang('lang_v1.module_new_version', ['module' => $module['name'], 'link' => $module['update_link']])
@endif
 
{{$mod['dn']}}
{{$mod['d']}}
@endcomponent()
@endsection @section('javascript') @endsection