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

Purchase Invoice Details

@php $index = 1; @endphp @foreach ($data['transaction']['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['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 ($data['transaction']['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['transaction']['previous_credit_note_amount'], 2) }}
Less :- Credit Balance Adjustable : {{ number_format($data['transaction']['adjust_amount'], 2) }}
Add :- Debit Balance Adjustable : 0.00
Less :- Cr.Balance Adjustable : 0.00
Add :- Dr.Balance Adjustable : {{ number_format($data['transaction']['adjust_amount'], 2) }}
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) }}
@csrf @if($data['environment'] == 'production' && $data['transaction']['payable_amount']>0) @endif @if($data['transaction']['payable_amount']==0 || $data['transaction']['payable_amount'] < 0) @endif @if($data['environment'] != 'production') @if($data['transaction']['payable_amount'] > 0) {{ AmountInWords(abs($data['transaction']['payable_amount'])) }} @endif @endif
@endsection @section('custom-scripts') @endsection