@if(session('msg_success'))
@endif
@if(session('msg_update'))
@endif
@if(session('msg_delete'))
@endif
{{ Form::open(['url' =>'saveplan', 'class'=>'form-horizontal']) }}
{{ Form::close() }}
{{ Form::label('p_code', 'Select Parent', array('class' =>'control-label col-sm-4 col-md-4 col-lg-4')) }}
{{ Form::label('plan_name', 'Plan/Package Name', array('class' =>'control-label col-sm-4 col-md-4 col-lg-4')) }}
{{ Form::text('plan_name', '', array('class' =>'form-control ')) }}
{{ Form::label('duration', 'Duration', array('class' =>'control-label col-sm-4 col-md-4 col-lg-4')) }}
{{ Form::number('duration', '', array('class' =>'form-control ','placeholder'=>'Define Month')) }}
{{ Form::label('amount', 'Amount', array('class' =>'control-label col-sm-4 col-md-4 col-lg-4')) }}
{{ Form::text('amount', '', array('class' =>'form-control ')) }}
{{ Form::label('status', 'Select Status', array('class' =>'control-label col-sm-4 col-md-4 col-lg-4')) }}
{{ Form::label('remarks', 'Remarks', array('class' =>'control-label col-sm-4 col-md-4 col-lg-4')) }}
{{ Form::textarea ('remarks', '', array('class' =>'form-control ')) }}
{{ Form::submit('Save', array('class' => 'btn btn-primary btn-block')) }}
@if(!empty($plandata))
@else
SL | Plan Name | Duration | Amount | Remarks | Status | Entry Date | @foreach($plandata as $value)
---|---|---|---|---|---|---|
{{ $i++}} | {{ $value->plan_name}} | {{ $value->duration}} | {{ $value->amount}} | {{ $value->remarks}} | @if($value->status==1) Active @else Inactive @endif | {{ $value->entry_date}} |
Sorry! There has no plan or package
@endif