{!! Form::open(['role' => 'form', 'class' => 'form-horizontal form-groups', 'id' => 'memberInfoUpdateForm']) !!}
@if($samityRequest == '') @endif @if($samityRequest == '') @endif @php $slNo = 0; $currentSamityId = isset($samitys[0]) ? $samitys[0]->id : null; @endphp @foreach ($samitys as $samity) @php $currentSamity = $memberInfos->where('samityId', $samity->id); @endphp @foreach ($currentSamity as $memberInfo) @php $samityRowSpan = $memberInfos->where('samityId',$memberInfo->samityId)->count(); if ($memberInfo->samityId != $currentSamityId) { $currentSamityId = $memberInfo->samityId; $isSamityChanged = 1; } else{ $isSamityChanged = 0; } $branch = $branch = DB::table('gnr_branch')->where('id', $samity->branchId)->select('branchCode', 'name')->first(); @endphp @if( $samityRequest == 0 ) @if ($slNo==1 || $isSamityChanged==1) @endif @endif @endforeach @if( $samityRequest == '' ) @endif @endforeach
SL#SamityMember
Code NameBranch Code Name Admission Date Mobile Nunmber
{{++$slNo}}{{substr($samity->code,4)}} {{$samity->name}} {{(str_pad($branch->branchCode,3,0,STR_PAD_LEFT))}} - {{$branch->name}} {{$memberInfo->memberCode}} {{$memberInfo->memberName}} {{ date( 'd-m-Y', strtotime($memberInfo->admissionDate) ) }} {!! Form::text('mobileNumber[]', $value = $memberInfo->mobileNo, ['class' => 'form-control text-right mobileNumber', 'id' => 'mobileNumber', 'type' => 'text', 'autocomplete' => 'off']) !!}
{!! Form::label('submit', ' ', ['class' => 'col-sm-5 control-label']) !!}
{!! Form::submit('Save', ['id' => 'dueMemberNoteficationSubmit', 'class' => 'btn btn-success']) !!} Close
{!! Form::close() !!}