@section('page_name') Create new customer @stop @section('breadcrumbs') Customers Create Customer @stop @section('stylesheets') @stop @section('scripts') @stop @section('content') {{ Form::open(array('action' => 'customers.store', 'method' => 'POST', 'onsubmit' => 'return validateForm()')) }}
Step 1/4: Contact details
Customer name {{ Form::text('companyName') }}
Tax / Personal ID {{ Form::text('cifnif') }}
Contact title {{ Form::text('contactTitle', null, array('placeholder' => 'Mr, Mrs, Dr, Miss...')) }}
Contact name {{ Form::text('contactName') }}
Shop name {{ Form::text('shopName') }}
Phone {{ Form::text('phone') }}
Mobile {{ Form::text('mobile') }}
Fax {{ Form::text('fax') }}
Email address {{ Form::text('email') }}
Website {{ Form::text('website') }}


Step 2/4: General information
How did the client hear about you? {{ Form::select('advertisingType', AdType::lists('type', 'id'), null, ['style' => 'width: 222px;']) }}

It is important that you ask and add this information, so that you can track your response rate from each advertising source.


Designated Employee {{ Form::select('managedBy', User::where('disabled', '=', 0)->get()->lists('firstname', 'id'), Auth::id(), ['style' => 'width: 296px;']) }}

Which employee represents this customer?




Visit fee {{ Form::text('assignedVisitFee', '0', array('class' => 'euro', 'style' => 'width: 100px;')) }}

If you need to deliver or visit the client, you can specify a fixed fee so that you can add this fee easily to your quotes.


What type of customer is this? {{ Form::select('type', CustomerType::lists('type', 'id'), null, ['style' => 'width: 250px;']) }}

What sector is this customer? {{ Form::select('sector', Sector::lists('type', 'id'), null, ['style' => 'width: 250px;']) }}

What is the currency for this customer? {{ Form::select('currency', Currency::lists('name', 'id'), null, ['style' => 'width: 200px;']) }}

What are the payment terms for this customer? {{ Form::select('paymentTerms', PaymentTerm::lists('type', 'id'), null, ['style' => 'width: 154px;']) }}



How would you rate this client? {{ Form::select('credit', CustomerCreditRating::lists('type', 'id'), null, ['style' => 'width: 243px;']) }}

This rating is only for your personal use, so that when quoting client or accepting payments you can sweiftly request payment.


Newsletter {{ Form::select('newsletter', array(1 => 'Yes', 0 => 'No')) }}

Under the Anti Spamming protection act, they must accept and acknowledge their wish to receive promotional material from you.


Customer Code {{ Form::text('customerCode', null, ['class' => 'w200']) }}

Do you want to add any specific reference number for this client?


Step 3/4: Address
Address {{ Form::textarea('address') }}
City {{ Form::text('city') }}
Region {{ Form::text('region') }}
Postal code {{ Form::text('postalCode') }}
Country {{ Form::text('country') }}
Visual directions {{ Form::textarea('visualDirections') }}


Step 4/4: Bank details (For Direct Debiting)
Account holder {{ Form::text('accountHolder') }}
Bank name {{ Form::text('bankName') }}
Swiftcode {{ Form::text('swiftcode') }}
IBAN {{ Form::text('iban') }}
SEPA Mandate ID {{ Form::text('sepa_mandateId') }}
SEPA Mandate Date {{ Form::text('sepa_mandateDate', null, array('class' => 'date basinput')) }}

{{ Form::button(' Create customer', array('class' => 'btn btn-green fr', 'type' => 'submit'))}}
{{ Form::close() }} @stop