@extends('layouts.app') @section('title', 'Sri Lanka Cheque Printing') @section('content')

Cheque Printing Sri Lanka Standard

{{-- Alert tip --}} {!! Form::open(['url' => route('accounting-reports.cheque-printing.print'), 'method' => 'post', 'id' => 'cheque_printing_form', 'target' => '_blank']) !!} {{-- ══════════════════════════════════════════════════════ --}} {{-- SECTION 1 — Cheque Details --}} {{-- ══════════════════════════════════════════════════════ --}}

 Cheque Details

{{-- Bank Account --}}
{!! Form::select('account_id', ['' => __('messages.please_select')] + ($accounts ?? []), null, ['class' => 'form-control select2', 'required', 'style' => 'width:100%', 'id' => 'account_id'] ) !!}
{{-- Cheque Date --}}
{!! Form::text('date', @format_date('now'), ['class' => 'form-control date-picker', 'required', 'readonly', 'id' => 'date']) !!}
SL cheques use 8 individual date boxes (DD MM YYYY). Century digits are pre-printed.
{{-- Payee Name --}}
{!! Form::text('payee_name', null, ['class' => 'form-control', 'required', 'placeholder' => 'e.g. ABC Company (Pvt) Ltd', 'id' => 'payee_name', 'style' => 'text-transform:uppercase;']) !!} Will be printed as ***PAYEE NAME*** for amount protection.
{{-- Amount --}}
Rs. {!! Form::text('amount', null, ['class' => 'form-control input_number', 'required', 'id' => 'amount', 'placeholder' => '0.00']) !!} /=
Will print as 50,000.00/= on cheque.
{{-- Crossing type --}}
{!! Form::select('crossing', [ '' => 'None (Open Cheque)', 'ac_payee' => 'A/C Payee Only (Recommended)', 'not_negotiable' => 'Not Negotiable', ], 'ac_payee', ['class' => 'form-control select2', 'style' => 'width:100%', 'id' => 'crossing']) !!} Printed diagonally at top-left of cheque.
{{-- Cross or bearer --}}
Strike through the Or Bearer text on the cheque leaf.
{{-- Amount words format --}}
{!! Form::select('wording', [ 'international' => 'International (Millions/Billions)', 'indian' => 'Indian (Lakhs/Crores)', ], 'international', ['class' => 'form-control select2', 'style' => 'width:100%', 'id' => 'wording']) !!}
{{-- /row --}} {{-- Live preview panel — Real Physical Size --}}
{{-- /box-body --}}
{{-- ══════════════════════════════════════════════════════ --}} {{-- SECTION 2 — Printer Calibration --}} {{-- ══════════════════════════════════════════════════════ --}} {{-- ══════════════════════════════════════════════════════ --}} {{-- SECTION 3 — MICR Reference --}} {{-- ══════════════════════════════════════════════════════ --}}

MICR Line Reference (Sri Lanka Banks)

BankBank CodeMICR FormatAccount Digits
Bank of Ceylon (BOC)7010CHEQUE# | BANK-BRANCH | ACCOUNT10
Commercial Bank7117CHEQUE# | BANK-BRANCH | ACCOUNT10
HNB7083CHEQUE# | BANK-BRANCH | ACCOUNT10
Sampath Bank7278CHEQUE# | BANK-BRANCH | ACCOUNT10
Seylan Bank7287CHEQUE# | BANK-BRANCH | ACCOUNT10
Nations Trust (NTB)7214CHEQUE# | BANK-BRANCH | ACCOUNT10
People's Bank7135CHEQUE# | BANK-BRANCH | ACCOUNT10

The MICR clear band (bottom 19.05 mm / 0.75 inch) is reserved for the bank's magnetic ink characters. This system does not print in that zone. If you need to print on blank security paper including the MICR line, contact your bank for E-13B font licensing.

{{-- Submit --}}
   Cheque Book
{!! Form::close() !!} {{-- ══════════════════════════════════════════════════════ --}} {{-- AUDIT LOG TABLE --}} {{-- ══════════════════════════════════════════════════════ --}} @if(!empty($auditLog) && count($auditLog) > 0)

Recent Print History (last 20)

@foreach($auditLog as $log) @endforeach
Date Printed Cheque Date Payee Amount (Rs.) Crossing User Del
{{ \Carbon\Carbon::parse($log->printed_at)->format('d/m/Y H:i') }} {{ \Carbon\Carbon::parse($log->cheque_date)->format('d/m/Y') }} {{ $log->payee_name }} Rs. {{ number_format($log->amount, 2) }}/= @if($log->crossing_type === 'ac_payee') A/C Payee Only @elseif($log->crossing_type === 'not_negotiable') Not Negotiable @else Open @endif @php $user = \App\User::find($log->user_id); @endphp {{ $user ? $user->first_name . ' ' . $user->last_name : '#'.$log->user_id }}
@endif
@endsection @section('javascript') @endsection