<?php $__env->startSection('title'); ?>
   Credit Application Quote
<?php $__env->stopSection(); ?>

<?php $__env->startSection('styles'); ?>
 <style>

input[type="text"], input[type="password"], input[type="date"], input[type="datetime"], input[type="datetime-local"], input[type="month"], input[type="week"], input[type="email"], input[type="number"], input[type="search"], input[type="tel"], input[type="time"], input[type="url"], input[type="color"], textarea {
    width: 220%;
}
 </style>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('content'); ?>

<?php echo $__env->make('partials.nav', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>

<h1>Credit Application – Request Quote</h1>

<hr style="margin-top: 10px;">

<?php echo Form::open(['url' => '/credit-application-quote', 'method' => 'POST', 'data-abide' => '','files' => true]); ?>



<div class="row">
     <div class="large-4 columns">
         <!-- required -->
        <?php if($errors->first('company_name')): ?>
            <label class="red">Client’s full registered name *</label>
            <?php echo Form::text('company_name', '', ['class' => 'formFieldGrey', 'style'=>"border: 2px solid rgba(255, 0, 0, 0.3)"]); ?>

        <?php else: ?>
            <label>Client’s full registered name *</label>
            <?php echo Form::text('company_name', '', ['class' => 'formFieldGrey']); ?>

        <?php endif; ?>
     </div>
     <div class="large-4 columns">
        <!-- required -->
        <?php if($errors->first('termsOfPayment')): ?>
            <label class="red">Terms of payment *</label>
            <?php echo Form::text('termsOfPayment', '', ['class' => 'formFieldGrey', 'placeholder' => '(i.e. 30 days from statement, or invoice, or delivery?)', 'style'=>"border: 2px solid rgba(255, 0, 0, 0.3)"]); ?>

        <?php else: ?>
            <label>Terms of payment *</label>
            <?php echo Form::text('termsOfPayment', '', ['class' => 'formFieldGrey','placeholder' => '(i.e. 30 days from statement, or invoice, or delivery?)']); ?>

        <?php endif; ?>
     </div>
     <div class="large-4 columns">
         <!-- required -->
        <?php if($errors->first('orders')): ?>
            <label class="red">How do you receive orders? *</label>
            <?php echo Form::text('orders', '', ['class' => 'formFieldGrey', 'style'=>"border: 2px solid rgba(255, 0, 0, 0.3)"]); ?>

        <?php else: ?>
            <label>How do you receive orders? *</label>
            <?php echo Form::text('orders', '', ['class' => 'formFieldGrey']); ?>

        <?php endif; ?>
    </div>
</div>


<div class="row">

     <div class="large-4 columns">
          <?php if($errors->first('quotations')): ?>
          <label class="red" for="quotations">Do you issue quotations?</label>
            <?php echo Form::radio('quotations', 'YES', false); ?>

              Yes
              <?php echo Form::radio('quotations', 'NO', false); ?>

              No

          <?php else: ?>
          <label for="quotations">Do you issue quotations?<br>
          <?php echo Form::radio('quotations', 'YES', false); ?>

            Yes
            <?php echo Form::radio('quotations', 'NO', false); ?>

            No
          </label>
          <?php endif; ?>
     </div>
     <div class="large-4 columns">
            <!--<label class="" for="assemble">Do you assemble/use goods (from another supplier) to make your own product?<small class="red"><?php echo $errors->first('assemble'); ?></small><br> -->
            <?php if($errors->first('assemble')): ?>
            <label class="red" for="assemble">Do you use goods to make your own product?<label>
            <?php echo Form::radio('assemble', 'YES', false); ?>

              Yes
              <?php echo Form::radio('assemble', 'NO', false); ?>

              No
             <?php else: ?>
             <label>Do you use goods to make your own product?<label>
             <?php echo Form::radio('assemble', 'YES', false); ?>

               Yes
               <?php echo Form::radio('assemble', 'NO', false); ?>

               No
             <?php endif; ?>
     </div>
     <div class="large-4 columns">
           <?php if($errors->first('goods')): ?>
           <label class="red" for="goods">Do you manufacture goods?</label>
           <?php echo Form::radio('goods', 'YES', false); ?>

             Yes
             <?php echo Form::radio('goods', 'NO', false); ?>

             No
           <?php else: ?>
           <label for="goods">Do you manufacture goods?</label>
            <?php echo Form::radio('goods', 'YES', false); ?>

            Yes
            <?php echo Form::radio('goods', 'NO', false); ?>

            No
            <?php endif; ?>
      </div>
</div>

<hr>
<div class="row">
    <div class="large-4 columns">
        <?php if($errors->first('buyFromSupplier')): ?>
        <label class="red">Do you buy your product from a Supplier?</label>
        <?php echo Form::radio('buyFromSupplier', 'YES', false); ?>

        Yes
        <?php echo Form::radio('buyFromSupplier', 'NO', false); ?>

        No
        <?php else: ?>
        <label>Do you buy your product from a Supplier?</label>
        <?php echo Form::radio('buyFromSupplier', 'YES', false); ?>

        Yes
        <?php echo Form::radio('buyFromSupplier', 'NO', false); ?>

        No
        <?php endif; ?>
    </div>
    <div class="large-4 columns">
        <?php if($errors->first('agreement')): ?>
        <label class="red">Do you have an agreement with your supplier?</label>
        <?php echo Form::radio('agreement', 'YES', false); ?>

        Yes
        <?php echo Form::radio('agreement', 'NO', false); ?>

        No
        <?php else: ?>
        <label>Do you have an agreement with your supplier?</label>
        <?php echo Form::radio('agreement', 'YES', false); ?>

        Yes
        <?php echo Form::radio('agreement', 'NO', false); ?>

        No
        <?php endif; ?>
    </div>
    <div class="large-4 columns">
        <?php if($errors->first('warrantee')): ?>
        <label class="red">Does the product carry a warrantee?</label>
        <?php echo Form::radio('warrantee', 'YES', false); ?>

        Yes
        <?php echo Form::radio('warrantee', 'NO', false); ?>

        No
        <?php else: ?>
        <label>Does the product carry a warrantee?</label>
        <?php echo Form::radio('warrantee', 'YES', false); ?>

        Yes
        <?php echo Form::radio('warrantee', 'NO', false); ?>

        No
        <?php endif; ?>
    </div>
</div>
<hr>
<div class="row">
    <div class="large-6 columns">
        <?php if($errors->first('instructions')): ?>
        <label class="red">Does the product come with instructions, labels, or a manual?</label>
        <?php echo Form::radio('instructions', 'YES', false); ?>

        Yes
        <?php echo Form::radio('instructions', 'NO', false); ?>

        No
        <?php else: ?>
        <label>Does the product come with instructions, labels, or a manual?</label>
        <?php echo Form::radio('instructions', 'YES', false); ?>

        Yes
        <?php echo Form::radio('instructions', 'NO', false); ?>

        No
        <?php endif; ?>
    </div>
    <div class="large-6 columns">
        <?php if($errors->first('interest')): ?>
        <label class="red">Do you charge interest?</label>
        <?php echo Form::radio('interest', 'YES', false); ?>

        Yes
        <?php echo Form::radio('interest', 'NO', false); ?>

        No
        <?php else: ?>
        <label>Do you charge interest?</label>
        <?php echo Form::radio('interest', 'YES', false); ?>

        Yes
        <?php echo Form::radio('interest', 'NO', false); ?>

        No
        <?php endif; ?>
    </div>
</div>

<hr>

<div class="row">
    <div class="large-6 columns">
         <!-- required -->
        <?php if($errors->first('determinePurchasePrice')): ?>
            <label class="red">How do you determine the purchase price? *</label>
            <?php echo Form::text('determinePurchasePrice', '', ['class' => 'formFieldGrey', 'style'=>"border: 2px solid rgba(255, 0, 0, 0.3)"]); ?>

        <?php else: ?>
            <label>How do you determine the purchase price? *</label>
            <?php echo Form::text('determinePurchasePrice', '', ['class' => 'formFieldGrey']); ?>

        <?php endif; ?>
    </div>
    <div class="large-6 columns">
    <!-- required -->
        <?php if($errors->first('dateInterest')): ?>
            <label class="red">From which date do you charge interest? *</label>
            <?php echo Form::text('dateInterest', '', ['class' => 'formFieldGrey', 'style'=>"border: 2px solid rgba(255, 0, 0, 0.3)"]); ?>

        <?php else: ?>
            <label>From which date do you charge interest? *</label>
            <?php echo Form::text('dateInterest', '', ['class' => 'formFieldGrey']); ?>

        <?php endif; ?>
    </div>
</div>

<div class="row">
    <div class="large-6 columns">
     <!-- required -->
        <?php if($errors->first('interestCharge')): ?>
            <label class="red">What % interest do you (or do you want to) charge? *</label>
            <?php echo Form::text('interestCharge', '', ['class' => 'formFieldGrey', 'style'=>"border: 2px solid rgba(255, 0, 0, 0.3)"]); ?>

        <?php else: ?>
            <label>What % interest do you (or do you want to) charge? *</label>
            <?php echo Form::text('interestCharge', '', ['class' => 'formFieldGrey']); ?>

        <?php endif; ?>
    </div>
    <div class="large-6 columns">
        <?php if($errors->first('suretyship')): ?>
        <label class="red">Would you like your customer to sign a suretyship when completing your credit agreement?</label>
        <?php echo Form::radio('suretyship', 'YES', false); ?>

        Yes
        <?php echo Form::radio('suretyship', 'NO', false); ?>

        No
        <?php else: ?>
        <label>Would you like your customer to sign a suretyship when completing your credit agreement?</label>
        <?php echo Form::radio('suretyship', 'YES', false); ?>

        Yes
        <?php echo Form::radio('suretyship', 'NO', false); ?>

        No
        <?php endif; ?>
    </div>
</div>
<hr>
<div class="row">
    <div class="large-4 columns">
        <?php if($errors->first('returnPolicy')): ?>
        <label class="red">Do you have a return policy? </label>
        <?php echo Form::radio('returnPolicy', 'YES', false); ?>

        Yes
        <?php echo Form::radio('returnPolicy', 'NO', false); ?>

        No
        <?php else: ?>
        <label>Do you have a return policy? </label>
        <?php echo Form::radio('returnPolicy', 'YES', false); ?>

        Yes
        <?php echo Form::radio('returnPolicy', 'NO', false); ?>

        No
        <?php endif; ?>
    </div>
    <div class="large-4 columns">
        <label>If you have a return policy, What is it?</label>
        <?php echo Form::text('returnPolicyDescription'); ?>

    </div>
     <div class="large-4 columns">
        <label>Company’s current credit application</label>
        <?php echo Form::file('creditApplication'); ?>

    </div>
</div>
<hr>
<div class="row">
    <div class="large-6 columns">
        <?php if($errors->first('testCertificate')): ?>
        <label class="red">Does your product come with a test certificate?</label>
        <?php echo Form::radio('testCertificate', 'YES', false); ?>

        Yes
        <?php echo Form::radio('testCertificate', 'NO', false); ?>

        No
        <?php else: ?>
        <label>Does your product come with a test certificate?</label>
        <?php echo Form::radio('testCertificate', 'YES', false); ?>

        Yes
        <?php echo Form::radio('testCertificate', 'NO', false); ?>

        No
        <?php endif; ?>
    </div>
    <div class="large-6 columns">
        <?php if($errors->first('dangerous')): ?>
        <label class="red">Is your product dangerous?</label>
        <?php echo Form::radio('dangerous', 'YES', false); ?>

        Yes
        <?php echo Form::radio('dangerous', 'NO', false); ?>

        No
        <?php else: ?>
        <label>Is your product dangerous?</label>
        <?php echo Form::radio('dangerous', 'YES', false); ?>

        Yes
        <?php echo Form::radio('dangerous', 'NO', false); ?>

        No
        <?php endif; ?>
    </div>
</div>

<hr>

<div class="row">
    <div class="large-12 columns">
        <!-- required -->
        <?php if($errors->first('termsInvoice')): ?>
            <label class="red">What are the terms printed on your invoice? *</label>
            <?php echo Form::textarea('termsInvoice', '', ['class' => 'formFieldGrey', 'style'=>"border: 2px solid rgba(255, 0, 0, 0.3)"]); ?>

        <?php else: ?>
            <label>What are the terms printed on your invoice? *</label>
            <?php echo Form::textarea('termsInvoice', '', ['class' => 'formFieldGrey']); ?>

        <?php endif; ?>
    </div>
</div>

<div class="row">
    <div class="large-12 columns">
        <!-- required -->
        <?php if($errors->first('termsDeliveryNote')): ?>
            <label class="red">What are the terms printed on your delivery note? *</label>
            <?php echo Form::textarea('termsDeliveryNote', '', ['class' => 'formFieldGrey', 'style'=>"border: 2px solid rgba(255, 0, 0, 0.3)"]); ?>

        <?php else: ?>
            <label>What are the terms printed on your delivery note? *</label>
            <?php echo Form::textarea('termsDeliveryNote', '', ['class' => 'formFieldGrey']); ?>

        <?php endif; ?>
    </div>
</div>

<div class="row">
    <div class="large-12 columns">
        <!-- required -->
        <?php if($errors->first('specialTerms')): ?>
            <label class="red">Anything else you want to include? Special terms. </label>
            <?php echo Form::textarea('specialTerms', '', ['class' => 'formFieldGrey', 'style'=>"border: 2px solid rgba(255, 0, 0, 0.3)"]); ?>

        <?php else: ?>
            <label>Anything else you want to include? Special terms. *</label>
            <?php echo Form::textarea('specialTerms', '', ['class' => 'formFieldGrey']); ?>

        <?php endif; ?>
    </div>
</div>

<div class="row">
    <div class="large-12 columns">
        <button class="myButton" type="submit">Request Quote</button>
    </div>
</div>

<?php echo Form:: close(); ?>


<?php echo $__env->make('partials.footer', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>

<?php $__env->stopSection(); ?>
<?php echo $__env->make('master', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>