{#
 # Homepage template
 # ---------------
 #
 # When this template gets loaded, it will be because someone has accessed
 # http://yoursite.com/ (without any URI). Craft checks to see if you have
 # a Single section set to be the Homepage (as you do, by default), and
 # loads the section’s Template (this file). A special ‘entry’ variable
 # will already be set for you, assigned to the Homepage entry.
 #
 # It's worth noting that even if you didn't have a Homepage Single section,
 # as long as this template remains at craft/templates/index.html, it
 # would still be the one to get loaded when accessing http://yoursite.com/,
 # albeit without an ‘entry’ variable already set for you.
 #
 # See this page for more details on how Craft routes requests:
 # http://craftcms.com/docs/routing
 #}
{% set metaTitle = "Hammer & Nail Contract- Chris Divyak" %}


{% set metaDescription = "Chris Divyak is a former web developer turned craftsman. He has over a decade of experience in being a handy person and can help you with your home repair needs." %}

{% extends "_layout" %}

{% block content %}

<style>
canvas#signature {
  border: 2px solid black;
}

form>* {
  margin: 10px;
}
</style>
{% set customerName = craft.app.request.getParam('c') %}

{# Create a submissions query with the 'form' and 'limit' parameters #}
{% set submissions = craft.formie.submissions()
    .form('	contractDetails')
    .id(customerName)
    .all() %}
    
    {% set year = '2026' %}
    

  {% set name = '' %}
  {% set address ='' %}
  {% set scope ='' %}
  {% set deposit = '' %}
  {% set totalAmount = '' %}
  {% set depositAmount = '' %}
  {% set customerContractSignatureDate = '' %}
  {% set outstandingBalance = '' %}
  {% set startDate = '' %}
  {% set date = '' %}
  {% set formId = '' %}
  {% set estimates = [] %}
    {% set contractorSignature ='' %}
{# Display their contents #}
{% set customer = [] %}

{% for submission in submissions %}
	

	{% set findCustomer = [{'formId':submission.id, 'name': submission.customerName, 'address': submission.address, 'scope': submission.scope, 'deposit':submission.deposit, 'depositAmount':submission.depositAmount, 'outstandingBalance': submission.outstandingBalance, 'totalAmount':submission.totalAmount, 'customerContractSignatureDate':submission.customerContractSignatureDate|date('m/d/Y'),'contractorSignature':submission.contractorSignature, 'startDate': submission.startDate|date('m/j/Y'), 'date':submission.contractorDate|date('m/j/Y'), "estimates":submission.estimates} ] %}
	{% set customer = customer|merge(findCustomer) %}

 
	{% for c in customer %}
	  {% set name = c.name %}
	  {% set address = c.address %}
	  {% set scope = c.scope%}
	   {% set deposit = c.deposit %}
	  {% set totalAmount = c.totalAmount %}
	  {% set depositAmount = c.depositAmount %}
	  
	  {% set customerContractSignatureDate = c.customerContractSignatureDate|raw %}
	  {% set outstandingBalance = c.outstandingBalance %}
	  {% set contractorSignature = c.contractorSignature %}
	  {% set startDate = c.startDate %}
	  {% set date = c.date %}
	  {% set formId = c.formId %}
	  {% set estimates = c.estimates %}
	

	{% endfor %}
{% endfor %}


<!-- Feature Start -->
    <div class="container-fluid overflow-hidden px-lg-0">
        <div class="container feature px-lg-0">
            <div class="row g-0 mx-lg-0">
                <div class="col-lg-612 feature-text py-5 wow">
                    <div class="p-lg-5 ps-lg-0">
                    
                        <div class="row">
                        <div class="col-md-10">

{% set submission = craft.formie.submissions.id(formId).one() %}



{% do submission.form.setSubmission(submission) %}




{# Register any CSS/JS for the form, as we aren't using `renderForm()` #}
{% do craft.formie.registerAssets(submission.form) %}

{# submission.statusId #}
<form method="post" data-fui-form="{{ submission.form.configJson }}">
    {{ hiddenInput('action', 'formie/submissions/save-submission') }}
    {{ hiddenInput('handle', submission.form.handle) }}
    {{ hiddenInput('submissionId', submission.id) }}
    {{ hiddenInput('editingSubmission', true) }}
    {{ hiddenInput('submissionEditToken', submission.form.getSubmissionEditToken()) }}
    {{ hiddenInput('siteId', submission.siteId) }}
    {{ hiddenInput('statusId', 1) }}
    {{ csrfInput() }}

    
    {% set renderOptions = {
    required: 'required',
    dateFormat: 'm/d/y'
} %}


    <button type="submit" class="fui-btn fui-submit" id="submit" data-submit-action="submit" style="margin:-100000000px">Submit</button>

              
<h2> CONSTRUCTION CONTRACT AGREEMENT for {{name}}</h2>
<p>This Construction Contract Agreement (this “Agreement”) is made as of the date of <strong><u>{{ date|date('m/d/Y') }}</u></strong> by and between  <strong><u>{{name}}</u></strong>
    , a person located at <strong><u>{{address}}</u></strong> (“Client”) and Hammer & Nail Home Repair Services LLC, a Washington
limited liability company located at 2252 Seamount Drive, Ferndale, WA 98248 with contractor's
license number HAMMEHR774PQ ("Contractor"). Client and Contractor may each be referred to in
this Agreement individually as a “Party” and collectively as the “Parties.”</p>

<p>The Parties agree as follows:</p>

<h5>Description of Work.</h5><p>
<p>Contractor shall perform the following described work at <b><u>{{address}}</u></b>
(the "Property"), in accordance with Client’s contract plans and specifications, attached as Exhibit A,
this Agreement and any Change Order, as defined herein, (collectively, the "Contract Documents"):
</p>

<p class="border p-4 highlight-yellow">{{scope}} (the "Work").</p><p> Industry terminology used in any Contract Documents which
are not defined shall be interpreted as having the same meaning as that recognized in the
construction industry in the area where the Property is located.</p>

<h5>Contract Price and Payments.</h5><p>
Client agrees to pay Contractor the total amount of <b><u  class="highlight-yellow p-2">${{totalAmount}}</u></b> (the “Contract Price”). Payment of this
amount is subject to additions or deductions in accordance with any mutually agreed to changes
and/or modifications in the Work. Payment will be made by cash, check, credit card or debit card. <span class="text-danger text-bold">All credit or debit card payments are subject to an addtional 3.5% processing fee.</span> All payments will be made according to the
following schedule:</p>
{% if depositAmount %}

<p  class="highlight-yellow p-4"> ${{depositAmount}} deposit, due upon the execution of this Agreement. <b>Outstanding balance of ${{outstandingBalance}} will
be due at completion of the project.</b></p>
{% else %}
<p  class="highlight-yellow p-4"> <b>${{totalAmount}} balance due upon completion of the Work.</b></p>
{% endif %}

<h5>Completion.</h5><p>
Work under this Agreement shall begin on <b><u class="highlight-yellow">{{startDate|date('m/d/Y')}}</u></b></p> 
<p>Upon completion of the Work, Contractor shall
notify Client that the Work is ready for final inspection and acceptance and Client shall make the final
payment after Client approval of the final inspection, unless another payment arrangement has been
made. If Client fails to approve the final inspection after five (5) days, the Client agrees to make final
payment regardless of approval.</p>
<h5>Materials and Labor.</h5><p>
Contractor shall provide and pay for all labor and equipment, including tools, construction equipment,
machinery, transportation and all other facilities and services, and all materials as described in the
estimate attached necessary for the completion of the Work. All materials shall be good quality and
new, unless the Contract Documents require or permit otherwise. Contractor may substitute materials
only with the prior written approval of Client.</p>
<h5>Licenses and Permits.</h5><p>
Contractor shall obtain all licenses and permits necessary for proper completion of the Work. Client is
responsible for the cost of any necessary permits or licenses.</p>

<div class="highlight-yellow p-4 border">
<h5>Contract Cancelation Policy</h5>

<p><Strong>A. Contractor's Termination.</Strong> Contractor may, on one (1) days’ written notice to Client, terminate
this Agreement before the completion of the Work. On such termination Contractor may recover
from Client payment for all Work completed and for any loss sustained by Contractor for
materials, equipment, tools or machinery to the extent of actual loss thereon.<p>
<p>
<strong>B. Client's Termination.</strong> Client may, on one (1) days’ written notice to Contractor, terminate this
Agreement before the completion of the Work, and without prejudice to any other remedy Client
may have when Contractor defaults in the performance of any provision of this Agreement, or
fails to carry out performance of the Work in accordance with the provisions of the Contract
Documents. Client is responsible for payment for all Work completed and for any loss sustained
by Contractor for materials, equipment, tools or machinery to the extent of actual loss thereon.</p>

<h6 class="mb-5"><u>If Client decides to cancel this contract after signing and before any work has started then a 15% cancelation fee (equal to 15% of the estimate in Exhibit A) is to be paid to the Contractor as well as any loss sustained by Contractor for materials, equipment, tools or machinery to the extent of actual loss thereon.</u></h6>

 {% for field in submission.form.getCustomFields() %}

    {%if field.id == '75' %}
        {{ craft.formie.renderField(submission.form, field) }}
        {% endif %}
    {% endfor %}
 


</div>


<h5> Laws and Regulations.</h5><p>
Contractor shall perform the Work in a workmanlike manner and in compliance with all applicable
federal, state, and local laws, regulations and ordinances, trade standards, ethical guidelines and any
safety requirements of Client (the “Applicable Laws”). Contractor shall promptly notify Client upon
discovery of any variance between the Applicable Laws and the Construction Documents.</p>
<h5>Supervision of Construction.</h5><p>
Contractor shall be solely responsible for and shall supervise and direct all construction under this
Agreement. Contractor shall provide competent and suitable personnel to perform the Work and shall
at all times maintain good discipline and order at the Property. Contractor will at all times take all
reasonable precautions for the safety of its employees and the public at the Property. Contractor
agrees to assume full responsibility for the acts, negligence, and/or omissions of its employees and
any subcontractors and their employees.</p>
<h5>Record Documents.</h5><p>
Contractor shall maintain in a safe place at the Property one record copy of all drawings,
specifications, addenda, written amendments, and the like in good order and annotated to show all
changes made during construction, which will be delivered to Client upon completion of the Work.
Client shall have the right to inspect and review such documents upon notice to Contractor.</p>
<h5>Utilities.</h5><p>
Client shall pay for all permanent electric, water, phone, cable, sewer and gas service as needed to
perform the Work. Client shall pay for the installation, connection and removal of all temporary utilities
on the Property during the performance of the Work. All temporary utilities shall conform and adhere to
the Applicable Laws.</p>
<h5>Hazardous Materials.</h5><p>
Except as otherwise provided in the Contract Documents, Contractor shall be responsible for all
Hazardous Materials brought to the Property by Contractor. Hazardous Materials shall include
radioactive materials, asbestos, polychlorinated biphenyls, petroleum products, crude oil, flammable
materials, chemicals or solvents known to cause cancer or reproductive toxicity, pollutants,
contaminants and toxic substances which are restricted, prohibited or regulated by any agency of
government in its manufacture, use, maintenance, storage, ownership or handling. If Contractor
discovers any Hazardous Materials on the Property, Contractor shall immediately notify Client and
may cease working until the material or substance has been rendered harmless. Client shall defend,
indemnify and hold harmless Contractor, any subcontractors, and their respective agents and
employees from and against all claims, damages, losses and expenses, including attorney’s fees,
arising out of or resulting from contact with the Hazardous Substance in performance of the Work
resulting in bodily injury, illness or death, or injury or property damage,providedsuch claim, damage,
loss or expense is not the result of any negligent act or omission by the party seeking such indemnity.</p>
<h5>Warranty.</h5><p>
Contractor warrants that the Work shall be in accordance with the Contract Documents, applicable law
and trade standards and free from material structural defects, improper workmanship or defective
materials. Contractor shall replace, correct or repair any Work not in accordance with the Contract
Documents, applicable law and trade standards or any defects caused by faulty materials, equipment
or workmanship for a period of one (1) year(s) from the date of completion of the Work. Nothing in this
Section 11 shall be construed to place a time limit with respect to any other obligation Contractor may
have under this Agreement.</p>
<h5>Condition of the Property.</h5><p>
Contractor agrees to keep the Property and adjoining driveways free and clear of waste material and
rubbish. Contractor shall confine the storage of materials and equipment and the operations of
employees to the Property, and shall not unreasonably encumber the Property with materials or
equipment. Contractor shall be fully responsible for any damage to the Property or areas contiguous
thereto resulting from the performance of the Work. At the completion of the Work, Contractor shall
remove all waste materials, rubbish and debris from and about the Property as well as all tools,
appliances, construction equipment and machinery, and surplus materials, and shall leave the
Property clean and ready for occupancy by Client.</p>
<h5>Inspection.</h5><p>
Client shall have a right to inspect the Work at any time and request that Contractor promptly correct
any Work that is defective or does not conform to the Contract Documents. If required, the Work shall
be inspected and certified by the appropriate state or local agency or health officer at each necessary
stage.</p>
<h5>Right to Stop Work.</h5><p>
If Contractor fails to correct any defective Work or repeatedly fails to perform the Work in accordance
with the Contract Documents, Client shall have the right to order Contractor to stop performing the
Work, or any portion thereof, until the cause for such order is eliminated.</p>
<h5>Subcontracts.</h5><p>
Contractor shall furnish to Client a list of names of subcontractors proposed to perform principal
portions of the Work. Contractor shall not employ any subcontractor to whom Client reasonably
objects. A subcontractor, for the purposes of this Agreement, shall be a person with whom Contractor
has a direct contract for work at the Property. All contracts between Contractor and subcontractor shall
be in accordance with the terms of this Agreement and the Contract Documents.</p>
<h5>Work Changes.</h5><p>
Client reserves the right to order changes to the Work in the nature of additions, deletions or
modifications, without invalidating this Agreement, and agrees to make corresponding adjustments in
the Contract Price and time of termination if applicable. All changes will be authorized in a written “
Change Order” signed by Client and Contractor, which shall be incorporated by reference herein.</p>

<h5>Other Contractors.</h5><p>
Client reserves the right to enter into other contracts in connection with the Work. Contractor shall
cooperate with all other contractors so that their work shall not be impeded, and shall give them
access to the Property as necessary to perform their contracts.</p>
<h5>Indemnification.</h5><p>
Contractor agrees to defend, indemnify and hold harmless Client and its agents and employees, from
and against all claims, actions, liabilities, suits, demands, injuries, obligations, damages, losses,
settlements, judgments, fines, penalties, costs and expenses, including reasonable attorneys' fees,
arising out of any negligent act or omission by Contractor, a subcontractor or anyone directly or
indirectly employed by them in the performance of the Work resulting in bodily injury, illness or death,
or for property damage, including loss of use, unless caused by the sole negligence or willful
misconduct of Client.</p>
<h5>Contractor’s Insurance.</h5><p>
Contractor agrees to maintain at its own expense during the entire period of construction at the
Property:<br/>
A. General Liability Insurance.Such general liability insurance as will protect Contractor from claims
for property damage and bodily injury, with limits of liability not less than $250,000.00 for each
occurrence.</p>
<h5>Waiver of Subrogation.</h5><p>
Client and Contractor each waive any and all claims or rights to recovery against the other Party for
any loss or damage to the extent such loss or damage is covered by insurance or would be covered
by any insurance required under this Agreement. Client and Contractor shall cause each insurance
policy carried by Client or Contractor relating to the Property to include or allow a full waiver of any
subrogation claims.</p>
<h5>Time of Essence.</h5><p>
<p>All times stated in this Agreement or in the Contract Documents are of the essence. Contractor agrees
that such times are reasonable for performing and completing the Work.</p>
<h5>Extension of Time.</h5><p>
The times stated in this Agreement may be extended for such reasonable time as Contractor may
determine when performance of the Work by Contractor is delayed by a Change Order, labor disputes,
fire, unusual delay in deliveries, abnormal adverse weather conditions, unavoidable casualties, or
other causes beyond Contractor’s control or which justify the delay.</p>



<h5>Disputes.</h5>
<p>
Any dispute arising from this Agreement shall be resolved through mediation. If the dispute cannot be
resolved through mediation, then the dispute will be resolved through binding arbitration conducted in
accordance with the rules of the American Arbitration Association.</p>

<h5>Counterparts.</h5>
<p>This Agreement may be executed in one or more counterparts, each of which shall be deemed an original and all of which together, shall constitute one and the same document.</p>


<h5>Headings.</h5>

<p>The section headings herein are for reference purposes only and shall not otherwise affect the
meaning, construction or interpretation of any provision of this Agreement.</p>

<h5>Notices.</h5>
<p>Any notice or communication given or made to any Party under this Agreement shall be in writing and
delivered by hand, sent by overnight courier service or sent by certified or registered mail, return
receipt requested, to the address stated above or to another address as that Party may subsequently
designate by notice and shall be deemed given on the date of delivery.</p>

<h5>Assignment.</h5>
<p>No Party hereto shall have the right to assign its rights or delegate its duties hereunder without the
written consent of the other Party, which consent shall not be unreasonably withheld.</p>

<h5>Binding Effect.</h5>
<p>This Agreement shall be binding and enure to the benefit of the Parties and their respective legal
representatives, heirs, administrators, executors, successors and permitted assigns.</p>
<h5>Governing Law.</h5>
<p>This Agreement and the rights and obligations of the Parties hereto shall be governed by and
construed in accordance with the laws of the State of Washington, without regard to its conflicts of
laws provisions.</p>

<h5>Severability.</h5>
<p>If any provision of this Agreement is held to be invalid, illegal or unenforceable in whole or in part, the
remaining provisions shall not be affected and shall continue to be valid, legal and enforceable as
though the invalid, illegal or unenforceable part had not been included in this Agreement.</p>

<h5>Entire Agreement.</h5>
<p>This Agreement contains the entire agreement between the Parties hereto with respect to the subject
matter hereof, and supersedes all prior negotiations, understandings and agreements.</p>

<h5>Amendments.</h5>
<p>This Agreement may not be amended or modified except by a written agreement signed by the all of
the Parties.</p>

<h5>Waiver.</h5>

<p>No Party shall be deemed to have waived any provision of this Agreement or the exercise of any rights
held under this Agreement unless such waiver is made expressly and in writing. Waiver by any Party
of a breach or violation of any provision of this Agreement shall not constitute a waiver of any other
subsequent breach or violation.</p>

<h5>Survival.</h5>

<p>The obligations of Contractor expressly identified in this Agreement, or those by operation of law, shall
survive the completion of Work or termination of this Agreement.</p>

<h5>Industry Language.</h5>

<p>The language used for terms of this Agreement, unless otherwise defined, shall be construed
according to the customary meaning within the construction industry in the area where the Project is
located and for the type of Work being performed.</p>

<h5>Independent Contractor.</h5>

<p>Contractor acknowledges that it is an independent contractor and is not an agent, partner, joint
venture nor employee of Client. Contractor shall have no authority to bind or otherwise obligate Client
in any manner nor shall Contractor represent to anyone that it has the right to do so. Contractor further
agrees that in the event that the Company suffers loss or damage as a result of a violation of this
provision Contractor shall indemnify and hold harmless Client from any such loss or damage.</p>

<h5>Rights of Third Parties.</h5>

<p>Nothing in this Agreement shall create or give to any third party a claim or right of action against
Contractor or Client.</p>




<h5>Confidentiality.</h5>

<p>As a result of Contractor's participation in the Work, Contractor will have access and contribute to
information and materials of a highly sensitive nature, including Confidential Information. Contractor
hereby warrants that Contractor and its employees and agents shall not (without in each instance
obtaining the Client's prior written consent) disclose, make commercial or other use of, or give or sell
to any person, firm, or corporation, any Confidential Information received directly or indirectly from
Client or acquired or developed in the course of the performance of this Agreement unless: (1)
required to do so pursuant to Applicable Laws (and then only after Contractor has given Client prompt
written notice of the legal compulsion and, at Client's expense, provided by Client with cooperation in
any attempt Client may make to gain a protective order acceptable to Client); or (2) it is rightfully in the
possession of Contractor from a source other than Client prior to the time of disclosure of the
information to Contractor under this Contract; or (3) it was in the public domain prior to the time of
Contractor's receipt; or (4) it became part of the public domain prior to the time of Contractor's receipt
by any means other than an authorized act or omission on the part of Contractor; or (5) it is supplied to
Contractor after the time of Contractor's receipt by a third party who was not under any obligation to
Client to maintain such information in confidence; or (6) it was independently developed by Contractor
prior to the time of its receipt from Client. All Confidential Information, regardless of form, shall be the
property of Client and shall be returned to Client upon its request, or in any event, at the completion or
earlier termination of this Agreement.</p>
<hr/>

<p><strong>IN WITNESS WHEREOF, the Parties have executed this Agreement as of the date first written above.</strong></p>


<p><strong>Client Full Name: {{name}}</strong></p>



<p>{# client signature #}
    {% for field in submission.form.getCustomFields() %}
   
    {%if field.id == '67' %}
        {{ craft.formie.renderField(submission.form, field, renderOptions) }}
        {% endif %}
    {% endfor %}



{# client signature date #}
 {% for field in submission.form.getCustomFields() %}
    {%if field.id == '66' %}
        {{ craft.formie.renderField(submission.form, field, renderOptions) }}
        
   
        {% endif %}
    {% endfor %}


<hr/>
<p><strong>Contractor Full Name: Chris Divyak, Owner Hammer & Nail Home
Repair Services LLC</strong></p>



<p><strong>Contractor Signature</strong>

<img class="signature" src="{{contractorSignature|raw}}" />

<p><strong>Date Signed: {{date|date('m/d/Y')}}</strong>
<hr/>
<div class="bg-grey p-4">

<h2>Exhibit A</h2>

<h5>Estimate(s):</h5>
       {%for e in estimates%}
          
            	<p><a href="{{e.estimateUrl}}" target="_blank">{{e.estimates}}</a></p>
            	{% endfor %}
</div>
                        
<hr/>

<h5>Photo/Video Consent Form</h5>

<p>I hereby grant to Hammer & Nail Home Repair Services LLC permission to use and publish the
photograph(s) and/or video recording(s) (the “Photographs”) referred to below, in which my property
and/or I am included, without any restriction as to the nature of the use or publication. I understand
that I do not own the copyright of the Photographs, and I waive the right to approve of any finished
product. I understand that the Photographs may able released in to the public domain or published
online. Your name or other personal information will not be published alongside the Photographs and
will not be shared or published publicly in any capacity.</p>

<p>I certify that I am over 18 years of age and that I have the full legal right to execute this agreement.</p>


<p><strong>Client Full Name</strong>: {{name}}</p>

{# photo consent signature #}
 {% for field in submission.form.getCustomFields() %}
    {%if field.id == '69' %}
        {{ craft.formie.renderField(submission.form, field) }}
        {% endif %}
    {% endfor %}

 {% for field in submission.form.getCustomFields() %}
    {%if field.id == '72' %}
        {{ craft.formie.renderField(submission.form, field) }}
        {% endif %}
    {% endfor %}

<hr/>



<h2>Disclosure Statement Notice to Customers</h2>

<p>Business Name: Hammer & Nail Home Repair Services LLC</p>

<p>This contractor is registered with the state of Washington, registration no. HAMMEHR774PQ has
posted with the state a bond or deposit of $30,000 for the purpose of satisfying claims against the
contractor for breach of contract including negligent or improper work in the conduct of the contractor’s
business. The expiration date of this contractor’s registration is 10/18/{{year}}.</p>

<p>THIS BOND OR DEPOSIT MIGHT NOT BE SUFFICIENT TO COVER A CLAIM THAT MIGHT
ARISE FROM THE WORK DONE UNDER YOUR CONTRACT. This bond or deposit is not for your
exclusive use because it covers all work performed by this contractor. The bond or deposit is intended
to pay valid claims up to $30,000 that you and other customers, suppliers, subcontractors, or taxing
authorities may have.</p>

<p>FOR GREATER PROTECTION YOU MAY WITHHOLD A PERCENTAGE OF YOUR CONTRACT.
You may withhold a contractually defined percentage of your construction contract as retainage for a
stated period of time to provide protection to you and help insure that your project will be completed as
required by your contract. YOUR PROPERTY MAY BE LIENED. If a supplier of materials used in your
construction project or an employee or subcontractor of your contractor or subcontractors is not paid,
your property may be liened to payment and you could pay twice for the same work. FOR
ADDITIONAL PROTECTION, YOU MAY REQUEST THE CONTRACTOR TO PROVIDE YOU WITH
ORIGINAL “LIEN RELEASE” DOCUMENTS FROM EACH SUPPLIER OR SUBCONTRACTOR ON
YOUR PROJECT. The contractor is required to provide you with further information about lien release
documents if you request it. General information is also available from the state Department of Labor
and Industries.</p>

<p>I have received a copy of this disclosure statement.</p>

{# photo consent signature #}
 {% for field in submission.form.getCustomFields() %}
    {%if field.id == '71' %}
        {{ craft.formie.renderField(submission.form, field) }}
        {% endif %}
    {% endfor %}

 {% for field in submission.form.getCustomFields() %}
    {%if field.id == '70' %}
        {{ craft.formie.renderField(submission.form, field) }}
        {% endif %}
    {% endfor %}

<p>The contractor must retain a signed copy of this disclosure statement in his or her files for a minimum
of three years and produce a signed or electronic signature copy of the disclosure statement to the
department upon request. For more information, please refer to RCW 18.27.114. F625-030-000
Disclosure Statement Notice to Customer 12-2015
</p>

</p></p></p></p>




  <button type="submit" class="fui-btn fui-submit" id="setSubmit" data-submit-action="submit" >Submit Contract</button>

</form>

                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
                     
                        <!-- Carousel Start -->
    
                        
                        
                        
                        

    <!-- Feature End -->
    <!--
    <div class="container-xxl py-5 wow fadeInUp" data-wow-delay="0.1s" style="visibility: visible; animation-delay: 0.1s; animation-name: fadeInUp;">
        <div class="container">
            <div class="section-title text-center">
                <h1 class="display-5 mb-5">Our Values &amp; What We Stand For</h1>
            </div>
            
            <div class="row">
	            <div class="col-6 col-md-2 mb-3">
		            <img class="w-100" src="https://www.hammernail.co/assets/img/Intersex-inclusive_pride_flag.webp" alt="LGBTQ+ Owned Business"/>
		            <h6 class="mt-3 text-center">We are a LGBTQ+ Owned Business</h6>
	            </div>
		            
	            <div class="col-6 col-md-2 mb-3">
		            <img src="https://www.hammernail.co/assets/img/snoqualmie-tribe-logo.jpeg" class="w-100" alt="Proud Member of the Snoqualmie Tribe">
		            <h6 class="text-center mt-3">The Owner is a proud member of the Snoqualmie Tribe</h6>
	            </div>
	            <div class="col-6 col-md-2 mb-3">
		            <img class="w-100" src="https://www.hammernail.co/assets/img/blacklivesmatter.jpg" alt="Black Lives Matter"/>
	            </div>
	            
	            <div class="col-6 col-md-2 mb-3">
		             <img class="w-100" src="https://www.hammernail.co/assets/img/planned-parenthood.jpg" alt="Planned Parenthood: Bans Off Our Bodies"/>
	            </div>
	            
	            <div class="col-6 col-md-2 mb-3">
		              <img class="w-100" src="https://www.hammernail.co/assets/img/trans-rights.jpg" alt="Trans Rights are human rights"/>
	            </div>
	            <div class="col-6 col-md-2 mb-3">
		            <img class="w-100" src="https://www.hammernail.co/assets/img/Tricolor Polyamory Pride Flag.png" alt="Poly friendly business"/>
            </div>
            
        </div>
    </div>
    </div>-->

<script>
 $(document).ready(function(){
		    
	    $('input').each(function(index,data) {
			   var value = $(this).val();
			   if($(this).attr('name') == 'fields[agreeToCancelationPolicy]'){
				   $(this).attr('required','required');
				   $(this).parent().parent().find('label').append("<span class='text-danger'>*</span>");
			   }
			    if($(this).attr('name') == 'fields[customerSignature]'){
				   $(this).attr('required','required');
				   $(this).parent().parent().find('label').append("<span class='text-danger'>*</span>");
				   $(this).parent().parent().parent().addClass('fui-field-required');
			   }
			   
			    if($(this).attr('name') == 'fields[customerContractSignatureDate][datetime]'){
				   $(this).attr('required','required');
				   $(this).parent().parent().find('label').append("<span class='text-danger'>*</span>");
				  
			   }
			   
			   if($(this).attr('name') == 'fields[disclosureSignature]'){
				   $(this).attr('required','required');
				   $(this).parent().parent().find('label').append("<span class='text-danger'>*</span>");
				    $(this).parent().parent().parent().addClass('fui-field-required');
				  
			   }
			   
			   if($(this).attr('name') == 'fields[disclosureDate][datetime]'){
				   $(this).attr('required','required');
				   $(this).parent().parent().find('label').append("<span class='text-danger'>*</span>");
				  
			   }
	  
			   
		});

			$("button#setSubmit").on('click', function(e) {
				
				
				var customerSignature = false;
				 $('input').each(function(index,data) {
					  if($(this).attr('name') == 'fields[customerSignature]'){
						  e.preventDefault();
						  if($(this).val() == ''){
							  
							 $(window).scrollTop( $("div[data-field-handle='customerSignature']").offset().top ); 
							 
						  }else{
							  var customerSignature = true;
							  
							  if(customerSignature == true){
					$('button#submit').click();
				}
				
					console.log(customerSignature);
						  }
					}
				});
				
				if(customerSignature == true){
					$('button#submit').click();
				}
				
				console.log(customerSignature);
			
				
			});
		    
			
		
	    });
</script>
{% endblock %}