@extends('layouts.admin') @section('title', $compatibility->displayLabel().' — '.config('app.name')) @section('page_title', $compatibility->displayLabel()) @section('breadcrumbs') @endsection @section('content')
← Cancel Categories
{{ $compatibility->displayLabel() }}

#{{ $compatibility->id }} · {{ strtoupper($compatibility->product_prefix) }} · Product {{ $compatibility->product_version ?: '—' }} · Sage {{ $compatibility->sage_version ?: '—' }}

@csrf @method('PUT')
{{ $editing ? 'Edit download tile #'.$editing->id : 'Add download tile' }}
@php $formTile = $editing; $action = $editing ? route('admin.compatibility.contents.update', [$compatibility, $editing]) : route('admin.compatibility.contents.store', $compatibility); @endphp
@csrf @if ($editing) @method('PUT') @endif
@error('file')
{{ $message }}
@enderror

Uploads into the downloads folder (no FTP). Default path: {{ strtoupper($compatibility->product_prefix) }}/{{ $compatibility->product_version ?: 'current' }}/filename

@if ($formTile?->downloadAsset)

Linked asset #{{ $formTile->download_asset_id }}: {{ $formTile->downloadAsset->relative_path }} @if ($formTile->downloadAsset->humanSize()) · {{ $formTile->downloadAsset->humanSize() }} @endif

@endif
Override destination under downloads/. Leave blank to auto-build from product/version/filename.
@error('download_link')
{{ $message }}
@enderror
Required only if you are not uploading a file (e.g. popup/guide links).
Auto-filled with filename + size when you upload.
@if ($editing) Cancel edit @else Upload the file here; partners download it from the product page when this version is configured + supported. @endif
Download tiles ({{ $tiles->count() }})
@forelse ($tiles as $tile) @empty @endforelse
Category Download title File / link Access Coord Tooltip
{{ $tile->category?->name ?: '—' }} {{ $tile->download_title }} @if ($tile->downloadAsset)
{{ $tile->downloadAsset->relative_path }}
asset #{{ $tile->download_asset_id }} · {{ $tile->downloadAsset->humanSize() ?: 'on disk' }}
@else {{ $tile->download_link }} @endif
{{ $tile->accessLevelLabel() }} {{ $tile->coordinates ?: '—' }} {{ $tile->tooltip ?: '—' }} Edit
@csrf @method('DELETE')
No download tiles yet. Upload a file above, or clone from another version.
Clone version (seed tiles to a new row)

Creates a new compatibility row and copies all download tiles from this version.

@csrf
@endsection @push('styles') @endpush