{{-- Office Copy --}} @php $types =['Office Copy','A /C Copy','Client Copy']; $show_branch_logo = CommonHelper::getBranchSettings($extra['branch']->id, 'branch_logo_on_receipt'); $signature= 'SPE ENTERPRISES'; if(!$extra['is_official']){ $show_branch_logo = 0; $signature= 'AUTHORIZED SIGNATURE'; } $receipt = $data['item']; $first_margin = 'margin-top:1rem'; $second_margin = 'margin-top:4.7rem'; if($paper_size == 'legal'){ $first_margin = 'margin-top:0.4rem'; $second_margin = 'margin-top:6.5rem'; } $first_schedule_date = $data['first_schedule']->schedule_date; $last_schedule_date = $data['last_schedule']->schedule_date; $first_schedule_term = $data['first_schedule']->term; $last_schedule_term = $data['last_schedule']->term; if($first_schedule_date){ $first_schedule_date = date('M-y',strtotime($first_schedule_date)); } if($last_schedule_date){ $last_schedule_date = date('M-y',strtotime($last_schedule_date)); } @endphp
@foreach ($types as $type )
 
Receipt No. _________________ Date : _________________
{{ '000'.$receipt->id }}
{{ $transaction->date_format($receipt->date_of_collection_new) }}
Receieved with thanks from Mr./Mrs./Miss ___________________________________
{{ $receipt->sells->customer->name }}
In Respect of __________________________________________________________
{{$first_schedule_term ?? ''}} ({{$first_schedule_date ?? '-' }}) @if($first_schedule_term != $last_schedule_term) to {{$last_schedule_term}} ({{$last_schedule_date ?? '-' }}) @endif
the sum of Rupees _____________________________________________________
{{ config('settings.currency_code') }} {{ $transaction->convert_number_to_words($receipt->actual_amount) }} ONLY
By Cash/Pay Order/Cheque ______________________________________________
{{ $receipt->made_of_payment }} @if($receipt->made_of_payment != 'Cash') , {{ $receipt->cheque_no }} , {{$transaction->date_format($receipt->cheque_date)}} @endif
Drawn on Bank ____________________________ Branch _____________________ {{-- Reference ________________________ --}}
{{ $receipt->drawn_bank }}
{{ $receipt->branch_name }}
{{-- --}}
Plot No. {{-- Floor: --}} Size {{-- Block: --}}
{{ $receipt->sells->product->product_unique_id }}
{{--
{{ $receipt->sells->product->floor->name ?? '-' }}
--}}
{{ $receipt->sells->product->flat_size ?? '-' }} - {{ $receipt->sells->product->size_in ?? '-' }}
{{--
{{ $receipt->sells->product->block->name ?? '-' }}
--}}
Rs.
{{ $transaction->convert_money_format($receipt->actual_amount) }}
(This Receipt is valid subject to realization of cheque)
For _________________________________
{{strtoupper(auth()->user()->name)}}
on behalf of {{config('settings.company_name')}}
@endforeach