@extends('layouts/microfin_layout') @section('title', '| Add Savings Account') @section('content') @php use \App\Http\Controllers\microfin\savings\MfnSavingsDepositTypeController as createForm; $userBranchId = Auth::user()->branchId; @endphp
New Opening Savings Account
{!! Form::open(array('url' => '', 'role' => 'forl', 'id' => 'rootwizard', 'class' => 'form-horizontal form-groups', 'novalidate' => '')) !!}
{!! Form::hidden('isOpeningData',1,['id'=>'isOpeningData']) !!} {!! Form::hidden('memberId',null,['id'=>'memberId']) !!} {!! Form::hidden('branchId',null,['id'=>'branchId']) !!} {!! Form::hidden('samityId',null,['id'=>'samityId']) !!} {!! Form::hidden('workingAreaId',null,['id'=>'workingAreaId']) !!}
@if(!in_array($userRoleId, Config('services.branch_level_user_roles'))) {!! createForm::select('branch', $branchList,null,'Branch:',['id'=>'branch']) !!} @endif {!! createForm::select('samity', $samityList,null,'Samity:',['id'=>'samity']) !!} {!! createForm::text('member','','Member:',['id'=>'member','autocomplete'=>'off']) !!} {!! createForm::text('openingDate','','Opening Date:',['id'=>'openingDate','readonly'=>'readonly','style'=>'cursor:pointer']) !!}
{!! Form::label('product', 'Product:', ['class' => 'col-sm-4 control-label']) !!}
{{-- Fixed Date/Day for Daily Samity Case of Weekly/Monthly Product(Start) --}}
{!! Form::label('installmentDate', 'Installment Date:', ['class' => 'col-sm-4 control-label']) !!}
{!! Form::label('installmentDay', 'Installment Day:', ['class' => 'col-sm-4 control-label']) !!}
{{-- Fixed Date/Day for Daily Samity Case of Weekly/Monthly Product(End) --}}
{!! Form::label('interest_withdraw_frequency', 'Interest Withdraw Frequency:', ['class' => 'col-sm-4 control-label']) !!}
{!! createForm::text('depositType','','Deposit Type:',['id'=>'depositType','readonly'=>'readonly']) !!} {!! createForm::text('savingCode','','Saving Code:',['id'=>'savingCode','readonly'=>'readonly']) !!} {!! createForm::text('previousSavingCode','','Previous Savings Code:',['id'=>'previousSavingCode']) !!} {!! createForm::text('savingCycle','','Saving Cycle:',['id'=>'savingCycle','readonly'=>'readonly']) !!}
{!! Form::label('deposit_amount', 'Deposit Amount:', ['class' => 'col-sm-4 control-label']) !!}
{!! createForm::text('autoProcessAmount','','Auto Process Amount:',['id'=>'autoProcessAmount']) !!}
{!! createForm::select('period',[''=>'Select'],null,'Period:',['id'=>'period']) !!} {!! createForm::select('ddeposit_amount',[''=>'Select'],null,'Fixed Deposit Amount:',['id'=>'ddeposit_amount']) !!} {!! createForm::text('interestRate','','Interest Rate:',['id'=>'interestRate','readonly'=>'readonly']) !!}
{!! createForm::text('matureDate',null,'Mature Date:',['id'=>'matureDate','readonly'=>'readonly','style'=>'cursor:pointer']) !!} {!! createForm::text('payableAmount',null,'Payable Amount:',['id'=>'payableAmount','readonly' => 'readonly']) !!}
Nominee Information
Name Relation Share (%)
    {!! Form::submit('Submit', ['id' => 'submit', 'class' => 'btn btn-info']) !!} {!! Form::submit('Submit & Continue', ['id' => 'submitAndContinue', 'class' => 'btn btn-info']) !!}
{{-- End First Column --}} {{-- Second Coloum --}}
{{-- End Second Coloum --}}
{!! 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