Create QR Code @php $defaultStyle = \App\Support\Qr\QrStyleDefaults::merge(old('style') ?: ($accountDefaultStyle ?? null)); @endphp @php $prefill = $prefill ?? []; @endphp
@if(!empty($prefill))
Prefilled from Ladill CRM. Review the business details, then create your QR code.
@endif @if(session('error'))
{{ session('error') }}
@endif {{-- Mobile page header --}}
Create QR code
{{-- Desktop page header --}}
@csrf {{-- Left: Sticky preview (desktop only) --}} {{-- Right: Controls --}}
{{-- Content first --}}

Content

What should this QR code link to?

{{-- Custom link --}}
{{ \App\Support\LadillLink::baseUrl() }}/
@foreach($types as $key => $meta) @endforeach
@include('qr-codes.partials.type-fields-create', ['prefill' => $prefill ?? []])

Your QR always points to a Ladill short link. Change the destination any time without reprinting.

{{-- Customization --}} @include('qr-codes.partials.customization-fields', [ 'style' => $defaultStyle, 'moduleStyles' => $moduleStyles, 'cornerOuterStyles' => $cornerOuterStyles, 'cornerInnerStyles' => $cornerInnerStyles, 'frameStyles' => $frameStyles, ]) {{-- Desktop submit button --}}
{{-- Mobile sticky action bar --}}
{{-- Preview modal --}}
Preview
{{-- Two-step add-funds modal (insufficient balance opens this instead of redirecting to the wallet) --}}