@extends('adminlayout.admin') @section('content')

Bill Pay Request

@if($errors->any()) {!! implode('', $errors->all('

:message

')) !!} @endif
@csrf
@foreach($data->billerResponse as $key => $val) @if($key=='billDate' || $key=='customerName' || $key=='dueDate') @if($key == "billAmount") @php $val = $val/100; @endphp @endif @endif @endforeach @isset($data->additionalInfo ) @isset($data->additionalInfo->info ) @foreach($data->additionalInfo->info as $info) @if($info->infoName=='Available Balance' || $info->infoName=='status' || (strpos($info->infoName, 'Balance') !== false) || (strpos($info->infoName, 'Model') !== false)) @endif @endforeach @endisset @endisset
Biller Name : {{ $BbpssBillinfo->billerName }}
{{ ucwords(implode(' ',preg_split('/(?=[A-Z])/', $key))) }} : {{ $val }}
{{ ucwords(implode(' ',preg_split('/(?=[A-Z])/', $info->infoName))) }} : {{ $info->infoValue }}
   

Changable Field

@php $paymentMode = explode(',', $BbpssBillinfo->billerPaymentModes); @endphp
@php if ($BbpssBillinfo->billerPaymentExactness == "Exact") { $msg = "You can only pay the same amount as the bill amount, not less or more than the amount."; } elseif ($BbpssBillinfo == "EXACT & ABOVE" || $BbpssBillinfo == "Exact and above") { $msg = "You can pay an amount equal to or more than the bill amount, not less than the amount."; } elseif ($BbpssBillinfo == "Exact and below") { $msg = "You can pay an amount equal to or less than the bill amount, not more than the amount."; } else { $msg = ""; } @endphp
@endsection