{{--
Certificate of Pattern Approval - Form C, made under regulation 11(2).
Rendered by Browsershot (PatternCertificatePdf) for the OSA portal, which
stores the PDF and hands it to the applicant; WMA-MIS previews the same
file. The wording of Form C is kept as the regulation prints it; the rest
is the agency's document house style, shared with the WVI notes
(resources/views/wvi/rejection-notice.blade.php): Cormorant and EB
Garamond, a brown banded frame, ornament dividers and a faint watermark.
Every sheet is a fixed A4 box. Page one is the certificate; a certificate
for several instrument lines adds one Schedule sheet per line, so the
certificate itself never spills onto a second page half-way through a
table.
Serial numbers are not printed. They are listed, with the certificate's
current standing, on the public verification page the QR code opens - a
run of a few hundred meters would otherwise need sheets of its own, and a
printed list cannot show that the approval has since been revoked.
Receives only plain arrays and strings - see PatternCertificatePdf::viewData().
--}}
Certificate of Pattern Approval {{ $number }}
{{-- ── Shared drawings ─────────────────────────────────────────────────── --}}
@php
// The rosette: rotated ellipses, the oldest trick of security printing,
// drawn in the document so it is crisp at any zoom.
$rosette = '';
for ($i = 0; $i < 36; $i++) {
$rosette .= '';
}
for ($i = 0; $i < 24; $i++) {
$rosette .= '';
}
@endphp
@php
$corner = '';
$frame = function () use ($rosette, $corner, $wmaLogo) {
return ''
.'
I hereby certify that the under mentioned
{{ count($instruments) > 1 ? 'patterns of instruments have' : 'pattern of instrument has' }} been duly approved for use for trade.
The serial {{ $instrument['quantity'] > 1 ? 'numbers of the '.$instrument['quantity'].' instruments' : 'number of the instrument' }} covered, and the current standing of this certificate, are shown on scanning the QR code below.
@else
Particulars of the approved patterns
#
Type of measuring instrument
Trade / brand name & model
Manufacturer
Qty
@foreach($instruments as $index => $instrument)
{{ $index + 1 }}
{{ $instrument['title'] }}
{{ $instrument['brand_model'] ?: '-' }}
{{ $instrument['manufacturer'] ?: '-' }}
{{ $instrument['quantity'] }}
@endforeach
The full particulars of each pattern are set out in the Schedule attached, which forms part of this certificate. The serial numbers of the instruments covered are shown on scanning the QR code below.
@endif
Date of approval
{{ $issuedOn }}
Effective from
{{ $effectiveFrom }}
Valid until
{{ $validUntil }}
@if($signer['signature'])
@endif
{{ $signer['name'] ?: ' ' }}
{{ $signer['title'] }}
{{ $signer['signedOn'] }}
Date
of approval
{{-- The agency's seal, inked across the signing line. --}}
{{-- ══ Schedule: one sheet per instrument line, when there is more than one ══ --}}
@if(count($instruments) > 1)
@foreach($instruments as $index => $instrument)
{!! $frame() !!}