@extends('layouts.app') @section('title', 'Cheque Format Designer') @section('breadcrumb') @endsection @push('styles') @endpush @section('content') @if(session('success'))
{{ session('success') }}
@endif
@csrf @method('PUT')
Format Settings
@foreach($sizePresets as $preset) @endforeach
Selected field
Click a field on the preview to adjust it precisely.
Font sizes (pt)
@foreach($fieldMeta as $key => $meta)
layout[$key]['font_size'] ?? $meta['font_size']) }}" step="0.5" min="6" max="24"> layout[$key]['x'] ?? $meta['x']) }}"> layout[$key]['y'] ?? $meta['y']) }}">
@endforeach
Preview

Drag each field to where it should print on the cheque leaf. Coordinates are stored in millimetres from the top-left corner.

@foreach($fieldMeta as $key => $meta) @php $field = $format->layout[$key] ?? $meta; @endphp
{{ $meta['label'] }} {{ $meta['sample'] }}
@endforeach
@endsection @push('scripts') @endpush