@extends('admin.layouts.master') @section('content') @if(Request::segment(1)==='add-members') @elseif(Request::segment(1)==='edit-members') @elseif(Request::segment(1)==='view-members') @endif @if(Request::segment(1)==='add-members')
@csrf
@if ($message = Session::get('success'))
× Success! {{ $message }}
@endif
{!! Form::label('name', trans('translate.member_type')) !!} @if ($errors->has('member_type')) {{ $errors->first('member_type') }} @endif
{!! Form::label('name', trans('translate.Vidhansabha_Mondal_title')) !!} {!! Form::select('vidhanshabha_id', $vidhanshabhaData, '', ['id'=>'vidhanshabha_id','class'=>'form-control userinput','placeholder' =>'--Select vidhanshabha--']) !!} @if ($errors->has('vidhanshabha_id')) {{ $errors->first('vidhanshabha_id') }} @endif
{!! Form::label('name', trans('translate.manage_area_title')) !!} {!! Form::select('area_id', $areaData, '', ['id'=>'area_id','class'=>'form-control vard-box userinput','placeholder' =>'--Select Area--']) !!} @if ($errors->has('area_id')) {{ $errors->first('area_id') }} @endif
{!! Form::label('name', trans('translate.manage_sub_area_title')) !!} {!! Form::select('sub_area_id', $subareaData, '', ['class'=>'form-control village-box userinput','placeholder' =>'--Select Sub Area--']) !!} @if ($errors->has('sub_area_id')) {{ $errors->first('sub_area_id') }} @endif
{!! Form::label('name', trans('translate.poolingboothno')) !!} {!! Form::text('poolingboothno', '', ['class' => 'form-control userinput','placeholder' => '']) !!} @if ($errors->has('poolingboothno')) {{ $errors->first('poolingboothno') }} @endif
{!! Form::label('name', trans('translate.poolingbootharea')) !!} {!! Form::text('poolingbootharea', '', ['class' => 'form-control userinput','placeholder' => '']) !!} @if ($errors->has('poolingbootharea')) {{ $errors->first('poolingbootharea') }} @endif
{!! Form::label('name', trans('translate.mrandmrs')) !!} {!! Form::text('mrandmrs', '', ['class' => 'form-control userinput','placeholder' => '']) !!} @if ($errors->has('mrandmrs')) {{ $errors->first('mrandmrs') }} @endif
{!! Form::label('name', trans('translate.husbandandwife')) !!} {!! Form::text('husbandandwife', '', ['class' => 'form-control userinput','placeholder' => '']) !!} @if ($errors->has('husbandandwife')) {{ $errors->first('husbandandwife') }} @endif
{!! Form::label('name', trans('translate.distic')) !!} {!! Form::text('distic', '', ['class' => 'form-control userinput','placeholder' => '']) !!} @if ($errors->has('distic')) {{ $errors->first('distic') }} @endif
{!! Form::label('name', trans('translate.address')) !!} {!! Form::textarea('address', '', ['class' => 'form-control userinput','placeholder' => '','rows' => 1, 'cols' => 10]) !!} @if ($errors->has('address')) {{ $errors->first('address') }} @endif
{!! Form::label('name', trans('translate.post')) !!} {!! Form::text('post', '', ['class' => 'form-control userinput','placeholder' => '']) !!} @if ($errors->has('post')) {{ $errors->first('post') }} @endif
{!! Form::label('name', trans('translate.dob')) !!} {!! Form::date('dob', '', ['class' => 'form-control userinput','placeholder' => '']) !!} @if ($errors->has('dob')) {{ $errors->first('dob') }} @endif
{!! Form::label('name', trans('translate.bloodgroup')) !!} {!! Form::select('bloodgroup', ['A+' => 'A+', 'B+' => 'B+','O+' => 'O+', 'AB+' => 'AB+','A-' => 'A-', 'B-' => 'B-','O-' => 'O-', 'AB-' => 'AB-'], '', ['class'=>'form-control userinput','placeholder' =>'Blood Group',]) !!} @if ($errors->has('bloodgroup')) {{ $errors->first('bloodgroup') }} @endif
{!! Form::label('name', trans('translate.mobileno')) !!} {!! Form::text('mobileno', '', ['class' => 'form-control userinput','placeholder' => '']) !!} @if ($errors->has('mobileno')) {{ $errors->first('mobileno') }} @endif
{!! Form::label('name', trans('translate.vidcardno')) !!} {!! Form::text('vidcardno', '', ['class' => 'form-control userinput','placeholder' => '']) !!} @if ($errors->has('vidcardno')) {{ $errors->first('vidcardno') }} @endif
{!! Form::label('name', trans('translate.email')) !!} {!! Form::text('email', '', ['class' => 'form-control userinput','placeholder' => '']) !!} @if ($errors->has('email')) {{ $errors->first('email') }} @endif
{!! Form::label('name', trans('translate.marrigedate')) !!} {!! Form::date('marrigedate', '', ['class' => 'form-control userinput','placeholder' => '']) !!} @if ($errors->has('marrigedate')) {{ $errors->first('marrigedate') }} @endif
facebook Image {!! Form::text('facebookid', '', ['class' => 'form-control userinput','placeholder' => '']) !!} @if ($errors->has('facebookid')) {{ $errors->first('facebookid') }} @endif
whatsapp Image {!! Form::text('whatsappno', '', ['class' => 'form-control userinput','placeholder' => '']) !!} @if ($errors->has('whatsappno')) {{ $errors->first('whatsappno') }} @endif

@if ($errors->has('filename')) {{ $errors->first('filename') }} @endif

@if ($errors->has('image')) {{ $errors->first('image') }} @endif
@elseif(Request::segment(1)==='edit-members')
@csrf
{!! Form::hidden('id',$id, ['class' => 'form-control']) !!}
{!! Form::label('name', trans('translate.member_type')) !!} @if ($errors->has('member_type')) {{ $errors->first('member_type') }} @endif
{!! Form::label('name', trans('translate.Vidhansabha_Mondal_title')) !!} {!! Form::select('vidhanshabha_id', $vidhanshabhaData, $vidhanshabha_id, ['id'=>'vidhanshabha_id','class'=>'form-control userinput','placeholder' =>'--Select vidhanshabha--',]) !!} @if ($errors->has('vidhanshabha_id')) {{ $errors->first('vidhanshabha_id') }} @endif
{!! Form::label('name', trans('translate.manage_area_title')) !!} {!! Form::select('area_id', $areaData, $area_id, ['id'=>'area_id','class'=>'form-control vard-box userinput','placeholder' =>'--Select Area--',]) !!} @if ($errors->has('area_id')) {{ $errors->first('area_id') }} @endif
{!! Form::label('name', trans('translate.manage_sub_area_title')) !!} {!! Form::select('sub_area_id', $subareaData, $sub_area_id, ['class'=>'form-control village-box userinput','placeholder' =>'--Select Sub Area--',]) !!} @if ($errors->has('sub_area_id')) {{ $errors->first('sub_area_id') }} @endif
{!! Form::label('name', trans('translate.poolingboothno')) !!} {!! Form::text('poolingboothno', $poolingboothno, ['class' => 'form-control userinput','placeholder' => 'Enter Pooling Booth Number']) !!} @if ($errors->has('poolingboothno')) {{ $errors->first('poolingboothno') }} @endif
{!! Form::label('name', trans('translate.poolingbootharea')) !!} {!! Form::text('poolingbootharea', $poolingbootharea, ['class' => 'form-control userinput','placeholder' => 'Enter Pooling Booth Area']) !!} @if ($errors->has('poolingbootharea')) {{ $errors->first('poolingbootharea') }} @endif
{!! Form::label('name', trans('translate.mrandmrs')) !!} {!! Form::text('mrandmrs', $mrandmrs, ['class' => 'form-control userinput','placeholder' => 'Enter Mr/Mrs.']) !!} @if ($errors->has('mrandmrs')) {{ $errors->first('mrandmrs') }} @endif
{!! Form::label('name', trans('translate.husbandandwife')) !!} {!! Form::text('husbandandwife', $husbandandwife, ['class' => 'form-control userinput','placeholder' => 'Enter Husband/wife']) !!} @if ($errors->has('husbandandwife')) {{ $errors->first('husbandandwife') }} @endif
{!! Form::label('name', trans('translate.address')) !!} {!! Form::textarea('address', $address, ['class' => 'form-control userinput','placeholder' => 'Enter Address','rows' => 1, 'cols' => 10,]) !!} @if ($errors->has('address')) {{ $errors->first('address') }} @endif
{!! Form::label('name', trans('translate.post')) !!} {!! Form::text('post', $post, ['class' => 'form-control userinput','placeholder' => 'Enter Post']) !!} @if ($errors->has('post')) {{ $errors->first('post') }} @endif
{!! Form::label('name', trans('translate.dob')) !!} {!! Form::date('dob', $dob, ['class' => 'form-control userinput','placeholder' => 'Enter Date Of Birth']) !!} @if ($errors->has('dob')) {{ $errors->first('dob') }} @endif
{!! Form::label('name', trans('translate.bloodgroup')) !!} {!! Form::select('bloodgroup', ['A+' => 'A+', 'B+' => 'B+','O+' => 'O+', 'AB+' => 'AB+','A-' => 'A-', 'B-' => 'B-','O-' => 'O-', 'AB-' => 'AB-'], $bloodgroup, ['class'=>'form-control userinput','placeholder' =>'--Select Blood Group--',]) !!} @if ($errors->has('bloodgroup')) {{ $errors->first('bloodgroup') }} @endif
{!! Form::label('name', trans('translate.mobileno')) !!} {!! Form::text('mobileno', $mobileno, ['class' => 'form-control userinput','placeholder' => 'Enter Mobile Number']) !!} @if ($errors->has('mobileno')) {{ $errors->first('mobileno') }} @endif
{!! Form::label('name', trans('translate.vidcardno')) !!} {!! Form::text('vidcardno', $vidcardno, ['class' => 'form-control userinput','placeholder' => 'Enter Voter Card Number']) !!} @if ($errors->has('vidcardno')) {{ $errors->first('vidcardno') }} @endif
{!! Form::label('name', trans('translate.email')) !!} {!! Form::text('email', $email, ['class' => 'form-control userinput','placeholder' => 'Enter E-mail']) !!} @if ($errors->has('email')) {{ $errors->first('email') }} @endif
{!! Form::label('name', trans('translate.marrigedate')) !!} {!! Form::date('marrigedate', $marrigedate, ['class' => 'form-control userinput','placeholder' => 'Enter Marriage Date']) !!} @if ($errors->has('marrigedate')) {{ $errors->first('marrigedate') }} @endif
facebook Image {!! Form::text('facebookid', $facebookid, ['class' => 'form-control userinput','placeholder' => 'Enter Facebook']) !!} @if ($errors->has('facebookid')) {{ $errors->first('facebookid') }} @endif
whatsapp Image {!! Form::text('whatsappno', $whatsappno, ['class' => 'form-control userinput','placeholder' => 'Enter Whatsapp']) !!} @if ($errors->has('whatsappno')) {{ $errors->first('whatsappno') }} @endif

@if ($errors->has('filename')) {{ $errors->first('filename') }} @endif

@if($filename) @endif

@if($image) @else @endif
@elseif(Request::segment(1)==='view-members')
{!! Form::hidden('id',$id, ['class' => 'form-control']) !!}
{!! Form::label('name', trans('translate.member_type')) !!} @if ($errors->has('member_type')) {{ $errors->first('member_type') }} @endif
{!! Form::label('name', trans('translate.Vidhansabha_Mondal_title')) !!} {!! Form::select('vidhanshabha_id', $vidhanshabhaData, $vidhanshabha_id, ['id'=>'vidhanshabha_id','class'=>'form-control userinput','placeholder' =>'--Select vidhanshabha--','disabled'=>'disabled']) !!} @if ($errors->has('vidhanshabha_id')) {{ $errors->first('vidhanshabha_id') }} @endif
{!! Form::label('name', trans('translate.manage_area_title')) !!} {!! Form::select('area_id', $areaData, $area_id, ['id'=>'area_id','class'=>'form-control vard-box userinput','placeholder' =>'--Select Area--','disabled'=>'disabled']) !!} @if ($errors->has('area_id')) {{ $errors->first('area_id') }} @endif
{!! Form::label('name', trans('translate.manage_sub_area_title')) !!} {!! Form::select('sub_area_id', $subareaData, $sub_area_id, ['class'=>'form-control village-box userinput','placeholder' =>'--Select Sub Area--','disabled'=>'disabled']) !!} @if ($errors->has('sub_area_id')) {{ $errors->first('sub_area_id') }} @endif
{!! Form::label('name', trans('translate.poolingboothno')) !!} {!! Form::text('poolingboothno', $poolingboothno, ['class' => 'form-control userinput','placeholder' => 'Enter Pooling Booth Number','readonly'=>'true']) !!} @if ($errors->has('poolingboothno')) {{ $errors->first('poolingboothno') }} @endif
{!! Form::label('name', trans('translate.poolingbootharea')) !!} {!! Form::text('poolingbootharea', $poolingbootharea, ['class' => 'form-control userinput','placeholder' => 'Enter Pooling Booth Area','readonly'=>'true']) !!} @if ($errors->has('poolingbootharea')) {{ $errors->first('poolingbootharea') }} @endif
{!! Form::label('name', trans('translate.mrandmrs')) !!} {!! Form::text('mrandmrs', $mrandmrs, ['class' => 'form-control userinput','placeholder' => 'Enter Mr/Mrs.','readonly'=>'true']) !!} @if ($errors->has('mrandmrs')) {{ $errors->first('mrandmrs') }} @endif
{!! Form::label('name', trans('translate.husbandandwife')) !!} {!! Form::text('husbandandwife', $husbandandwife, ['class' => 'form-control userinput','placeholder' => 'Enter Husband/wife','readonly'=>'true']) !!} @if ($errors->has('husbandandwife')) {{ $errors->first('husbandandwife') }} @endif
{!! Form::label('name', trans('translate.address')) !!} {!! Form::textarea('address', $address, ['class' => 'form-control userinput','placeholder' => 'Enter Address','rows' => 1, 'cols' => 10,'readonly'=>'true']) !!} @if ($errors->has('address')) {{ $errors->first('address') }} @endif
{!! Form::label('name', trans('translate.post')) !!} {!! Form::text('post', $post, ['class' => 'form-control userinput','placeholder' => 'Enter Post','readonly'=>'true']) !!} @if ($errors->has('post')) {{ $errors->first('post') }} @endif
{!! Form::label('name', trans('translate.dob')) !!} {!! Form::date('dob', $dob, ['class' => 'form-control userinput','placeholder' => 'Enter Date Of Birth','readonly'=>'true']) !!} @if ($errors->has('dob')) {{ $errors->first('dob') }} @endif
{!! Form::label('name', trans('translate.bloodgroup')) !!} {!! Form::select('bloodgroup', ['A+' => 'A+', 'B+' => 'B+','O+' => 'O+', 'AB+' => 'AB+','A-' => 'A-', 'B-' => 'B-','O-' => 'O-', 'AB-' => 'AB-'], $bloodgroup, ['class'=>'form-control userinput','placeholder' =>'--Select Blood Group--','disabled'=>'disabled']) !!} @if ($errors->has('bloodgroup')) {{ $errors->first('bloodgroup') }} @endif
{!! Form::label('name', trans('translate.mobileno')) !!} {!! Form::text('mobileno', $mobileno, ['class' => 'form-control userinput','placeholder' => 'Enter Mobile Number','readonly'=>'true']) !!} @if ($errors->has('mobileno')) {{ $errors->first('mobileno') }} @endif
{!! Form::label('name', trans('translate.vidcardno')) !!} {!! Form::text('vidcardno', $vidcardno, ['class' => 'form-control userinput','placeholder' => 'Enter Voter Card Number','readonly'=>'true']) !!} @if ($errors->has('vidcardno')) {{ $errors->first('vidcardno') }} @endif
{!! Form::label('name', trans('translate.email')) !!} {!! Form::text('email', $email, ['class' => 'form-control userinput','placeholder' => 'Enter E-mail','readonly'=>'true']) !!} @if ($errors->has('email')) {{ $errors->first('email') }} @endif
{!! Form::label('name', trans('translate.marrigedate')) !!} {!! Form::date('marrigedate', $marrigedate, ['class' => 'form-control userinput','placeholder' => 'Enter Marriage Date','readonly'=>'true']) !!} @if ($errors->has('marrigedate')) {{ $errors->first('marrigedate') }} @endif
facebook Image {!! Form::text('facebookid', $facebookid, ['class' => 'form-control userinput','placeholder' => 'Enter Facebook','readonly'=>'true']) !!} @if ($errors->has('facebookid')) {{ $errors->first('facebookid') }} @endif
whatsapp Image {!! Form::text('whatsappno', $whatsappno, ['class' => 'form-control userinput','placeholder' => 'Enter Whatsapp','readonly'=>'true']) !!} @if ($errors->has('whatsappno')) {{ $errors->first('whatsappno') }} @endif
{!! Form::label('name', trans('translate.filename')) !!} @if($image) @else @endif
@if($image) @else @endif
@else
{{__('translate.members')}}
@include('admin.includes.message') {{ Form::open(array('route' => 'upload-member', 'class'=> 'form-horizontal', 'enctype'=>'multipart/form-data','autocomplete'=>'off')) }} @csrf
{!! Form::label('name', trans('translate.member_type')) !!}
{!! Form::label('name', trans('translate.Vidhansabha_Mondal_title')) !!} {!! Form::select('vidhanshabha_search', $vidhanshabhaData, '', ['id'=>'vidhanshabha_search','class'=>'form-control','placeholder' =>'--Select vidhanshabha--','required'=>'required']) !!} @if ($errors->has('vidhanshabha_search')) {{ $errors->first('vidhanshabha_search') }} @endif
{!! Form::label('name', trans('translate.manage_area_title')) !!} {!! Form::select('area_search', [],'', ['id'=>'area_search','class'=>'form-control vard-search','placeholder' =>'--Select Area--',]) !!} @if ($errors->has('area_search')) {{ $errors->first('area_search') }} @endif
{!! Form::label('name', trans('translate.manage_sub_area_title')) !!} {!! Form::select('sub_area_search', [],'', array('id'=>'sub_area_search','class'=>'form-control village-search','placeholder' =>'--Select Sub Area--')) !!} @if ($errors->has('sub_area_search')) {{ $errors->first('sub_area_search') }} @endif
{!! Form::label('name', trans('translate.today_birthday')) !!}
{!! Form::submit('Upload Csv', array('class'=>'btn btn-primary btn-fixed')) !!}
{!! Form::button('Download Csv', array('class'=>'btn btn-primary btn-fixed download-member')) !!}
{{ Form::close() }} {{ Form::open(array('route' => 'save-message', 'class'=> 'form-horizontal', 'autocomplete'=>'off')) }} @csrf
# {{__('translate.member_type')}} {{__('translate.members_name')}} {{__('translate.members_mobile')}} {{__('translate.Vidhansabha_Mondal_title')}} {{__('translate.manage_area_title')}} {{__('translate.manage_sub_area_title')}} {{__('translate.dob')}} {{__('translate.action')}}
{!! Form::label('name', trans('translate.member_send_message')) !!} {!! Form::textarea('message', '', ['class' => 'form-control','placeholder' => 'Enter Message','rows' => 3, 'cols' => 10,]) !!} @if ($errors->has('message')) {{ $errors->first('message') }} @endif
{{ Form::close() }}
@endif @endsection @section('after-scripts') @endsection