@extends('layouts.default') @section('title', trans('general.title.new', ['type' => trans_choice('general.vendors', 1)])) @section('new_button') view_list{{ trans_choice('general.vendors', 1) . ' List' }} @endsection @section('content') {{-- --}}
{!! Form::open(['url' => 'expenses/vendors', 'files' => true, 'role' => 'form']) !!}
{{ Form::textGroup('name', trans('general.name'), null, ['required'=>'required']) }}
{{ Form::textGroup('company', 'Vendor Company Name', null) }}
{{ Form::textGroup('vendor_email', trans('general.email'), null, ['required'=>'required']) }}
{{ Form::textGroup('cc_email', trans('general.ccemail'), null) }}
{{ Form::textGroup('phone', trans('general.phone'), null) }}
{{ Form::textGroup('mobile', trans('general.mobile'), null) }}
{{ Form::textGroup('website', trans('general.website'), null) }}
{{ Form::hidden('currency_code', setting('general.default_currency'), ['id' => 'currency_code']) }}
{{ trans_choice('general.net_term', 1) }} {!! Form::select('net_term', $terms, setting('general.default_netterm'), array_merge(['class' => 'selectpicker','id'=>'net_term','data-live-search'=>'true','placeholder' => trans('general.form.select.field', ['field' => trans_choice('general.net_term', 1)])])) !!} {!! $errors->first('net_term', '

:message

') !!}
{{ Form::textareaGroup('address', trans('general.billingaddress'), null, ['rows' => '3'])}}
{{ Form::textareaGroup('shipping_address', 'Shipping Address', null, ['rows' => '3', 'id'=> 'shipping_address'])}}
{{ Form::radioGroup('enabled', trans('general.enabled')) }}
{!! Form::close() !!}
@endsection @push('scripts') @endpush