Notice: Undefined variable: control in /home/demohatinco/public_html/medical2_backend/resources/views/admin/reports/student_plan/create.blade.php on line 2
@extends('layouts.default_edit') @section('heading') {!! $heading !!} @endsection @section('leftsideform') @if($control == 'edit') {!! Form::open(['id'=>'my_form','method' => 'POST', 'route' => ['student_plan.update' ], 'files'=>true]) !!} @else {!! Form::open(['id'=>'my_form','method' => 'POST', 'route' => ['student_plan.save' ], 'files'=>true]) !!} @endif @include('admin.reports.student_plan.partial.form') {!!Form::close()!!}
{!! Form::open(['method' => 'get', 'route' => ['student_plan.index']]) !!} {!! Form::close() !!}
@endsection {!!Form::close()!!}