@extends('layouts.master') @section('title', 'PetroERP- An ERP for Petrol Pumps') @section('content') Purchase Plan Purchase Plan Edit Plan Update Plan Active List Deactive List Edit Plan {!! Form::open(['action' => ['PurchasePlanController@update', $planEdit->id], 'method' => 'POST', 'class' => 'form-horizontal space-top','data-parsley-validate']) !!} {{Form::label('name', 'Plan Name', ['class'=>'required col-md-2'])}} {{Form::text('name', $planEdit->name, ['class'=>'form-control', 'placeholder'=>'Name','required'])}} {{Form::label('pType', 'Type', ['class'=>'required col-md-2'])}} {{Form::select('pType', $pType,$planEdit->typeId, ['class'=>'form-control', 'placeholder'=>'Select Type','required'])}} {{Form::label('quantity', 'Quantity', ['class'=>'required col-md-2'])}} {{Form::text('quantity', $planEdit->quantity, ['class'=>'form-control', 'placeholder'=>'Quantity','required','data-parsley-type'=>'number'])}} {{Form::label('amount', 'Amount', ['class'=>'required col-md-2'])}} {{Form::text('amount', $planEdit->amount, ['class'=>'form-control', 'placeholder'=>'Amount','required','data-parsley-type'=>'number'])}} {{Form::hidden('_method', 'PUT')}} {{Form::submit('Update', ['class'=>'btn btn-primary'])}} {{Form::reset('Reset', ['class'=>'btn btn-danger'])}} {!! Form::close() !!} @endsection