@php
$formdata = \App\Models\Form::find($calling_form_number);
if ($formdata) {
$form_fields_data = \App\Models\FormCollection::where('form_id', $formdata->id)->get();
}
$server_root = $_SERVER['REMOTE_ADDR'];
@endphp
@if ($formdata)
@if (Session::has('message'))
{{ Session::get('message') }}
@endif
{{ $formdata->title }}
@if ($formdata->form_type != 'PAYMENT GATEWAY')
@if ($formdata->instructions)
Instructions: {{ $formdata->instructions }}
@endif
@if ($formdata->form_style != 'Vertical')
@include('frontend.forms.horizontal-form')
@else
@include('frontend.forms.vertical-form')
@endif
@else
@if (($formdata->gateway_mobilenumber!=null) and ($formdata->gateway_amount != null))
@if ($formdata->instructions)
Instructions: {{ $formdata->instructions }}
@endif
@if ($formdata->form_style != 'Vertical')
@include('frontend.forms.horizontal-form')
@else
@include('frontend.forms.vertical-form')
@endif
@else
Please Configure Payment Gateway Parameters
@endif
@endif
@else
Invalid Form
@endif