@extends('admin.layout') @section('title', 'Upload Document') @php $oldQrPages = old('qr_pages', 'all'); $initialMode = 'all'; $initialPagesInput = ''; if ($oldQrPages !== 'all') { $decodedPages = json_decode($oldQrPages, true); if (is_array($decodedPages) && count($decodedPages) > 0) { $normalizedPages = array_values(array_filter(array_map('intval', $decodedPages), fn ($page) => $page > 0)); if (count($normalizedPages) > 0) { $initialMode = count($normalizedPages) === 1 ? 'single' : 'multiple'; $initialPagesInput = implode(',', $normalizedPages); } } } @endphp @push('scripts') @endpush @section('content')
Back to Documents

Upload PDF Document

@csrf

Max size: 20MB. Format: PDF only.

@error('pdf')

{{ $message }}

@enderror

QR Code Settings

Select mode for which pages should be stamped.

Width & height in millimeters. Default: 20mm.

A4 size: 210mm wide × 297mm tall. Position Y is measured from the bottom edge.

Cancel
@endsection