<?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
        if (isset($context["totalpledge"])) { $_totalpledge_ = $context["totalpledge"]; } else { $_totalpledge_ = null; }
        if (isset($context["pledge"])) { $_pledge_ = $context["pledge"]; } else { $_pledge_ = null; }
        $context["totalpledge"] = ((($_totalpledge_ + $this->getAttribute($_pledge_, "pledgedorcas")) + $this->getAttribute($_pledge_, "pledgeother")) + $this->getAttribute($_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
        if (isset($context["pledge"])) { $_pledge_ = $context["pledge"]; } else { $_pledge_ = null; }
        echo twig_escape_filter($this->env, $this->getAttribute($_pledge_, "counselor"), "html", null, true);
        echo "</span>
            <br /><br />
            <strong>Client Name:</strong> ";
        // line 42
        if (isset($context["pledge"])) { $_pledge_ = $context["pledge"]; } else { $_pledge_ = null; }
        echo twig_escape_filter($this->env, $this->getAttribute($_pledge_, "clientname"), "html", null, true);
        echo " 
            <br />
            <strong>Client Address:</strong> ";
        // line 44
        if (isset($context["pledge"])) { $_pledge_ = $context["pledge"]; } else { $_pledge_ = null; }
        echo twig_escape_filter($this->env, $this->getAttribute($_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
        if (isset($context["totalpledge"])) { $_totalpledge_ = $context["totalpledge"]; } else { $_totalpledge_ = null; }
        echo twig_escape_filter($this->env, twig_number_format_filter($this->env, $_totalpledge_, 2, ".", ","), "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
        if (isset($context["pledge"])) { $_pledge_ = $context["pledge"]; } else { $_pledge_ = null; }
        echo twig_escape_filter($this->env, $this->getAttribute($_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
        if (isset($context["pledge"])) { $_pledge_ = $context["pledge"]; } else { $_pledge_ = null; }
        echo twig_escape_filter($this->env, $this->getAttribute($_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
        if (isset($context["pledge"])) { $_pledge_ = $context["pledge"]; } else { $_pledge_ = null; }
        echo twig_escape_filter($this->env, twig_number_format_filter($this->env, $this->getAttribute($_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
        if (isset($context["pledge"])) { $_pledge_ = $context["pledge"]; } else { $_pledge_ = null; }
        echo twig_escape_filter($this->env, twig_number_format_filter($this->env, $this->getAttribute($_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
        if (isset($context["pledge"])) { $_pledge_ = $context["pledge"]; } else { $_pledge_ = null; }
        echo twig_escape_filter($this->env, twig_number_format_filter($this->env, $this->getAttribute($_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
        if (isset($context["pledge"])) { $_pledge_ = $context["pledge"]; } else { $_pledge_ = null; }
        echo twig_escape_filter($this->env, $this->getAttribute($_pledge_, "checkpurpose"), "html", null, true);
        echo "
\t\t\t\t<br />

\t\t\t\t<strong>Account Number:</strong> ";
        // line 87
        if (isset($context["pledge"])) { $_pledge_ = $context["pledge"]; } else { $_pledge_ = null; }
        echo twig_escape_filter($this->env, $this->getAttribute($_pledge_, "accountnumber"), "html", null, true);
        echo "
\t\t\t\t<span style=\"padding-left:96px;\"> <strong>Name on Bill: </strong>";
        // line 88
        if (isset($context["pledge"])) { $_pledge_ = $context["pledge"]; } else { $_pledge_ = null; }
        echo twig_escape_filter($this->env, $this->getAttribute($_pledge_, "nameonbill"), "html", null, true);
        echo " </span>
\t\t\t\t<br />
\t\t\t\t<strong>Vendor Name:</strong> ";
        // line 90
        if (isset($context["pledge"])) { $_pledge_ = $context["pledge"]; } else { $_pledge_ = null; }
        echo twig_escape_filter($this->env, $this->getAttribute($_pledge_, "vendorname"), "html", null, true);
        echo "
\t\t\t\t<br />
\t\t\t\t<strong>Vendor Address:</strong> ";
        // line 92
        if (isset($context["pledge"])) { $_pledge_ = $context["pledge"]; } else { $_pledge_ = null; }
        echo twig_escape_filter($this->env, $this->getAttribute($_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 (isset($context["pledge"])) { $_pledge_ = $context["pledge"]; } else { $_pledge_ = null; }
        if ($this->getAttribute($_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
        if (isset($context["pledge"])) { $_pledge_ = $context["pledge"]; } else { $_pledge_ = null; }
        echo twig_escape_filter($this->env, $this->getAttribute($_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 (isset($context["pledge"])) { $_pledge_ = $context["pledge"]; } else { $_pledge_ = null; }
        if ($this->getAttribute($_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
        if (isset($context["pledge"])) { $_pledge_ = $context["pledge"]; } else { $_pledge_ = null; }
        echo twig_escape_filter($this->env, $this->getAttribute($_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 (  278 => 142,  270 => 138,  259 => 144,  227 => 114,  216 => 109,  159 => 84,  140 => 73,  120 => 61,  18 => 1,  347 => 201,  344 => 200,  306 => 165,  300 => 163,  295 => 161,  226 => 112,  53 => 12,  813 => 347,  784 => 322,  779 => 321,  772 => 318,  767 => 317,  760 => 314,  755 => 313,  748 => 310,  743 => 309,  736 => 306,  731 => 305,  724 => 302,  719 => 301,  712 => 298,  707 => 297,  700 => 294,  695 => 293,  688 => 290,  683 => 289,  676 => 286,  671 => 285,  664 => 282,  659 => 281,  652 => 278,  647 => 277,  640 => 274,  635 => 273,  625 => 267,  618 => 264,  611 => 261,  604 => 258,  597 => 255,  590 => 252,  583 => 249,  576 => 246,  569 => 243,  562 => 240,  548 => 234,  541 => 231,  529 => 223,  524 => 222,  517 => 219,  512 => 218,  505 => 215,  500 => 214,  493 => 211,  488 => 210,  481 => 207,  476 => 206,  469 => 203,  464 => 202,  452 => 198,  445 => 195,  440 => 194,  433 => 191,  428 => 190,  421 => 187,  409 => 183,  404 => 182,  397 => 179,  392 => 178,  380 => 174,  373 => 171,  368 => 170,  357 => 163,  336 => 154,  329 => 151,  266 => 124,  243 => 121,  231 => 105,  116 => 34,  588 => 205,  582 => 203,  575 => 200,  570 => 199,  555 => 237,  550 => 187,  545 => 186,  538 => 183,  533 => 182,  528 => 181,  521 => 178,  516 => 177,  511 => 176,  497 => 166,  492 => 165,  487 => 164,  480 => 161,  475 => 160,  470 => 159,  463 => 156,  458 => 155,  442 => 147,  437 => 146,  432 => 145,  425 => 142,  415 => 140,  407 => 136,  402 => 135,  395 => 132,  390 => 131,  385 => 175,  372 => 125,  367 => 124,  360 => 121,  343 => 157,  325 => 110,  320 => 109,  303 => 164,  298 => 103,  290 => 99,  285 => 98,  280 => 130,  273 => 139,  263 => 133,  256 => 89,  251 => 125,  246 => 87,  234 => 116,  229 => 82,  221 => 78,  168 => 78,  151 => 56,  97 => 24,  75 => 39,  457 => 199,  453 => 154,  449 => 203,  443 => 202,  436 => 197,  429 => 195,  426 => 194,  420 => 141,  416 => 186,  413 => 191,  410 => 190,  408 => 189,  405 => 188,  398 => 185,  391 => 182,  384 => 179,  377 => 126,  369 => 172,  365 => 170,  362 => 169,  359 => 168,  354 => 167,  352 => 166,  322 => 148,  315 => 145,  308 => 142,  301 => 139,  281 => 122,  276 => 119,  272 => 117,  268 => 93,  260 => 113,  242 => 105,  237 => 104,  233 => 103,  220 => 99,  210 => 100,  207 => 97,  192 => 69,  185 => 66,  164 => 78,  145 => 69,  142 => 64,  131 => 43,  125 => 59,  81 => 30,  70 => 13,  41 => 4,  174 => 80,  169 => 61,  128 => 50,  203 => 71,  187 => 61,  141 => 54,  129 => 63,  119 => 37,  59 => 8,  370 => 141,  355 => 120,  350 => 202,  345 => 128,  338 => 115,  333 => 114,  328 => 123,  321 => 120,  316 => 119,  311 => 118,  304 => 115,  299 => 114,  294 => 136,  287 => 133,  274 => 101,  269 => 100,  264 => 99,  257 => 138,  247 => 106,  240 => 91,  223 => 112,  218 => 85,  213 => 84,  205 => 104,  195 => 93,  188 => 75,  183 => 92,  171 => 88,  149 => 71,  137 => 63,  72 => 35,  40 => 5,  21 => 3,  252 => 107,  248 => 110,  244 => 73,  236 => 106,  230 => 115,  225 => 63,  222 => 62,  212 => 98,  204 => 98,  200 => 94,  197 => 100,  177 => 90,  160 => 54,  157 => 71,  126 => 18,  106 => 52,  98 => 36,  184 => 60,  181 => 59,  173 => 38,  163 => 60,  155 => 63,  139 => 66,  135 => 58,  133 => 58,  114 => 48,  110 => 32,  105 => 30,  93 => 46,  76 => 22,  69 => 20,  209 => 74,  206 => 51,  201 => 102,  194 => 99,  191 => 70,  186 => 88,  180 => 65,  176 => 61,  166 => 87,  158 => 59,  153 => 62,  143 => 49,  134 => 51,  123 => 53,  118 => 56,  90 => 21,  87 => 18,  66 => 18,  60 => 11,  146 => 55,  136 => 59,  122 => 53,  107 => 33,  101 => 50,  95 => 29,  82 => 25,  73 => 22,  67 => 12,  52 => 14,  109 => 23,  104 => 34,  96 => 32,  84 => 19,  80 => 34,  26 => 7,  34 => 3,  112 => 57,  102 => 40,  89 => 47,  63 => 28,  56 => 12,  43 => 8,  92 => 34,  79 => 40,  57 => 18,  46 => 6,  37 => 4,  33 => 14,  29 => 2,  19 => 1,  44 => 18,  27 => 4,  55 => 14,  45 => 8,  36 => 3,  50 => 21,  47 => 19,  30 => 4,  25 => 3,  249 => 96,  239 => 84,  235 => 90,  228 => 84,  224 => 102,  219 => 110,  217 => 58,  214 => 75,  211 => 75,  208 => 105,  202 => 71,  199 => 93,  193 => 44,  182 => 84,  178 => 84,  175 => 81,  172 => 59,  165 => 55,  161 => 75,  156 => 51,  154 => 72,  150 => 50,  147 => 76,  132 => 69,  127 => 62,  117 => 51,  113 => 33,  86 => 32,  83 => 17,  78 => 37,  68 => 30,  64 => 34,  61 => 21,  48 => 4,  39 => 3,  32 => 5,  24 => 5,  22 => 2,  23 => 3,  20 => 2,  17 => 1,  144 => 62,  138 => 60,  130 => 60,  124 => 38,  121 => 36,  115 => 45,  111 => 64,  108 => 31,  99 => 43,  94 => 20,  91 => 44,  88 => 28,  85 => 42,  77 => 58,  74 => 23,  71 => 13,  65 => 12,  62 => 29,  58 => 15,  54 => 17,  51 => 20,  42 => 17,  38 => 11,  35 => 6,  31 => 2,  28 => 6,);
    }
}
