@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'=>'vendorForm', 'url' => 'inventory/save_vendor', 'class'=>'form-horizontal' ,'method' => 'POST')) }} @if( !empty($vendor_details->vid)) @endif
Add Vendor Form
{{ $errors->first('vendor_name') }}
{{ $errors->first('vendor_cont_person') }}
{{ $errors->first('vendor_mobile') }}
{{ $errors->first('vendor_address') }}
{{ $errors->first('vendor_email') }}
{{ Form::close() }}
Vendor Details
@foreach ($results as $data) @endforeach
# Vendor Name Contact Person Mobile No. Email ID Address Action
{{ $loop->iteration }} {{ $data->name }} {{ $data->cont_person }} {{ $data->contact }} {{ $data->email }} {{ $data->address }}
{{ Form::close() }}
@endsection