@extends('public.header') @section('content') @include('payments.payment_css')
{!! Former::vertical_open() ->autocomplete('on') ->addClass('payment-form') ->id('payment-form') ->rules(array( 'name' => 'required', 'email' => 'required|email', 'first_name' => 'required', 'last_name' => 'required', 'vat_number' => 'required', 'address1' => 'required', 'city' => 'required', 'state' => 'required', 'postal_code' => 'required', 'country_id' => 'required', )) !!} @if ($client) {{ Former::populate($client) }} {{ Former::populateField('first_name', $contact->first_name) }} {{ Former::populateField('last_name', $contact->last_name) }} {{ Former::populateField('email', $contact->email) }} @if (!$client->country_id && $client->account->country_id) {{ Former::populateField('country_id', $client->account->country_id) }} @endif @endif