@extends('layouts.page')
@section('title')
Vendors
@if($general_vendor)
{{ $general_vendor->full_name }}
@else
Vendor Attachments
@endif
Create Document
@endsection
@section('navs')
@endsection
@section('content')
@section('content')
@include('common.image_viewer')
{!! Form::open(['url' => route('general_vendor_document.save', [$general_vendor->id, $general_vendor_document->id]), 'files' => true]) !!}
@csrf
{!! EasyForm::setErrors($errors) !!}
{!! EasyForm::setColSizes(2, 10) !!}
{!! EasyForm::input('document_name', 'Documant Name', old('document_name', $general_vendor_document->document_name))!!}
{!! EasyForm::file('attachment', 'Attachment', old('attachment', $general_vendor_document->attachment))!!}
{!! EasyForm::submit('Submit') !!}
{!! Form::close() !!}
@endsection