@extends('layouts.app') @section('content')
@foreach (['Department Copy', 'Patient Copy'] as $index => $copyType)
@if($index === 1)
Tear Here
@endif
@if($receiptPrint->image1) Image 1 @else
@endif

{{ $receiptPrint->header }}

{{ $copyType }}

@if($receiptPrint->image2) Image 2 @else
@endif
@if($receiptPrint->background_image) Background Logo @endif
Date: {{ $receipt->date }} Time: {{ $receipt->time }}
Animal Tag No: {{ $receipt->animal_tag_no }}
Patient No: {{ $receipt->id }}
Farmer Name: {{ $receipt->farmer_name ?? 'N/A' }}
Ref By: {{ $receipt->referred_by }}
Animal: {{ $receipt->animal }}
Temperature: {{ $receipt->temperature }}°F
Sample: {{ $receipt->sample }}
Pregnancy: {{ $receipt->pregnancy }} @if(strtolower($receipt->pregnancy) === 'yes' && !empty($receipt->pregnancy_month)) ({{ $receipt->pregnancy_month }} month{{ $receipt->pregnancy_month > 1 ? 's' : '' }}) @endif
Deworming: {{ $receipt->deworming }}
Finding: {{ $receipt->finding ?? 'N/A' }}
@if (!empty($receipt->image))
Receipt Image
@endif

{{ $receiptPrint->footer }}

(Note: Not Valid For Any Court of Law)

Software developed by Next Steps Solutions Pvt. Ltd.

🌐 www.nextstepsols.com

📞 Cell: 0332-0679987

@endforeach
@endsection