@extends('layouts.default', ['appTopMenu' => true]) @php use App\Models\inventory\Purchase_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'=>'linkBudgetForm', 'url' => 'budget/link', 'class'=>'form-horizontal' ,'method' => 'POST')) }}
Link Purchase Budget Form
{!! Form::Label('Purchase Order', 'Purchase Order Year') !!} {{ $errors->first('purchase_order_year') }}
{!! Form::Label('Purchase Order-No', 'Purchase Order') !!} {{ $errors->first('purchase_order') }}
{!! Form::Label('Select-Budget', 'Select Budget') !!} {{ $errors->first('budget') }}
CANCEL
{{ Form::close() }}
Link Purchase Budget Details
@foreach ($results as $data) @endforeach
# Purchase Order No Cheque /Bank Ref No Cheque /Transfer Date Amount Purpose Action
{{ $loop->iteration }} {{ $data->pur_order_no }} {{ $data->cheque_no }} {{ $data->cheque_date }} {{ $data->amount}} {{ $data->pname }}
@endsection