@extends('layouts/microfin_layout') @section('title', '| Add withdraw') @section('content') @php use \App\Http\Controllers\microfin\savings\MfnSavingsDepositTypeController as createForm; $userBranchId = Auth::user()->branchId; @endphp
New Share Withdraw
{!! Form::open(array('url' => '', 'role' => 'forl', 'id' => 'rootwizard', 'class' => 'form-horizontal form-groups')) !!}
{!! Form::hidden('memberId',isset($getshareWithdraw->member_id)?$getshareWithdraw->member_id : '',['id'=>'memberId']) !!} {!! Form::hidden('branchId',$getshareWithdraw->branch_id ?? '',['id'=>'branchId']) !!} {!! Form::hidden('samityId',$getshareWithdraw->samity_id ?? '',['id'=>'samityId']) !!} {!! Form::hidden('workingAreaId',null,['id'=>'workingAreaId']) !!}
@if(!in_array($userRoleId, Config('services.branch_level_user_roles'))) {!! createForm::select('branch', $branchList,$getshareWithdraw->branch_id ?? '','Branch:',['id'=>'branch']) !!} @endif {!! createForm::select('samity',$samityList,$getshareWithdraw->samity_id ?? ' ' ,'Samity:',['id'=>'samity']) !!} {{-- {!! createForm::text('member','','Member:',['id'=>'member','autocomplete'=>'off']) !!} --}}

{{-- --}}

    {!! Form::submit('Submit', ['id' => 'submit', 'class' => 'btn btn-info']) !!}
{!! Form::close() !!}
@php $members = DB::table('mfn_member_information')->where('softDel',0)->where('status',1)->where('branchId',$userBranchId)->where('admissionDate','<=',$softwareDate)->select('id','name','code','branchId','samityId')->get(); $branches = DB::table('gnr_branch')->select('id','name')->get(); $samities = DB::table('mfn_samity')->select('id','name','workingAreaId')->get(); $workingAreas = DB::table('gnr_working_area')->select('id','name')->get(); @endphp @endsection