@extends('pos.layout')
@section('title', 'Receipt ' . ($billpayment->money_receipt_number ?? ''))
@section('receipt')
@if (!empty($company_info->img_url) && companyImageUrl($company_info->img_url))
 }})
@endif
{{ $company_info->name ?? '' }}
{{-- The address is saved from a rich text editor; a receipt only wants the words.
Line breaks become spaces first so "Road 1
Dhaka" does not run together. --}}
@php
$posAddress = preg_replace('/<(br|\/p|\/div|\/li)[^>]*>/i', ' ', $company_info->address ?? '');
$posAddress = trim(preg_replace('/[\s\x{00A0}]+/u', ' ', html_entity_decode(strip_tags($posAddress))));
@endphp
@if ($posAddress !== '')
{{ $posAddress }}
@endif
@if (!empty($company_info->mobile))
{{ $company_info->mobile }}
@endif
| Date |
{{ $billpayment->created_at->format('d-m-Y h:i A') }} |
| CID |
{{ $billpayment->clients->id ?? '' }} |
| Name |
{{ $billpayment->clientsinfo->clients_name ?? '' }} |
| User ID |
{{ $billpayment->clients->userid ?? '' }} |
| Contact |
{{ $billpayment->clientsinfo->contact_no ?? '' }} |
@if (checkSettings('package-show-in-invoice') == 'enable')
| Package |
{{ $billpayment->clients->packages->package_name ?? '' }} |
@endif
@if (!empty($billpayment->clients->expire_date))
| Expire Date |
{{ date('d-m-Y', strtotime($billpayment->clients->expire_date)) }} |
@endif
@if (!empty($billpayment->description))
| Details |
{{ $billpayment->description }} |
@endif