<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html"; charset=utf-8" />
        <link href="{{ asset('bundles/DorcasTabitha/css/printable.css') }}" type="text/css" rel="stylesheet" />
        <script src="{{ asset('bundles/DorcasTabitha/js/js/jquery-1.7.2.min.js') }}" type="text/javascript"></script>
        <script>    
        $(document).ready(function(){ 
            $("#print_req").click(function(){ 
                $("#print_req").css("display","none"); 
                window.print();   
            }); 
        });
        </script>

    </head>
    <body style="padding: 0px;"> 
        <section style="font-size:14px;'>

			<div style="position:absolute; top:10px; left: 10px;">
				<input type="button" value="Print" id="print_req" />
			</div>
		<div style="height: 60px">
			<div style="float: left; height: 200px;">
				<img src="{{ asset('bundles/dorcastabitha/images/dorcasLogoVertical.png') }}" alt="Dorcas">
				<h5>
					187 High House Road<br />
					Cary, NC 27511<br />
				</h5>
			</div>

			<div style="border:2px solid red; font-size:12px; float:right; padding:10px;">
				<center>Verification of Payment</center><br />
				Date balance paid:________________ Counselor Initials:______<br /><br />
				Receipt Number:__________________________________________<br /><br />
				Vendor Contact Name:_____________________________________
				<br />
			</div>
		</div>
			<br />&nbsp;<br />
			<br />&nbsp;<br />
			<br />&nbsp;<br />

			<center><h2>Promissory Note</h2></center>
			

			<br />
			<p style="line-height:180%; padding-left: 20px;">
				<strong>Date:</strong> {{ "now"|date("m/d/Y") }}
				<span style="padding-left:300px;"><strong>Counselor:</strong> {{ promissory.counselor }}</span>
				<br />
				<strong>Client Name:</strong> {{ promissory.clientname }} 
				<br />
				<strong>Client Address:</strong> {{ promissory.clientaddress }}
				<br />
				
				
				<div style="border:1px solid;background-color:#cdf1f1; padding:20px; height:100px;">
					<strong>EXPIRATION DATE OF PROMISSORY NOTE:</strong> {{ promissory.expirationdate|date("m/d/Y") }}
					<br />
					<div style="float: left; line-height: 150%;">
								
								<span class = "underline"><strong>Balance for Client to Pay:</strong></span>
								<br />
								<strong>Assistance Offered by Dorcas: </strong> 
								<br />
								<strong>Amount Offered by Other Agency: </strong>
								<br />
								<strong>Amount Offered by Other Agency: </strong>
								<br />
					</div>
					<div style="float: left;line-height: 150%;padding-left: 20px;">
								
								<br />
								<br />
								 {{ promissory.otherdesc }} 
								<br />
								{{ promissory.otherdesc2 }} 
					</div>
					<div style="float: right; line-height:150%; width:28%;">
								
								 $ {{ promissory.balanceclient|number_format(2, '.', ',') }}
								<br />
								 $ {{ promissory.pledgedorcas|number_format(2, '.', ',') }}
								<br />
								 $ {{ promissory.pledgeother|number_format(2, '.', ',') }} 
								<br />
								$ {{ promissory.pledgeother2|number_format(2, '.', ',') }} 
					</div>
					
				</div>
				
				
				
				
				<div style="padding:20px; height: 60px;">
					<strong>Type of Assistance (Rent, Water, Oasis, etc.):</strong> {{ promissory.checkpurpose }}
					<br />
					<strong>Account Number:</strong> {{ promissory.accountnumber }}
					<br />
					<strong>Vendor Name:</strong> {{ promissory.vendorname }}
					<br />
					<strong>Vendor Address:</strong> {{ promissory.vendoraddress }}
					
				</div>
				
				
			</p>    
			
			
			<div style="border:1px solid; padding: 14px;  font-size:12px;">
				<strong>Attention: This is NOT a pledge.</strong>  The client must pay the remaining balance 
				by the <em><u>expiration date above</u></em> or this note will expire without further notice.
				<br /><br />
				<strong>LANDLORD or BUSINESS</strong> <em><u>must call</u></em> the Crisis Ministry Office by the expiration date to 
				confirm that the above balance has been paid.
				<br /><br />
				<strong>FOR PROGRESS ENERGY AND OTHER UTILITIES:</strong> The CLIENT <em><u>must call</u></em> Dorcas Ministries with their 
				receipt number after making a payment.  For Progress Energy, pay: on-line, by phone, or in 
				person at an authorized payment center, such as the High House Food Mart (corner of Old Apex/High House Roads).
				<br />
				<center>CALL: 919-469-9861, ext 201</center>
				<br />
				<strong>NO CHECK WILL BE RELEASED WITHOUT CONFORMATION that the client paid their balance.</strong>
				Dorcas must also have verification that another agency has offered assistance.
				
			</div>

        </section>
			<div id="footer">
				{% block footer %}
				&copy; 2012, Copyright JLS Consulting
						<br>&nbsp;<br> 
						 <center><h8>Developed By:</h8></center>
						 <center><img src="{{ asset('bundles/dorcastabitha/images/jlsLogo_aqua.png') }}" alt="JLSConsulting" /></center>                
				{% endblock %}
            </div>
    </body>
</html>



 
