@extends('reachassuree_agent/layouts.main') @section('title', $data['title']) @section('content')

Plan Invoice Details

@php $index = 1; @endphp @foreach ($data['transaction']['subscription_items'] as $key => $value) @php $index++; @endphp @endforeach @if ($data['transaction']['dynamic_late_id'] != 0) @endif
Sr no. Plan Name Qty Rate Ass.Value SGST CGST IGST
Nos Amount Amount Rate Amount Rate Amount Rate Amount
{{ $index }} {{ $data['new_plan']['name'] }} / {{ $data['new_plan_mode']}} {{ $value['qty'] }} {{ number_format($value['item_price'], 2) }} {{ number_format($value['item_price_total'], 2) }} {{ number_format($value['sgst'], 2) }} {{ number_format($value['sgst_amount'], 2) }} {{ number_format($value['cgst'], 2) }} {{ number_format($value['cgst_amount'], 2) }} {{ number_format($value['igst'], 2) }} {{ number_format($value['igst_amount'], 2) }}
{{ $index }} Late Fee ({{ $data['transaction']['late_fee_item']['days']. " Days" }}) 1 {{ number_format($data['transaction']['late_fee_item']['item_price'], 2) }} {{ number_format($data['transaction']['late_fee_item']['item_price_total'], 2) }} {{ number_format($data['transaction']['late_fee_item']['sgst'], 2) }} {{ number_format($data['transaction']['late_fee_item']['sgst_amount'], 2) }} {{ number_format($data['transaction']['late_fee_item']['cgst'], 2) }} {{ number_format($data['transaction']['late_fee_item']['cgst_amount'], 2) }} {{ number_format($data['transaction']['late_fee_item']['igst'], 2) }} {{ number_format($data['transaction']['late_fee_item']['igst_amount'], 2) }}
@php $item_price_total = $data['transaction']['item_price_total']; $gst_amount = $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['transaction']['late_fee_item']['item_price_total']; $gst_amount = $gst_amount + $data['transaction']['late_fee_item']['sgst_amount'] + $data['transaction']['late_fee_item']['cgst_amount'] + $data['transaction']['late_fee_item']['igst_amount']; } @endphp @if ($data['transaction']['previous_credit_note_amount'] > 0) @endif @if ($data['transaction']['adjust_amount'] < 0) @elseif ($data['transaction']['adjust_amount'] > 0) @else @endif @if ($data['transaction']['payable_amount']==0 || $data['transaction']['payable_amount'] < 0) @else @endif @if(request('transaction_id') == "") @if ($data['transaction']['payable_amount'] < 0) @endif @endif
Ass.Value : {{ number_format( $item_price_total, 2)}}
GST : {{ $gst_amount }}
Less Credit Note Amount : {{ number_format($data['transaction']['previous_credit_note_amount'], 2) }}
Less :- Credit Balance Adjustable : {{ $data['transaction']['adjust_amount'] }}
Add :- Debit Balance Adjustable : 0.00
Less :- Cr.Balance Adjustable : 0.00
Add :- Dr.Balance Adjustable : {{ $data['transaction']['adjust_amount'] }}
Less :- Cr.Balance Adjustable : 0.00
Add :- Dr.Balance Adjustable : 0.00
Net Payable Amount : 0.00{{ number_format($data['transaction']['payable_amount'], 2) }}
You will get refund in the same bank details from which you have Purchased. | Refund Amount : {{ number_format(abs($data['transaction']['payable_amount']),2) }}
@if($data['testtransaction'])

Purchase Invoice Details

@php $index = 1; @endphp @foreach ($data['testtransaction']['subscription_items'] as $key => $value) @endforeach
Sr no. Feature Name Quantity / Price Qty Amount SGST CGST IGST
Rate Amount Rate Amount Rate Amount
{{ $key + $index }} {{ $value['product_features']['name'] }} {{ $value['product_features']['min_unit'] }}/{{ $value['product_features']['single_unit_price'] }} {{ $value['qty'] }} {{ number_format($value['item_price_total'], 2) }} {{ $value['sgst'] }} {{ number_format($value['sgst_amount'], 2) }} {{ $value['cgst'] }} {{ number_format($value['cgst_amount'], 2) }} {{ $value['igst'] }} {{ number_format($value['igst_amount'], 2) }}
@php $item_price_total = $data['testtransaction']['item_price_total']; $gst_amount = $data['testtransaction']['sgst_amount'] + $data['testtransaction']['cgst_amount'] + $data['testtransaction']['igst_amount']; if ($data['testtransaction']['dynamic_late_id'] != 0){ $item_price_total = $item_price_total + $data['testtransaction']['late_fee_item']['item_price_total']; $gst_amount = $gst_amount + $data['testtransaction']['late_fee_item']['sgst_amount'] + $data['testtransaction']['late_fee_item']['cgst_amount'] + $data['testtransaction']['late_fee_item']['igst_amount']; } @endphp @if ($data['testtransaction']['previous_credit_note_amount'] > 0) @endif @if ($data['testtransaction']['adjust_amount'] < 0) @elseif ($data['testtransaction']['adjust_amount'] > 0) @else @endif @if ($data['transaction']['payable_amount']==0 || $data['transaction']['payable_amount'] < 0) @else @endif @if ($data['testtransaction']['payable_amount'] < 0) @endif
Total Amount : {{ number_format( $item_price_total, 2)}}
GST : {{ number_format($gst_amount, 2) }}
Less Credit Note Amount : {{ number_format($data['testtransaction']['previous_credit_note_amount'], 2) }}
Less :- Credit Balance Adjustable : {{ number_format($data['testtransaction']['adjust_amount'], 2) }}
Add :- Debit Balance Adjustable : 0.00
Less :- Cr.Balance Adjustable : 0.00
Add :- Dr.Balance Adjustable : {{ number_format($data['testtransaction']['adjust_amount'], 2) }}
Less :- Cr.Balance Adjustable : 0.00
Add :- Dr.Balance Adjustable : 0.00
Net Payable Amount : 0.00{{ number_format($data['testtransaction']['payable_amount'], 2) }}
You will get refund in the same bank details from which you have Purchased. | Refund Amount : {{ number_format(abs($data['testtransaction']['payable_amount']),2) }}
@endif @if($data['testtransaction']) @if($data['transaction']['payable_amount'] < 0) @else @endif @if ($data['transaction']['payable_amount'] < 0) @else @endif
You will get refund in the same bank details from which you have Purchased. | Refund Amount : Grand Payable Amount :{{ number_format(abs($data['transaction']['payable_amount']) - $data['testtransaction']['payable_amount'], 2) }}{{ number_format($data['transaction']['payable_amount'] + $data['testtransaction']['payable_amount'], 2) }}
@endif
@csrf @if($data['environment'] == 'production' && $data['transaction']['payable_amount']>0) @if(empty($data['testtransaction'])) @else @endif @endif @if($data['transaction']['payable_amount']==0 || $data['transaction']['payable_amount'] < 0) @endif @if($data['environment'] != 'production') @if($data['transaction']['payable_amount'] > 0) @if(empty($data['testtransaction'])) {{ AmountInWords(abs($data['transaction']['payable_amount'])) }} @else {{ AmountInWords(abs($data['transaction']['payable_amount'] + $data['testtransaction']['payable_amount'])) }} @endif @endif @endif
Current Plan
{{ $data['current_plan']['name']}} /{{ $data['mode']}}
Current Plan Remain Days
{{$data['current_plan']['remain_days']}}/Days
CreditNote Amount
{{ number_format($data['transaction']['previous_credit_note_amount'] ,2) }}
Upgrade Plan
{{ $data['new_plan']['name']}} /{{ $data['new_plan_mode']}}
Plan Activate Date
{{ $data['activate_date'] }}
Plan Expiry Date
{{ $data['expiry_date'] }}
@endsection @section('custom-scripts') @endsection