@extends('layouts.app') @push('styles') @endpush @section('content')
@lang('menu.goBackToCustomModules')

@lang('modules.update.installCustomModule')

1

@lang('modules.update.uploadModule')

@php $uploadMaxFilesize = \App\Helper\Files::getUploadMaxFilesize(); $postMaxSize = \App\Helper\Files::getPostMaxSize(); @endphp @if(!$uploadMaxFilesize['greater'] || !$postMaxSize['greater'])
@if(!$uploadMaxFilesize['greater'])

Server upload_max_filesize: {{\App\Helper\Files::getUploadMaxFilesize()['size']}}
Required: {{\App\Helper\Files::REQUIRED_FILE_UPLOAD_SIZE}}MB

@endif @if(!$postMaxSize['greater'])

Server post_max_size: {{\App\Helper\Files::getPostMaxSize()['size']}}
Required: {{\App\Helper\Files::REQUIRED_FILE_UPLOAD_SIZE}}MB

@endif
@endif

@lang('messages.downloadFilefromCodecanyon')

2

@lang('modules.update.moduleFile')

    @forelse (collect(\Illuminate\Support\Facades\File::files($updateFilePath))->filter(function($file) { return \Illuminate\Support\Facades\File::basename($file) !== 'modules_statuses.json'; }) as $key => $filename) @if (\Illuminate\Support\Facades\File::basename($filename) != 'modules_statuses.json' && strpos(\Illuminate\Support\Facades\File::basename($filename), 'auto') === false)
  • {{ \Illuminate\Support\Facades\File::basename($filename) }}

    @lang('app.uploadDate'): {{ \Carbon\Carbon::parse(\Illuminate\Support\Facades\File::lastModified($filename))->timezone(global_setting()->timezone)->translatedFormat('jS M, Y g:i A') }}

  • @endif @empty
  • @lang('messages.noRecordFound')
  • @endforelse
@endsection @push('scripts') @endpush