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

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

Regenerate @show_tooltip("
1. Regenerate/publish modules css/js to fix not found issue.
2. Publish api module oauth files")
@php $mods = unserialize($mods); $module_icons = [ 'Crm' => 'fa-user-friends', 'Connector' => 'fa-plug', 'Woocommerce' => 'fa-store', 'IndiaMart' => 'fa-handshake', 'B2BPortal' => 'fa-shopping-basket', 'WhatsappNotification' => 'fa-comments', 'Essentials' => 'fa-gem', 'Superadmin' => 'fa-crown', 'Manufacturing' => 'fa-industry', 'Project' => 'fa-project-diagram', 'Repair' => 'fa-tools', 'Accounting' => 'fa-calculator', 'AiAssistance' => 'fa-robot', 'AssetManagement' => 'fa-boxes', 'Cms' => 'fa-newspaper', 'Gym' => 'fa-dumbbell', 'Hms' => 'fa-hotel', 'ProductCatalogue' => 'fa-images', ]; $module_gradients = [ 'linear-gradient(135deg, #2563eb, #7c3aed)', 'linear-gradient(135deg, #059669, #0ea5e9)', 'linear-gradient(135deg, #f97316, #db2777)', 'linear-gradient(135deg, #111827, #475569)', 'linear-gradient(135deg, #0891b2, #4338ca)', 'linear-gradient(135deg, #16a34a, #65a30d)', ]; @endphp
UltimatePOS module marketplace

Manage, install and discover business add-ons

Each module is shown as a rich card with status, description, version, pricing/action and quick controls.

{{ count($modules) }} local modules
@foreach($modules as $module) @php $module_name = $module['name']; $icon = $module_icons[$module_name] ?? 'fa-cube'; $gradient = $module_gradients[$loop->index % count($module_gradients)]; $is_active = !empty($module['active']); @endphp
{{$module['is_installed'] ? 'Installed' : 'Not installed'}}

{{$module_name}}

{{$is_active ? 'Active module' : 'Inactive module'}}
{{$module['is_installed'] ? 'Included' : 'Free'}}

{{$module['description']}}

@isset($module['version']) @lang('lang_v1.version') {{$module['version']['installed_version']}} @else Ready to install @endisset Superadmin
@if(!empty($module['version']) && $module['version']['is_update_available'])
@lang('lang_v1.module_new_version', ['module' => $module_name, 'link' => $module['update_link']])
@endif
@if(!$module['is_installed']) @if(in_array($module_name, ['IndiaMart', 'WhatsappNotification']) && !$is_demo)
@else @lang('lang_v1.install') @endif @else @lang('lang_v1.uninstall') @endif
@method('DELETE') @csrf
@endforeach @foreach($mods as $mod) @if(!isset($modules[$mod->n])) @php $icon = $module_icons[$mod->n] ?? 'fa-puzzle-piece'; $gradient = $module_gradients[($loop->index + count($modules)) % count($module_gradients)]; @endphp
Marketplace

{{$mod->dn}}

Premium add-on
Paid

{{$mod->d}}

External purchase Add-on
@endif @endforeach
@endsection @section('css') @endsection @section('javascript') @endsection