@extends('layouts.default', ['appTopMenu' => true]) @php use App\Models\inventory\Budget_model; @endphp @section('title','Dashboard') @push('scripts') @endpush @section('content')
@if (session('status'))
{!! session('status') !!}
@elseif(session('failed'))
{{ session('failed') }}
@endif @if(\Session::has('success'))
{{\Session::get('success')}}
@endif {{ Form::open(array('name'=>'PurposeForm', 'url' => 'budget/save_purpose', 'class'=>'form-horizontal' ,'method' => 'POST')) }} @if( !empty($purpose_details->pid)) @endif
Add Purpose Form
{{ $errors->first('purpose_name') }}
{{ Form::close() }}
Purpose Details
@foreach ($results as $data) @endforeach
# Purpose Name Status
{{ $loop->iteration }} {{ $data->pname }}
{{ Form::close() }}
@endsection