<?php

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

        $this->parent = false;

        $this->blocks = array(
        );
    }

    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();   
            }); 
        });

        function displayemail()
        {
            var textareaid = document.getElementById('emailList');
            if ( textareaid.style.display=='none')
            {
                textareaid.style.display='block';
            }
            else
            {
                textareaid.style.display='none';
            }

        }

        </script>

    </head>
    <body style=\"padding: 20px; padding-top:40px;\"> 
        <section>

        <div style=\"position:absolute; top:10px; left: 10px;\">
            <input type=\"button\" value=\"Print\" id=\"print_req\" />
        </div>

    <div id=\"referral_master\" style=\" padding: 40px; \">


        <h2 style=\"line-height: 8px;\"><center>Clients Referred To Agencies</center></h2>
        <h4 style=\"line-height: 8px;\"><center>From ";
        // line 43
        echo twig_escape_filter($this->env, $this->getContext($context, "start"), "html", null, true);
        echo " to ";
        echo twig_escape_filter($this->env, $this->getContext($context, "end"), "html", null, true);
        echo "</center></h4></center>
        <h5 style=\"line-height: 4px;\"><center> Report Date: &nbsp;";
        // line 44
        echo twig_escape_filter($this->env, twig_date_format_filter($this->env, "now", "m/d/Y"), "html", null, true);
        echo "</center></h5>
        <h5 style=\"line-height: 1px;\"><center> Provided For ";
        // line 45
        echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getContext($context, "app"), "user"), "firstname"), "html", null, true);
        echo " ";
        echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getContext($context, "app"), "user"), "lastname"), "html", null, true);
        echo "</center></h5>


        ";
        // line 48
        $context["dorcasprograms"] = array(0 => "The Benefit Bank", 1 => "Budget Counseling", 2 => "Childcare Scholarship", 3 => "Jobs for Life at Dorcas", 4 => "JobLink", 5 => "Margaret Keller Scholarship", 6 => "Dorcas Resource Office", 7 => "Other Dorcas Programs");
        // line 50
        echo "        <br /><h5>Dorcas Programs</h5> 
        ";
        // line 51
        $context["i"] = 0;
        // line 52
        echo "        ";
        $context['_parent'] = (array) $context;
        $context['_seq'] = twig_ensure_traversable($this->getContext($context, "dorcasprograms"));
        foreach ($context['_seq'] as $context["_key"] => $context["dorcasprogram"]) {
            echo "          
            <div id=\"dorcas_programs\" style=\"padding-left:40px;\">
                ";
            // line 54
            echo $this->env->getExtension('actions')->renderAction("DorcasTabithaBundle:Print:referredToSelect", array("agencyNumber" => $this->getContext($context, "i"), "agencyName" => $this->getContext($context, "dorcasprogram")), array());
            // line 55
            echo "                ";
            $context["i"] = ($this->getContext($context, "i") + 1);
            // line 56
            echo "            </div>
        ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['dorcasprogram'], $context['_parent'], $context['loop']);
        $context = array_merge($_parent, array_intersect_key($context, $_parent));
        // line 58
        echo "

        ";
        // line 60
        $context["crisisprograms"] = array(0 => "Catholic Parish Outreach", 1 => "Resources for Seniors", 2 => "Salvation Army", 3 => "Triangle Family Services", 4 => "Wake County Human Services", 5 => "Western Wake Crisis Ministry", 6 => "With Love from Jesus", 7 => "Other Crisis Assistance Programs");
        // line 62
        echo "        <br /><h5>Crisis Assistance Programs</h5> 
        ";
        // line 63
        $context['_parent'] = (array) $context;
        $context['_seq'] = twig_ensure_traversable($this->getContext($context, "crisisprograms"));
        foreach ($context['_seq'] as $context["_key"] => $context["crisisprogram"]) {
            echo "          
            <div id=\"dorcas_programs\" style=\"padding-left:40px;\">
                ";
            // line 65
            echo $this->env->getExtension('actions')->renderAction("DorcasTabithaBundle:Print:referredToSelect", array("agencyNumber" => $this->getContext($context, "i"), "agencyName" => $this->getContext($context, "crisisprogram")), array());
            // line 66
            echo "                ";
            $context["i"] = ($this->getContext($context, "i") + 1);
            // line 67
            echo "            </div>
        ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['crisisprogram'], $context['_parent'], $context['loop']);
        $context = array_merge($_parent, array_intersect_key($context, $_parent));
        // line 69
        echo "
        ";
        // line 70
        $context["housing"] = array(0 => "Cornerstone", 1 => "Raleigh Rescue Mission", 2 => "Salvation Army", 3 => "South Wilmington Shelter", 4 => "Wake Interfaith Hospitality Network", 5 => "Interact", 6 => "Carying Place", 7 => "Other Housing Program");
        // line 73
        echo "
        <br /><h5>Housing Programs</h5> 
        ";
        // line 75
        $context['_parent'] = (array) $context;
        $context['_seq'] = twig_ensure_traversable($this->getContext($context, "housing"));
        foreach ($context['_seq'] as $context["_key"] => $context["house"]) {
            echo "          
            <div id=\"dorcas_programs\" style=\"padding-left:40px;\">
                ";
            // line 77
            echo $this->env->getExtension('actions')->renderAction("DorcasTabithaBundle:Print:referredToSelect", array("agencyNumber" => $this->getContext($context, "i"), "agencyName" => $this->getContext($context, "house")), array());
            // line 78
            echo "                ";
            $context["i"] = ($this->getContext($context, "i") + 1);
            // line 79
            echo "            </div>
        ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['house'], $context['_parent'], $context['loop']);
        $context = array_merge($_parent, array_intersect_key($context, $_parent));
        // line 81
        echo "

        ";
        // line 83
        $context["employements"] = array(0 => "Jobs for Life", 1 => "Job Link ", 2 => "Step Up Ministry", 3 => "Other Employment Program");
        // line 84
        echo "
        <br /><h5>Employment</h5> 
        ";
        // line 86
        $context['_parent'] = (array) $context;
        $context['_seq'] = twig_ensure_traversable($this->getContext($context, "employements"));
        foreach ($context['_seq'] as $context["_key"] => $context["employement"]) {
            echo "          
            <div id=\"dorcas_programs\" style=\"padding-left:40px;\">
                ";
            // line 88
            echo $this->env->getExtension('actions')->renderAction("DorcasTabithaBundle:Print:referredToSelect", array("agencyNumber" => $this->getContext($context, "i"), "agencyName" => $this->getContext($context, "employement")), array());
            // line 89
            echo "                ";
            $context["i"] = ($this->getContext($context, "i") + 1);
            // line 90
            echo "            </div>
        ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['employement'], $context['_parent'], $context['loop']);
        $context = array_merge($_parent, array_intersect_key($context, $_parent));
        // line 92
        echo "
        ";
        // line 93
        $context["educations"] = array(0 => "English as a Second Language", 1 => "GED Classes", 2 => "Wake Tech Classes", 3 => "Parenting Classes", 4 => "Other Training");
        // line 95
        echo "
        <br /><h5>Education</h5> 
        ";
        // line 97
        $context['_parent'] = (array) $context;
        $context['_seq'] = twig_ensure_traversable($this->getContext($context, "educations"));
        foreach ($context['_seq'] as $context["_key"] => $context["education"]) {
            echo "          
            <div id=\"dorcas_programs\" style=\"padding-left:40px;\">
                ";
            // line 99
            echo $this->env->getExtension('actions')->renderAction("DorcasTabithaBundle:Print:referredToSelect", array("agencyNumber" => $this->getContext($context, "i"), "agencyName" => $this->getContext($context, "education")), array());
            // line 100
            echo "                ";
            $context["i"] = ($this->getContext($context, "i") + 1);
            // line 101
            echo "            </div>
        ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['education'], $context['_parent'], $context['loop']);
        $context = array_merge($_parent, array_intersect_key($context, $_parent));
        // line 103
        echo "
        ";
        // line 104
        $context["healthdentals"] = array(0 => "Alliance Medical Ministry ", 1 => "FIGS Prescription Program", 2 => "North Carolina Dental Bus ", 3 => "The Open Door Clinic ", 4 => "UNC Dental Clinic", 5 => "Wake Health Services", 6 => "Other Medical Program");
        // line 106
        echo "
        <br /><h5>Health and Dental </h5> 
        ";
        // line 108
        $context['_parent'] = (array) $context;
        $context['_seq'] = twig_ensure_traversable($this->getContext($context, "healthdentals"));
        foreach ($context['_seq'] as $context["_key"] => $context["healthdental"]) {
            echo "          
            <div id=\"dorcas_programs\" style=\"padding-left:40px;\">
                ";
            // line 110
            echo $this->env->getExtension('actions')->renderAction("DorcasTabithaBundle:Print:referredToSelect", array("agencyNumber" => $this->getContext($context, "i"), "agencyName" => $this->getContext($context, "healthdental")), array());
            // line 111
            echo "                ";
            $context["i"] = ($this->getContext($context, "i") + 1);
            // line 112
            echo "            </div>
        ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['healthdental'], $context['_parent'], $context['loop']);
        $context = array_merge($_parent, array_intersect_key($context, $_parent));
        // line 114
        echo "

        ";
        // line 116
        $context["mentalhealths"] = array(0 => "Center for Hope and Healing ", 1 => "Triangle Family Services ", 2 => "Wake County Mental Health", 3 => "Other Mental Health Program");
        // line 117
        echo "
        <br /><h5>Mental Health</h5> 
        ";
        // line 119
        $context['_parent'] = (array) $context;
        $context['_seq'] = twig_ensure_traversable($this->getContext($context, "mentalhealths"));
        foreach ($context['_seq'] as $context["_key"] => $context["mentalhealth"]) {
            echo "          
            <div id=\"dorcas_programs\" style=\"padding-left:40px;\">
                ";
            // line 121
            echo $this->env->getExtension('actions')->renderAction("DorcasTabithaBundle:Print:referredToSelect", array("agencyNumber" => $this->getContext($context, "i"), "agencyName" => $this->getContext($context, "mentalhealth")), array());
            // line 122
            echo "                ";
            $context["i"] = ($this->getContext($context, "i") + 1);
            // line 123
            echo "            </div>
        ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['mentalhealth'], $context['_parent'], $context['loop']);
        $context = array_merge($_parent, array_intersect_key($context, $_parent));
        // line 125
        echo "
        ";
        // line 126
        $context["recoverys"] = array(0 => "Haven House", 1 => "Oxford House", 2 => "South Light ", 3 => "The Healing Place of Wake County", 4 => "Triangle Alano Club", 5 => "Other Recovery Program");
        // line 128
        echo "
        <br /><h5>Recovery Programs</h5> 
        ";
        // line 130
        $context['_parent'] = (array) $context;
        $context['_seq'] = twig_ensure_traversable($this->getContext($context, "recoverys"));
        foreach ($context['_seq'] as $context["_key"] => $context["recovery"]) {
            echo "          
            <div id=\"dorcas_programs\" style=\"padding-left:40px;\">
                ";
            // line 132
            echo $this->env->getExtension('actions')->renderAction("DorcasTabithaBundle:Print:referredToSelect", array("agencyNumber" => $this->getContext($context, "i"), "agencyName" => $this->getContext($context, "recovery")), array());
            // line 133
            echo "                ";
            $context["i"] = ($this->getContext($context, "i") + 1);
            // line 134
            echo "            </div>
        ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['recovery'], $context['_parent'], $context['loop']);
        $context = array_merge($_parent, array_intersect_key($context, $_parent));
        // line 136
        echo "
        ";
        // line 137
        $context["legalservices"] = array(0 => "Legal Aid ", 1 => "North Carolina Legal Services", 2 => "Other Legal Services");
        // line 138
        echo "
        <br /><h5>Legal Services</h5> 
        ";
        // line 140
        $context['_parent'] = (array) $context;
        $context['_seq'] = twig_ensure_traversable($this->getContext($context, "legalservices"));
        foreach ($context['_seq'] as $context["_key"] => $context["legalservice"]) {
            echo "          
            <div id=\"dorcas_programs\" style=\"padding-left:40px;\">
                ";
            // line 142
            echo $this->env->getExtension('actions')->renderAction("DorcasTabithaBundle:Print:referredToSelect", array("agencyNumber" => $this->getContext($context, "i"), "agencyName" => $this->getContext($context, "legalservice")), array());
            // line 143
            echo "                ";
            $context["i"] = ($this->getContext($context, "i") + 1);
            // line 144
            echo "            </div>
        ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['legalservice'], $context['_parent'], $context['loop']);
        $context = array_merge($_parent, array_intersect_key($context, $_parent));
        // line 146
        echo "
        ";
        // line 147
        $context["specialprograms"] = array(0 => "Christmas", 1 => "Thanksgiving Program ", 2 => "Dorcas Email List ", 3 => "Other Special Program");
        // line 149
        echo "
        <br /><h5>Special Programs</h5> 
        ";
        // line 151
        $context['_parent'] = (array) $context;
        $context['_seq'] = twig_ensure_traversable($this->getContext($context, "specialprograms"));
        foreach ($context['_seq'] as $context["_key"] => $context["specialprogram"]) {
            echo "          
            <div id=\"dorcas_programs\" style=\"padding-left:40px;\">
                ";
            // line 153
            echo $this->env->getExtension('actions')->renderAction("DorcasTabithaBundle:Print:referredToSelect", array("agencyNumber" => $this->getContext($context, "i"), "agencyName" => $this->getContext($context, "specialprogram")), array());
            // line 154
            echo "                ";
            $context["i"] = ($this->getContext($context, "i") + 1);
            // line 155
            echo "            </div>
        ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['specialprogram'], $context['_parent'], $context['loop']);
        $context = array_merge($_parent, array_intersect_key($context, $_parent));
        // line 157
        echo "
    </div>

    <br>&nbsp;<br> 
    <br>&nbsp;<br> 
</section>
</body>
</html>";
    }

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

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  366 => 157,  359 => 155,  356 => 154,  354 => 153,  347 => 151,  343 => 149,  341 => 147,  338 => 146,  331 => 144,  328 => 143,  326 => 142,  319 => 140,  315 => 138,  313 => 137,  310 => 136,  303 => 134,  300 => 133,  298 => 132,  291 => 130,  287 => 128,  285 => 126,  282 => 125,  275 => 123,  272 => 122,  270 => 121,  263 => 119,  259 => 117,  257 => 116,  253 => 114,  246 => 112,  243 => 111,  241 => 110,  234 => 108,  230 => 106,  228 => 104,  225 => 103,  218 => 101,  215 => 100,  213 => 99,  206 => 97,  202 => 95,  200 => 93,  197 => 92,  190 => 90,  187 => 89,  185 => 88,  178 => 86,  174 => 84,  172 => 83,  168 => 81,  161 => 79,  158 => 78,  156 => 77,  149 => 75,  145 => 73,  143 => 70,  140 => 69,  133 => 67,  130 => 66,  128 => 65,  121 => 63,  118 => 62,  116 => 60,  112 => 58,  105 => 56,  102 => 55,  100 => 54,  92 => 52,  90 => 51,  87 => 50,  85 => 48,  77 => 45,  73 => 44,  67 => 43,  27 => 6,  23 => 5,  17 => 1,);
    }
}
