<?php

/* DorcasTabithaBundle:Print:pledgeformprintable.html.twig */
class __TwigTemplate_9637d85d980772152005968f88cd01e4 extends Twig_Template
{
    public function __construct(Twig_Environment $env)
    {
        parent::__construct($env);

        $this->parent = false;

        $this->blocks = array(
            'footer' => array($this, 'block_footer'),
        );
    }

    protected function doDisplay(array $context, array $blocks = array())
    {
        // line 1
        echo "<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv=\"Content-Type\" content=\"text/html\"; charset=utf-8\" />
        <link href=\"";
        // line 5
        echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("bundles/DorcasTabitha/css/printable.css"), "html", null, true);
        echo "\" type=\"text/css\" rel=\"stylesheet\" />
        <script src=\"";
        // line 6
        echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("bundles/DorcasTabitha/js/js/jquery-1.7.2.min.js"), "html", null, true);
        echo "\" type=\"text/javascript\"></script>
        <script>    
        \$(document).ready(function(){ 
            \$(\"#print_req\").click(function(){ 
                \$(\"#print_req\").css(\"display\",\"none\"); 
                window.print();   
            }); 
        });
        </script>
\t
\t
\t";
        // line 17
        $context["totalpledge"] = 0;
        // line 18
        echo "\t
\t";
        // line 19
        $context["totalpledge"] = ((($this->getContext($context, "totalpledge") + $this->getAttribute($this->getContext($context, "pledge"), "pledgedorcas")) + $this->getAttribute($this->getContext($context, "pledge"), "pledgeother")) + $this->getAttribute($this->getContext($context, "pledge"), "pledgeother2"));
        // line 20
        echo "
    </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>

        <center><img src=\"";
        // line 29
        echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("bundles/dorcastabitha/images/dorcasLogoVertical.png"), "html", null, true);
        echo "\" alt=\"Dorcas\">
        <h4>
        187 High House Road<br />
        Cary, NC 27511<br />
        </h4>

        <h2>Pledge Confirmation</h2></center>
        

        <p style=\"line-height:180%; padding-left: 20px;\">
            <strong>Date:</strong> ";
        // line 39
        echo twig_escape_filter($this->env, twig_date_format_filter($this->env, "now", "m/d/Y"), "html", null, true);
        echo "
\t\t\t<span style=\"padding-left:300px;\"><strong>Counselor:</strong> ";
        // line 40
        echo twig_escape_filter($this->env, $this->getAttribute($this->getContext($context, "pledge"), "counselor"), "html", null, true);
        echo "</span>
            <br /><br />
            <strong>Client Name:</strong> ";
        // line 42
        echo twig_escape_filter($this->env, $this->getAttribute($this->getContext($context, "pledge"), "clientname"), "html", null, true);
        echo " 
            <br />
            <strong>Client Address:</strong> ";
        // line 44
        echo twig_escape_filter($this->env, $this->getAttribute($this->getContext($context, "pledge"), "clientaddress"), "html", null, true);
        echo "
            
\t\t\t
\t\t\t<div style=\"border:1px solid; background-color:#cdf1f1;padding-left:20px; 
                            padding-top:5px; height:105px; \">
\t\t\t\t<div style=\"width:68%; float:left\">
\t\t\t\t\t<strong>Total Amount of Pledge: \$</strong> ";
        // line 50
        echo twig_escape_filter($this->env, $this->getContext($context, "totalpledge"), "html", null, true);
        echo "
\t\t\t\t\t<br />&nbsp;<br />
\t\t\t\t\t
\t\t\t\t\t\t<strong>Assistance Offered by Dorcas: </strong>  
\t\t\t\t\t\t<br />
\t\t\t\t\t
\t\t\t\t\t
\t\t\t\t\t\t<strong>Amount of Pledge from Other Agency:</strong> ";
        // line 57
        echo twig_escape_filter($this->env, $this->getAttribute($this->getContext($context, "pledge"), "otherdesc"), "html", null, true);
        echo " 
\t\t\t\t\t\t<br />
\t\t\t\t\t
\t\t\t\t\t
\t\t\t\t\t\t<strong>Amount of Pledge from Other Agency:</strong> ";
        // line 61
        echo twig_escape_filter($this->env, $this->getAttribute($this->getContext($context, "pledge"), "otherdesc2"), "html", null, true);
        echo " 
\t\t\t\t\t\t<br />
\t\t\t\t\t
\t\t\t\t</div>
\t\t\t
\t\t\t\t<div style=\"width:28%; float:right;\">
\t\t\t\t\t<br />&nbsp;<br />
\t\t\t\t\t
\t\t\t\t\t\t  \$ ";
        // line 69
        echo twig_escape_filter($this->env, twig_number_format_filter($this->env, $this->getAttribute($this->getContext($context, "pledge"), "pledgedorcas"), 2, ".", ","), "html", null, true);
        echo "
\t\t\t\t\t<br />
\t\t\t\t\t
\t\t\t\t\t
\t\t\t\t\t\t \$ ";
        // line 73
        echo twig_escape_filter($this->env, twig_number_format_filter($this->env, $this->getAttribute($this->getContext($context, "pledge"), "pledgeother"), 2, ".", ","), "html", null, true);
        echo " 
\t\t\t\t\t\t<br />
\t\t\t\t\t
\t\t\t\t\t\t  \$ ";
        // line 76
        echo twig_escape_filter($this->env, twig_number_format_filter($this->env, $this->getAttribute($this->getContext($context, "pledge"), "pledgeother2"), 2, ".", ","), "html", null, true);
        echo " 
\t\t\t\t\t\t<br />
\t\t\t\t\t
\t\t\t\t</div>
\t\t\t</div>
\t\t\t
\t\t\t
            <div style=\"padding:20px; height: 110px;\">
\t\t\t\t<strong>Type of Assistance (Rent, Water, Oasis, Gas, etc.):</strong> ";
        // line 84
        echo twig_escape_filter($this->env, $this->getAttribute($this->getContext($context, "pledge"), "checkpurpose"), "html", null, true);
        echo "
\t\t\t\t<br />

\t\t\t\t<strong>Account Number:</strong> ";
        // line 87
        echo twig_escape_filter($this->env, $this->getAttribute($this->getContext($context, "pledge"), "accountnumber"), "html", null, true);
        echo "
\t\t\t\t<span style=\"padding-left:96px;\"> <strong>Name on Bill: </strong>";
        // line 88
        echo twig_escape_filter($this->env, $this->getAttribute($this->getContext($context, "pledge"), "nameonbill"), "html", null, true);
        echo " </span>
\t\t\t\t<br />
\t\t\t\t<strong>Vendor Name:</strong> ";
        // line 90
        echo twig_escape_filter($this->env, $this->getAttribute($this->getContext($context, "pledge"), "vendorname"), "html", null, true);
        echo "
\t\t\t\t<br />
\t\t\t\t<strong>Vendor Address:</strong> ";
        // line 92
        echo twig_escape_filter($this->env, $this->getAttribute($this->getContext($context, "pledge"), "vendoraddress"), "html", null, true);
        echo "
\t\t\t\t<br />&nbsp;<br />
                                <div style=\"height:50px; width:130px; float:left;\">
                                    <strong>Pledge Made By:</strong>
                                </div>
\t\t\t\t<span style=\"padding-left:20px;\"> <strong>Phone: </strong></span>
\t\t\t\t
\t\t\t\t";
        // line 99
        if ($this->getAttribute($this->getContext($context, "pledge"), "vendorphone")) {
            // line 100
            echo "\t\t\t\t\t\t<input type=\"checkbox\" name=\"phone\" disabled=\"disabled\" checked=\"checked\" />
\t\t\t\t ";
        } else {
            // line 102
            echo "\t\t\t\t\t\t<input type=\"checkbox\" name=\"phone\" disabled=\"disabled\" />
\t\t\t\t";
        }
        // line 104
        echo "\t\t\t\t
\t\t\t\t<span style=\"padding-left:20px;\"> <strong>Vendor Contact: </strong>";
        // line 105
        echo twig_escape_filter($this->env, $this->getAttribute($this->getContext($context, "pledge"), "vendorcontact"), "html", null, true);
        echo "</span>
\t\t\t\t<br />
\t\t\t\t<span style=\"padding-left:20px;\"> <strong>On-line: </strong></span>
\t\t\t\t
\t\t\t\t";
        // line 109
        if ($this->getAttribute($this->getContext($context, "pledge"), "online")) {
            // line 110
            echo "\t\t\t\t\t\t<input type=\"checkbox\" name=\"online\" disabled=\"disabled\" checked=\"checked\" />
\t\t\t\t ";
        } else {
            // line 112
            echo "\t\t\t\t\t\t<input type=\"checkbox\" name=\"online\" disabled=\"disabled\" />
\t\t\t\t";
        }
        // line 114
        echo "\t\t\t\t
\t\t\t\t<span style=\"padding-left:12px;\"> <strong>Confirmation Number: </strong>";
        // line 115
        echo twig_escape_filter($this->env, $this->getAttribute($this->getContext($context, "pledge"), "confirmnum"), "html", null, true);
        echo "</span>
\t\t\t</div>
\t\t\t
\t\t\t
        </p>    
        
        
\t\t<div style=\"border:1px solid; padding: 14px; font-size:12px;\">
        ATTENTION: This is to confirm that Dorcas Ministries has pledged the above 
        stated amount toward the payment of the above-named clients's bill.  A check in
         this amount will be requested from our bookkeeper.
         <br />
         If you have any questions, you may contact Dorcas Ministries at
\t\t <br />&nbsp;
\t\t <center><strong>919-469-9861, ext. 201</strong></center>
\t\t  
\t\t </div>
       


        </section>
\t\t
\t\t\t<div id=\"footer\">
\t\t\t\t";
        // line 138
        $this->displayBlock('footer', $context, $blocks);
        // line 144
        echo "            </div>
    </body>
</html>



 
";
    }

    // line 138
    public function block_footer($context, array $blocks = array())
    {
        // line 139
        echo "\t\t\t\t&copy; 2012, Copyright JLS Consulting
\t\t\t\t\t\t<br>&nbsp;<br> 
\t\t\t\t\t\t <center><h8>Developed By:</h8></center>
\t\t\t\t\t\t <center><img src=\"";
        // line 142
        echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("bundles/dorcastabitha/images/jlsLogo_aqua.png"), "html", null, true);
        echo "\" alt=\"JLSConsulting\" /></center>                
\t\t\t\t";
    }

    public function getTemplateName()
    {
        return "DorcasTabithaBundle:Print:pledgeformprintable.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  258 => 142,  253 => 139,  250 => 138,  239 => 144,  237 => 138,  211 => 115,  208 => 114,  204 => 112,  200 => 110,  198 => 109,  191 => 105,  188 => 104,  184 => 102,  180 => 100,  178 => 99,  168 => 92,  163 => 90,  158 => 88,  154 => 87,  148 => 84,  137 => 76,  131 => 73,  124 => 69,  113 => 61,  106 => 57,  96 => 50,  87 => 44,  82 => 42,  77 => 40,  73 => 39,  60 => 29,  49 => 20,  47 => 19,  44 => 18,  42 => 17,  28 => 6,  24 => 5,  18 => 1,);
    }
}
