{{-- ICTHospital - printable OPD token slip (thermal printer width). Copyright (c) DEVtrust Part of ICTHospital Licensed under the GNU General Public License v3.0. --}} Token {{ $visit->token_no }} @php($institute = \Illuminate\Support\Facades\Schema::hasTable('institute') && \Illuminate\Support\Facades\Schema::hasColumn('institute', 'name') ? \Illuminate\Support\Facades\DB::table('institute')->value('name') : null)
{{ $institute ?: 'OPD' }}

Token
{{ $visit->token_no }}
{{ optional($doctor)->name }}
{{ optional($patient)->name }} · MR {{ optional($patient)->patient_id }}
{{ \Carbon\Carbon::parse($visit->checked_in_at ?: now())->format('d M Y, H:i') }}
@if ($ahead > 0){{ $ahead }} patient(s) ahead of you @endif