{{ Form::text('vendor_invoice_id', !empty($podata->vendor_invoice_id) ? $podata->vendor_invoice_id : '', ["class"=>"form-control col-md-8","placeholder"=>__('lbl.Invoice_optional'),"id"=>"vendor_invoice_id","name"=>"vendor_invoice_id"]) }}
{!! Form::file('attachment') !!}
{{ __('lbl.purchase_order') }} #{{$podata->id}} {{ __('lbl.created_date') }}: {{ \Carbon\Carbon::parse($podata->created_at)->format('M d, Y') }}
{{ $vendor['vendor_name'] }}({{$vendor['id']}})
{{ !empty($vendor['address_line_1']) ? $vendor['address_line_1']."," : 'NA,' }} {{ !empty($vendor['address_line_2']) ? $vendor['address_line_2'] : 'NA' }}
{{ !empty($vendor['city']) ? $vendor['city']."," : 'NA,' }} {{ !empty($vendor['country']) ? $vendor['country']."," : 'NA,' }} {{ !empty($vendor['zip']) ? $vendor['zip']."," : 'NA,' }}
{{ __('lbl.contact_name') }} : {{ $vendor['contact_name'] }}
{{ __('lbl.phone') }} : {{ !empty($vendor['main_number']) ? $vendor['main_number'] : 'NA' }} {{ __('lbl.fax') }} : {{ !empty($vendor['fax']) ? $vendor['fax'] : 'NA' }}
{{ __('lbl.email') }} : {{ !empty($vendor['vendor_email']) ? $vendor['vendor_email'] : 'NA' }}
{{ __('lbl.account_number') }} : {{ !empty($vendor['account_number']) ? $vendor['account_number'] : 'NA' }}
{{ !empty($vendor['address_line_1']) ? $vendor['address_line_1']."," : 'NA,' }} {{ !empty($vendor['address_line_2']) ? $vendor['address_line_2'] : 'NA' }}
{{ !empty($vendor['city']) ? $vendor['city']."," : 'NA,' }} {{ !empty($vendor['country']) ? $vendor['country']."," : 'NA,' }} {{ !empty($vendor['zip']) ? $vendor['zip']."," : 'NA,' }}
{{ __('lbl.contact_name') }} : {{ $vendor['contact_name'] }}
{{ __('lbl.phone') }} : {{ !empty($vendor['main_number']) ? $vendor['main_number'] : 'NA' }} {{ __('lbl.fax') }} : {{ !empty($vendor['fax']) ? $vendor['fax'] : 'NA' }}
{{ __('lbl.email') }} : {{ !empty($vendor['vendor_email']) ? $vendor['vendor_email'] : 'NA' }}
{{ __('lbl.account_number') }} : {{ !empty($vendor['account_number']) ? $vendor['account_number'] : 'NA' }}
{{ Form::label('shipping_company_name',__('lbl.company_name'), ['class' => 'col-sm-4 control-label']) }}
{{ Form::text('shipping_company_name', $podata->shipping_company_name, ["class"=>"form-control","placeholder"=>__('lbl.company_name'),"id"=>"shipping_company_name","name"=>"shipping_company_name"]) }}
{{ Form::label('shipping_contact_name',__('lbl.contact_name'), ['class' => 'col-sm-4 control-label']) }}
{{ Form::text('shipping_contact_name', $podata->shipping_contact_name, ["class"=>"form-control","placeholder"=>__('lbl.contact_name'),"id"=>"shipping_contact_name","name"=>"shipping_contact_name"]) }}
{{ Form::label('shipping_email',__('lbl.email'), ['class' => 'col-sm-4 control-label']) }}
{{ Form::text('shipping_email', $podata->shipping_email, ["class"=>"form-control","placeholder"=>__('lbl.email'),"id"=>"shipping_email","name"=>"shipping_email"]) }}
{{ Form::label('shipping_phone',__('lbl.phone'), ['class' => 'col-sm-4 control-label']) }}
{{ Form::text('shipping_phone', $podata->shipping_phone, ["class"=>"form-control","placeholder"=>__('lbl.phone'),"id"=>"shipping_phone","name"=>"shipping_phone"]) }}
{{ Form::label('shipping_address_line_1',__('lbl.address_1'), ['class' => 'col-sm-4 control-label']) }}
{{ Form::text('shipping_address_line_1', $podata->shipping_address_line_1, ["class"=>"form-control","placeholder"=>__('lbl.address_1'),"id"=>"shipping_address_line_1","name"=>"shipping_address_line_1"]) }}
{{ Form::label('shipping_address_line_2',__('lbl.address_2'), ['class' => 'col-sm-4 control-label']) }}
{{ Form::text('shipping_address_line_2', $podata->shipping_address_line_2, ["class"=>"form-control","placeholder"=>__('lbl.address_2'),"id"=>"shipping_address_line_2","name"=>"shipping_address_line_2"]) }}
{{ Form::label('shipping_city',__('lbl.city'), ['class' => 'col-sm-4 control-label']) }}
{{ Form::text('shipping_city', $podata->shipping_city, ["class"=>"form-control","placeholder"=>__('lbl.city'),"id"=>"shipping_city","name"=>"shipping_city"]) }}
{{ Form::label('shipping_country',__('lbl.country'), ['class' => 'col-sm-4 control-label']) }}
{{ Form::text('shipping_country', $podata->shipping_country, ["class"=>"form-control","placeholder"=>__('lbl.country'),"id"=>"shipping_country","name"=>"shipping_country"]) }}
{{ Form::label('shipping_state',__('lbl.state'), ['class' => 'col-sm-4 control-label']) }}
{{ Form::text('shipping_state', $podata->shipping_state, ["class"=>"form-control","placeholder"=>__('lbl.state'),"id"=>"shipping_state","name"=>"shipping_state"]) }}
{{ Form::label('shipping_zip',__('lbl.zip'), ['class' => 'col-sm-4 control-label']) }}
{{ Form::text('shipping_zip', $podata->shipping_zip, ["class"=>"form-control","placeholder"=>__('lbl.state'),"id"=>"shipping_zip","name"=>"shipping_zip"]) }}