@php use Illuminate\Support\Str; $payable_total = 0; if($data['transaction']->payable_amount>0){ $payable_total = $data['transaction']->payable_amount; } if($data['transaction']->payable_amount < 0){ $refund_payable_total = abs($data['transaction']->payable_amount); } @endphp Reach Assuree - invoice
-: TAX  INVOICE :-
@if($data['agent']->pan_card != '') @else @endif
To, {{$data['subscription_plan']->name}}
{{ Str::limit($data['agent']->firm_name, 35) }} Tax Invoice No. :- RA/{{$data['transaction']->invoice_no}}
{{ Str::limit($data['agent']->first_name . " " . $data['agent']->middle_name . " " . $data['agent']->surname, 30) }} Customer GST No. :- {{$data['agent']->gst_number }} Tax Invoice Dt. :-  {{date('d/m/Y',strtotime($data['transaction']->created_at))}}
{{ Str::limit($data['agent']->address1, 30) }}...Customer PAN No. :- {{ $data['agent']->pan_card }} Customer PAN No. :-  Transaction No. :- {{$data['transaction']->id }}
{{$data['post_pin']->offfice_name}}, {{ ucfirst($data['post_pin']->district) }} Client Code :- {{ $data['agent']->agent_code }} Transaction Date :- {{date('d/m/Y',strtotime($data['transaction']->created_at))}}
{{$data['post_pin']->state_name }}, Indian {{$data['agent']->pincode}} Customer ID Date :- {{date('d/m/Y',strtotime($data['agent']->created_at))}}

@if ($data['subscription']->subscription_period_days == 365) @elseif ($data['subscription']->subscription_period_days == 30) @else @endif
Product Name :- Reach Insurance Agent Portfolio ({{ $data['product']->name }}) Plan Name :- {{$data['subscription_plan']->name}}
Validation Period :- {{$data['subscription']->subscription_period_days}} Mode :- Yearly Mode :- Monthly Mode :- Activate Count :- {{ $data['subscription_count'] }}
Plan Activate Date :-{{ date('d/m/Y h:i A',strtotime($data['subscription']->payment_date)) }} Mode Due Date :- {{ date('d/m/Y h:i A',strtotime($data['subscription']->expiry_date)) }}

@php $index = 1; @endphp @foreach ($data['subscription_items'] as $key=>$value) @php $index++; @endphp @endforeach @if ($data['transaction']['dynamic_late_id'] != 0) @endif @php $assetValue = $data['transaction']->item_price_total; $sgstValue = $data['transaction']->sgst_amount; $cgstValue = $data['transaction']->cgst_amount; $igstValue = $data['transaction']->igst_amount; $totalValue = $data['transaction']->item_price_total + $data['transaction']->sgst_amount+$data['transaction']->cgst_amount+$data['transaction']->igst_amount; if ($data['transaction']['dynamic_late_id'] != 0){ $assetValue = $data['transaction']->item_price_total + $data['late_fee_item']['item_price_total']; $sgstValue = $data['transaction']->sgst_amount + $data['late_fee_item']['sgst_amount']; $cgstValue = $data['transaction']->cgst_amount + $data['late_fee_item']['cgst_amount']; $igstValue = $data['transaction']->igst_amount + $data['late_fee_item']['igst_amount']; $totalValue = $totalValue + $data['transaction']['late_fee']; } $assetValueTotal = number_format($assetValue, 2); $sgstValueTotal = number_format($sgstValue, 2); $cgstValueTotal = number_format($cgstValue, 2); $igstValueTotal = number_format($igstValue, 2); $totalAmount = number_format($totalValue, 2); @endphp
Sr No Product Features Detail Description Unit HSN/SAC Qty Rate Ass.Value SGST CGST IGST Total Amount
Nos Amount Amount Rate Amt Rate Amt Rate Amt
{{ $index }} {{ $value->name }} {{ $value->description }} Nos {{$value->hsn_code}} {{ $value->qty }} {{ number_format($value->item_price,2) }} {{ number_format($value->item_price,2) }} {{ $value->cgst.'%' }} {{ number_format($value->cgst_amount,2) }} {{ $value->sgst.'%' }} {{ number_format($value->sgst_amount,2) }} {{ $value->igst.'%' }} {{ number_format($value->igst_amount,2) }} {{ $value->cgst_amount+$value->sgst_amount+$value->igst_amount+$value->item_price_total }}
{{ $index }} Late Fee - Days {{ $data['late_fee_item']['code'] }} {{ $data['late_fee_item']['days'] }} {{ number_format($data['late_fee_item']['item_price'], 2) }} {{ number_format($data['late_fee_item']['item_price_total'], 2) }} {{ $data['late_fee_item']['sgst'].'%' }} {{ number_format($data['late_fee_item']['sgst_amount'], 2) }} {{ $data['late_fee_item']['cgst'].'%' }} {{ number_format($data['late_fee_item']['cgst_amount'], 2) }} {{ $data['late_fee_item']['igst'].'%' }} {{ number_format($data['late_fee_item']['igst_amount'], 2) }} {{ number_format($data['transaction']['late_fee'], 2) }}
Total {{ $assetValueTotal }} {{ $sgstValueTotal }} {{ $cgstValueTotal }} {{ $igstValueTotal }} {{ $totalAmount }}

@php $item_price_total = $data['transaction']->item_price_total + $data['transaction']->sgst_amount+$data['transaction']->cgst_amount+$data['transaction']->igst_amount; if ($data['transaction']['dynamic_late_id'] != 0){ $item_price_total = $item_price_total + $data['late_fee_item']['total_late_amount']; } @endphp @if ($data['transaction']->adjust_amount < 0) @else @endif @if ($data['transaction']->adjust_amount > 0) @else @endif @if ($payable_total <= '0') @else @endif @if ($payable_total <= '0') @else @endif
Bank Name :- {{$data['gst_details']->bank_name}} Total Amount : Rs.{{ number_format( $item_price_total, 2)}}
Bank Ac No. :- {{$data['gst_details']->bank_ac_no}} Credit Note Amount : Rs.{{ number_format($data['transaction']['previous_credit_note_amount'],2)}}
RTGS/ IFSC Code :- {{$data['gst_details']->rtgs_code}}Less :- Credit Balance Adjustable :- {{number_format($data['transaction']->adjust_amount,2)}}Less :- Credit Balance Adjustable :- 0.00
Bank Address :- {{$data['gst_details']->bank_address}}Add :- Debit Balance Adjustable :- {{number_format($data['transaction']->adjust_amount,2)}}Add :- Debit Balance Adjustable :- 0.00
Total Refund Amount :- Rs. {{ number_format($refund_payable_total ,2) }}Total Invoice Amount :- Rs. {{ number_format($payable_total,2) }}
Refund Amount in Rupees :- {{ AmountInWords($refund_payable_total) }}Amount in Rupees :- {{ AmountInWords($payable_total) }}

@if ($payable_total <= '0')

You will get refund in the same bank details from which you have Purchased.


@endif
Money Reciept :-
Total Invoice Amount :- Rs. {{ number_format($payable_total, 2) }}
Amount in Rupees :- {{ AmountInWords($payable_total) }}
We agree and accepting that we had received above Invoice Amount in our Bank /Cash

Terms & Condition :- For Reach Assuree
1. Any Invoice Generated Mistake will be Understandable & Adjustable.
2. 1 Month Money Back Guarantee will be Start from 1St Activation Date. (Authorised Signature)