@extends('layouts.layout') @section('title', 'Payment Details') @section('content') @php function get_city_name($id){ $result=DB::table('cities')->where('id',$id)->first(); return $result->name; } function get_state_name($id){ $result=DB::table('states')->where('id',$id)->first(); return $result->name; } $rolesArr = Auth::user()->roles; $userrolename = isset($user)?$user->roles->implode('name', ', '):''; function todaygoldrate(){ $result=DB::table('gold_rate')->orderBy('id','DESC')->first(); return isset($result->gold_22k_rate)?number_format($result->gold_22k_rate):''; } $payment_mode = DB::table('payment_mode')->where('is_delete','0')->orderBy('name','ASC')->get(); @endphp
@if(Session::has('message')) @endif
@csrf
Scheme Name *
@if ($errors->has('scheme_name'))

{{ $errors->first('scheme_name') }}

@endif
RegNo *
@if ($errors->has('regno'))

{{ $errors->first('regno') }}

@endif
@php $scheme_id = 0; if(Request::segment(2)=="proceed") { $scheme_id = isset($payment->scheme_id)?$payment->scheme_id:old('scheme_id'); } @endphp
Amount *
@if ($errors->has('amount'))

{{ $errors->first('amount') }}

@endif
Payment Mode *
@if ($errors->has('payment_mode'))

{{ $errors->first('payment_mode') }}

@endif
No.of Instalment *
@if ($errors->has('no_of_instalment'))

{{ $errors->first('no_of_instalment') }}

@endif
@csrf
@endsection