<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* pdf/point_par_client.html.twig */
class __TwigTemplate_017c58eabc1fe602cbe3f9a67e5e5fd933252c89b5222af2759cbe0745026eb0 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "pdf/point_par_client.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "pdf/point_par_client.html.twig"));
// line 1
echo "<style>
\tdiv#page-impression{
background-color: #efefef;
font-family: Arial;
font-weight: normal;
font-size: 16px;
color: #999;
\t\twidth: 80%;
\t\tmargin: auto;
}
p{
padding: 0;
margin: 5px 0;
}
.hr{
height: 1px;
border-top: 1px solid #999;
background-color: #999;
}
p.facture-header{
display: inline-block;
font-size: 8px;
line-height: 0px!important;
background-color: #0a001f;
}
p.facture-footer{
\tfont-size: 10px;
//line-height: 0px!important;
//line-height: 50%;
\t\tfont-style: italic;
\t\tfont-weight: bold;
}
p.mentionvalide{
font-size: 10px;
font-style: italic;
}
.text-black{
color: #000;
}
.block{
padding: 5px;
border-radius: 10px;
border: 1px solid #000;
}
table.table-body{
border:1px solid #bbb;
border-collapse: collapse;
}
table.table-body tr td, table.table-body tr th {
border:1px solid #bbb;
}
table.table-body tr th {
padding: 7px;
}
table.table-body tr td{
text-align: left;
}
table th.table-head-th-bg{
text-align: center;
}
table.table-body .table-footer-th-bg{
background: transparent;
color: #000;
font-weight: bold;
}
table{
color: #000;
font-size: 12px;
}
table tr td.border-none {
border-bottom:none;
}
table tr td.bordered-top {
border-top: 1px solid #bbb;
}
.text-center{
text-align: center;
}
.text-left{
text-align: left;
}
.text-right{
text-align: right;
}
.text-blue{
}
\t
\tdiv#page-entiere{
\t\tposition: relative;
\t\twidth: 80%;
\t\tmargin: auto;
\t\theight: 99%;
\t\tfont-family: Times, serif;
\t}
\t
div#hauteur-entete-exterieur{
height: ";
// line 106
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["boutique"]) || array_key_exists("boutique", $context) ? $context["boutique"] : (function () { throw new RuntimeError('Variable "boutique" does not exist.', 106, $this->source); })()), "settings", [], "any", false, false, false, 106), "margeEntete", [], "any", false, false, false, 106), "html", null, true);
echo "px;
}
div#hauteur-pied-exterieur{
height: ";
// line 110
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["boutique"]) || array_key_exists("boutique", $context) ? $context["boutique"] : (function () { throw new RuntimeError('Variable "boutique" does not exist.', 110, $this->source); })()), "settings", [], "any", false, false, false, 110), "margePiedDePage", [], "any", false, false, false, 110), "html", null, true);
echo "px;
}
\tdiv#footer{
\t\tposition: absolute;
\t\tbottom: 40px;
\t\tfont-family: Times, serif;
\t\t
\t}
\t
</style>
";
// line 125
echo "<div id=\"page-entiere\" data-size=\"A4\">
<div id=\"impression\">
";
// line 127
if ((0 === twig_compare(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["boutique"]) || array_key_exists("boutique", $context) ? $context["boutique"] : (function () { throw new RuntimeError('Variable "boutique" does not exist.', 127, $this->source); })()), "settings", [], "any", false, false, false, 127), "factureContientEntete", [], "any", false, false, false, 127), false))) {
// line 128
echo " <div>
";
// line 130
echo " <table>
<tr>
";
// line 133
echo " <td align=\"center\" style=\"width: 25mm;\" valign=\"top\">
<img class=\"img-responsive\" src=\"";
// line 134
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["boutique"]) || array_key_exists("boutique", $context) ? $context["boutique"] : (function () { throw new RuntimeError('Variable "boutique" does not exist.', 134, $this->source); })()), "logo", [], "any", false, false, false, 134), "originalUrl", [], "any", false, false, false, 134), "html", null, true);
echo "\" width=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["boutique"]) || array_key_exists("boutique", $context) ? $context["boutique"] : (function () { throw new RuntimeError('Variable "boutique" does not exist.', 134, $this->source); })()), "settings", [], "any", false, false, false, 134), "tailleLogoSurLesDocuments", [], "any", false, false, false, 134), "html", null, true);
echo "\" alt=\"\">
</td>
\t\t\t\t<td style=\"width: 178mm;\"><p>";
// line 136
echo twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["boutique"]) || array_key_exists("boutique", $context) ? $context["boutique"] : (function () { throw new RuntimeError('Variable "boutique" does not exist.', 136, $this->source); })()), "settings", [], "any", false, false, false, 136), "enteDocument", [], "any", false, false, false, 136);
echo "</p></td>
</tr>
</table>
<hr class=\"hr\">
";
// line 142
echo " </div>
";
} else {
// line 144
echo " <div id=\"hauteur-entete-exterieur\">
</div>
";
}
// line 147
echo " ";
$context["vehicules"] = [0 => 22, 1 => 23, 2 => 28];
// line 148
echo "
";
// line 149
$context["ht"] = 0;
// line 150
echo "\t";
$context["tva"] = 0;
// line 151
echo "\t";
$context["remise"] = 0;
// line 152
echo "\t";
$context["ttc"] = 0;
// line 153
echo "\t";
$context["totalPaye"] = 0;
// line 154
echo "\t";
$context["totalResteAPayer"] = 0;
// line 155
echo "
<table class=\"table\" border=\"0\" style=\"margin-top: 0px\">
<tr>
<td align=\"left\" style=\"width: 160px;\" valign=\"top\">
</td>
<td align=\"left\" style=\"width: 200px;\" valign=\"top\">
<table style=\"width: 300px;\">
<tr>
<td><h5 style=\"position: relative; top: -7px; margin-right: 10px;\"></h5></td>
</tr>
</table>
</td>
</tr>
</table>
<table class=\"table\" border=\"0\" style=\"margin-top: 10px\">
<tr>
<td><u><h4>Point de ";
// line 173
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["client"]) || array_key_exists("client", $context) ? $context["client"] : (function () { throw new RuntimeError('Variable "client" does not exist.', 173, $this->source); })()), "nom", [], "any", false, false, false, 173), "html", null, true);
echo " de ";
echo twig_escape_filter($this->env, twig_date_format_filter($this->env, (isset($context["dateDebut"]) || array_key_exists("dateDebut", $context) ? $context["dateDebut"] : (function () { throw new RuntimeError('Variable "dateDebut" does not exist.', 173, $this->source); })()), "d/m/Y"), "html", null, true);
echo " à ";
echo twig_escape_filter($this->env, twig_date_format_filter($this->env, (isset($context["dateFin"]) || array_key_exists("dateFin", $context) ? $context["dateFin"] : (function () { throw new RuntimeError('Variable "dateFin" does not exist.', 173, $this->source); })()), "d/m/Y"), "html", null, true);
echo "</h4></u></td>
</tr>
</table>
<table class=\"table-body\" border=\"0\" style=\"width: 100%\">
<tr>
<th class=\"table-head-th-bg\" width=\"60\">";
// line 178
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("admin.number"), "html", null, true);
echo "</th>
\t\t\t<th class=\"table-head-th-bg\" width=\"50\">";
// line 179
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("admin.date"), "html", null, true);
echo "</th>
<th class=\"table-head-th-bg\" width=\"60\">";
// line 180
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("admin.totalHT"), "html", null, true);
echo "</th>
<th class=\"table-head-th-bg\" width=\"60\">";
// line 181
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("admin.totalTVA"), "html", null, true);
echo "</th>
<th class=\"table-head-th-bg\" width=\"60\">";
// line 182
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("admin.totalTTC"), "html", null, true);
echo "</th>
\t\t\t<th class=\"table-head-th-bg\" width=\"70\">";
// line 183
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("admin.paye"), "html", null, true);
echo "</th>
\t\t\t<th class=\"table-head-th-bg\" width=\"70\">";
// line 184
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("admin.reste_a_payer"), "html", null, true);
echo "</th>
</tr>
<tbody>
";
// line 189
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["invoices"]) || array_key_exists("invoices", $context) ? $context["invoices"] : (function () { throw new RuntimeError('Variable "invoices" does not exist.', 189, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["proposal"]) {
// line 190
echo "\t\t\t\t";
$context["totalPaye"] = (twig_get_attribute($this->env, $this->source, $context["proposal"], "montantPaye", [], "any", false, false, false, 190) + (isset($context["totalPaye"]) || array_key_exists("totalPaye", $context) ? $context["totalPaye"] : (function () { throw new RuntimeError('Variable "totalPaye" does not exist.', 190, $this->source); })()));
// line 191
echo "\t\t\t\t";
$context["totalResteAPayer"] = (twig_get_attribute($this->env, $this->source, $context["proposal"], "resteAPayer", [], "any", false, false, false, 191) + (isset($context["totalResteAPayer"]) || array_key_exists("totalResteAPayer", $context) ? $context["totalResteAPayer"] : (function () { throw new RuntimeError('Variable "totalResteAPayer" does not exist.', 191, $this->source); })()));
// line 192
echo "
\t\t\t\t";
// line 193
$context["ht"] = ((isset($context["ht"]) || array_key_exists("ht", $context) ? $context["ht"] : (function () { throw new RuntimeError('Variable "ht" does not exist.', 193, $this->source); })()) + twig_get_attribute($this->env, $this->source, $context["proposal"], "totalHTApresRemise", [], "any", false, false, false, 193));
// line 194
echo " ";
$context["tva"] = ((isset($context["tva"]) || array_key_exists("tva", $context) ? $context["tva"] : (function () { throw new RuntimeError('Variable "tva" does not exist.', 194, $this->source); })()) + twig_get_attribute($this->env, $this->source, $context["proposal"], "totalTVA", [], "any", false, false, false, 194));
// line 195
echo "\t\t\t\t";
$context["remise"] = ((isset($context["remise"]) || array_key_exists("remise", $context) ? $context["remise"] : (function () { throw new RuntimeError('Variable "remise" does not exist.', 195, $this->source); })()) + twig_get_attribute($this->env, $this->source, $context["proposal"], "remise", [], "any", false, false, false, 195));
// line 196
echo "\t\t\t\t";
$context["ttc"] = ((isset($context["ttc"]) || array_key_exists("ttc", $context) ? $context["ttc"] : (function () { throw new RuntimeError('Variable "ttc" does not exist.', 196, $this->source); })()) + twig_get_attribute($this->env, $this->source, $context["proposal"], "totalTTC", [], "any", false, false, false, 196));
// line 197
echo "\t\t\t <tr class=\"table-body-th-bg\">
\t\t\t\t<td class=\"border-none text-left\">";
// line 198
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["proposal"], "numero", [], "any", false, false, false, 198), "html", null, true);
echo "</td>
\t\t\t\t<td class=\"border-none text-left\">";
// line 199
echo twig_escape_filter($this->env, twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, $context["proposal"], "laDate", [], "any", false, false, false, 199), "d/m/Y"), "html", null, true);
echo "</td>
\t\t\t\t
\t\t\t\t<td class=\"border-none text-left\">";
// line 201
echo twig_escape_filter($this->env, twig_number_format_filter($this->env, twig_get_attribute($this->env, $this->source, $context["proposal"], "totalHTApresRemise", [], "any", false, false, false, 201), 0, "", " "), "html", null, true);
echo "</td>
\t\t\t\t<td class=\"border-none text-left\">";
// line 202
if ((1 === twig_compare(twig_get_attribute($this->env, $this->source, $context["proposal"], "totalTVA", [], "any", false, false, false, 202), 0))) {
echo twig_escape_filter($this->env, twig_number_format_filter($this->env, twig_get_attribute($this->env, $this->source, $context["proposal"], "totalTVA", [], "any", false, false, false, 202), 0, "", " "), "html", null, true);
}
echo "</td>
\t\t\t\t<td class=\"border-none text-left\">";
// line 203
echo twig_escape_filter($this->env, twig_number_format_filter($this->env, twig_get_attribute($this->env, $this->source, $context["proposal"], "totalTTC", [], "any", false, false, false, 203), 0, "", " "), "html", null, true);
echo "</td>
\t\t\t\t<td class=\"border-none text-left\">";
// line 204
if ((1 === twig_compare(twig_get_attribute($this->env, $this->source, $context["proposal"], "montantPaye", [], "any", false, false, false, 204), 0))) {
echo twig_escape_filter($this->env, twig_number_format_filter($this->env, twig_get_attribute($this->env, $this->source, $context["proposal"], "montantPaye", [], "any", false, false, false, 204), 0, "", " "), "html", null, true);
}
echo "</td>
\t\t\t\t<td class=\"border-none text-left\">";
// line 205
if ((1 === twig_compare(twig_get_attribute($this->env, $this->source, $context["proposal"], "resteAPayer", [], "any", false, false, false, 205), 0))) {
echo " ";
echo twig_escape_filter($this->env, twig_number_format_filter($this->env, twig_get_attribute($this->env, $this->source, $context["proposal"], "resteAPayer", [], "any", false, false, false, 205), 0, "", " "), "html", null, true);
}
echo "</td>
\t\t\t\t
\t\t\t </tr>
\t\t\t ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['proposal'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 208
echo "\t\t
<tr>
<td colspan=\"7\"></td>
</tr>
<tr>
<td colspan=\"2\"></td>
<td class=\"border-none text-left\">";
// line 214
echo twig_escape_filter($this->env, twig_number_format_filter($this->env, (isset($context["ht"]) || array_key_exists("ht", $context) ? $context["ht"] : (function () { throw new RuntimeError('Variable "ht" does not exist.', 214, $this->source); })()), 0, "", " "), "html", null, true);
echo "</td>
<td class=\"border-none text-left\">";
// line 215
echo twig_escape_filter($this->env, twig_number_format_filter($this->env, (isset($context["tva"]) || array_key_exists("tva", $context) ? $context["tva"] : (function () { throw new RuntimeError('Variable "tva" does not exist.', 215, $this->source); })()), 0, "", " "), "html", null, true);
echo "</td>
<td class=\"border-none text-left\">";
// line 216
echo twig_escape_filter($this->env, twig_number_format_filter($this->env, (isset($context["ttc"]) || array_key_exists("ttc", $context) ? $context["ttc"] : (function () { throw new RuntimeError('Variable "ttc" does not exist.', 216, $this->source); })()), 0, "", " "), "html", null, true);
echo "</td>
<td class=\"border-none text-left\">";
// line 217
echo twig_escape_filter($this->env, twig_number_format_filter($this->env, (isset($context["totalPaye"]) || array_key_exists("totalPaye", $context) ? $context["totalPaye"] : (function () { throw new RuntimeError('Variable "totalPaye" does not exist.', 217, $this->source); })()), 0, "", " "), "html", null, true);
echo "</td>
<td class=\"border-none text-left\">";
// line 218
echo twig_escape_filter($this->env, twig_number_format_filter($this->env, (isset($context["totalResteAPayer"]) || array_key_exists("totalResteAPayer", $context) ? $context["totalResteAPayer"] : (function () { throw new RuntimeError('Variable "totalResteAPayer" does not exist.', 218, $this->source); })()), 0, "", " "), "html", null, true);
echo "</td>
</tr>
<tr>
<td colspan=\"7\"></td>
</tr>
</tbody>
</table>
\t";
// line 232
echo "\t</div>
\t
\t<div id=\"footer\">
\t\t
";
// line 237
if ((0 === twig_compare(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["boutique"]) || array_key_exists("boutique", $context) ? $context["boutique"] : (function () { throw new RuntimeError('Variable "boutique" does not exist.', 237, $this->source); })()), "settings", [], "any", false, false, false, 237), "factureContientEntete", [], "any", false, false, false, 237), false))) {
// line 238
echo " <hr class=\"hr\">
<p class=\"facture-footer\">";
// line 239
echo twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["boutique"]) || array_key_exists("boutique", $context) ? $context["boutique"] : (function () { throw new RuntimeError('Variable "boutique" does not exist.', 239, $this->source); })()), "settings", [], "any", false, false, false, 239), "piedDocument", [], "any", false, false, false, 239);
echo "</p>
";
} else {
// line 241
echo " <div id=\"hauteur-pied-exterieur\">
</div>
";
}
// line 244
echo "\t</div>
</div>
";
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
public function getTemplateName()
{
return "pdf/point_par_client.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 428 => 244, 423 => 241, 418 => 239, 415 => 238, 413 => 237, 406 => 232, 394 => 218, 390 => 217, 386 => 216, 382 => 215, 378 => 214, 370 => 208, 357 => 205, 351 => 204, 347 => 203, 341 => 202, 337 => 201, 332 => 199, 328 => 198, 325 => 197, 322 => 196, 319 => 195, 316 => 194, 314 => 193, 311 => 192, 308 => 191, 305 => 190, 301 => 189, 293 => 184, 289 => 183, 285 => 182, 281 => 181, 277 => 180, 273 => 179, 269 => 178, 257 => 173, 237 => 155, 234 => 154, 231 => 153, 228 => 152, 225 => 151, 222 => 150, 220 => 149, 217 => 148, 214 => 147, 209 => 144, 205 => 142, 197 => 136, 190 => 134, 187 => 133, 183 => 130, 180 => 128, 178 => 127, 174 => 125, 157 => 110, 150 => 106, 43 => 1,);
}
public function getSourceContext()
{
return new Source("<style>
\tdiv#page-impression{
background-color: #efefef;
font-family: Arial;
font-weight: normal;
font-size: 16px;
color: #999;
\t\twidth: 80%;
\t\tmargin: auto;
}
p{
padding: 0;
margin: 5px 0;
}
.hr{
height: 1px;
border-top: 1px solid #999;
background-color: #999;
}
p.facture-header{
display: inline-block;
font-size: 8px;
line-height: 0px!important;
background-color: #0a001f;
}
p.facture-footer{
\tfont-size: 10px;
//line-height: 0px!important;
//line-height: 50%;
\t\tfont-style: italic;
\t\tfont-weight: bold;
}
p.mentionvalide{
font-size: 10px;
font-style: italic;
}
.text-black{
color: #000;
}
.block{
padding: 5px;
border-radius: 10px;
border: 1px solid #000;
}
table.table-body{
border:1px solid #bbb;
border-collapse: collapse;
}
table.table-body tr td, table.table-body tr th {
border:1px solid #bbb;
}
table.table-body tr th {
padding: 7px;
}
table.table-body tr td{
text-align: left;
}
table th.table-head-th-bg{
text-align: center;
}
table.table-body .table-footer-th-bg{
background: transparent;
color: #000;
font-weight: bold;
}
table{
color: #000;
font-size: 12px;
}
table tr td.border-none {
border-bottom:none;
}
table tr td.bordered-top {
border-top: 1px solid #bbb;
}
.text-center{
text-align: center;
}
.text-left{
text-align: left;
}
.text-right{
text-align: right;
}
.text-blue{
}
\t
\tdiv#page-entiere{
\t\tposition: relative;
\t\twidth: 80%;
\t\tmargin: auto;
\t\theight: 99%;
\t\tfont-family: Times, serif;
\t}
\t
div#hauteur-entete-exterieur{
height: {{ boutique.settings.margeEntete }}px;
}
div#hauteur-pied-exterieur{
height: {{ boutique.settings.margePiedDePage }}px;
}
\tdiv#footer{
\t\tposition: absolute;
\t\tbottom: 40px;
\t\tfont-family: Times, serif;
\t\t
\t}
\t
</style>
{#<div id=\"page-entiere\" data-size=\"A4\" backtop=\"20px\" backleft=\"10px\" backright=\"10px\" backbottom=\"20px\" footer=\"\">#}
<div id=\"page-entiere\" data-size=\"A4\">
<div id=\"impression\">
{% if boutique.settings.factureContientEntete == false %}
<div>
{#<page_header>#}
<table>
<tr>
{#total en mm est de 210#}
<td align=\"center\" style=\"width: 25mm;\" valign=\"top\">
<img class=\"img-responsive\" src=\"{{ boutique.logo.originalUrl }}\" width=\"{{ boutique.settings.tailleLogoSurLesDocuments }}\" alt=\"\">
</td>
\t\t\t\t<td style=\"width: 178mm;\"><p>{{ boutique.settings.enteDocument|raw }}</p></td>
</tr>
</table>
<hr class=\"hr\">
{#</page_header>#}
</div>
{% else %}
<div id=\"hauteur-entete-exterieur\">
</div>
{% endif %}
{% set vehicules =[ 22, 23, 28] %}
{% set ht = 0 %}
\t{% set tva = 0 %}
\t{% set remise = 0 %}
\t{% set ttc = 0 %}
\t{% set totalPaye = 0 %}
\t{% set totalResteAPayer = 0 %}
<table class=\"table\" border=\"0\" style=\"margin-top: 0px\">
<tr>
<td align=\"left\" style=\"width: 160px;\" valign=\"top\">
</td>
<td align=\"left\" style=\"width: 200px;\" valign=\"top\">
<table style=\"width: 300px;\">
<tr>
<td><h5 style=\"position: relative; top: -7px; margin-right: 10px;\"></h5></td>
</tr>
</table>
</td>
</tr>
</table>
<table class=\"table\" border=\"0\" style=\"margin-top: 10px\">
<tr>
<td><u><h4>Point de {{ client.nom }} de {{ dateDebut | date('d/m/Y') }} à {{ dateFin | date('d/m/Y') }}</h4></u></td>
</tr>
</table>
<table class=\"table-body\" border=\"0\" style=\"width: 100%\">
<tr>
<th class=\"table-head-th-bg\" width=\"60\">{{ 'admin.number' | trans }}</th>
\t\t\t<th class=\"table-head-th-bg\" width=\"50\">{{ 'admin.date' | trans }}</th>
<th class=\"table-head-th-bg\" width=\"60\">{{ 'admin.totalHT' | trans }}</th>
<th class=\"table-head-th-bg\" width=\"60\">{{ 'admin.totalTVA' | trans }}</th>
<th class=\"table-head-th-bg\" width=\"60\">{{ 'admin.totalTTC' | trans }}</th>
\t\t\t<th class=\"table-head-th-bg\" width=\"70\">{{ 'admin.paye' | trans }}</th>
\t\t\t<th class=\"table-head-th-bg\" width=\"70\">{{ 'admin.reste_a_payer' | trans }}</th>
</tr>
<tbody>
{% for proposal in invoices %}
\t\t\t\t{% set totalPaye = proposal.montantPaye + totalPaye %}
\t\t\t\t{% set totalResteAPayer = proposal.resteAPayer + totalResteAPayer %}
\t\t\t\t{% set ht = ht + proposal.totalHTApresRemise %}
{% set tva = tva + proposal.totalTVA %}
\t\t\t\t{% set remise = remise + proposal.remise %}
\t\t\t\t{% set ttc = ttc + proposal.totalTTC %}
\t\t\t <tr class=\"table-body-th-bg\">
\t\t\t\t<td class=\"border-none text-left\">{{ proposal.numero }}</td>
\t\t\t\t<td class=\"border-none text-left\">{{ proposal.laDate | date('d/m/Y') }}</td>
\t\t\t\t
\t\t\t\t<td class=\"border-none text-left\">{{ proposal.totalHTApresRemise | number_format(0, '', ' ') }}</td>
\t\t\t\t<td class=\"border-none text-left\">{% if proposal.totalTVA > 0 %}{{ proposal.totalTVA | number_format(0, '', ' ') }}{% endif %}</td>
\t\t\t\t<td class=\"border-none text-left\">{{ proposal.totalTTC | number_format(0, '', ' ') }}</td>
\t\t\t\t<td class=\"border-none text-left\">{% if proposal.montantPaye > 0 %}{{ proposal.montantPaye | number_format(0, '', ' ') }}{% endif %}</td>
\t\t\t\t<td class=\"border-none text-left\">{% if proposal.resteAPayer > 0 %} {{ proposal.resteAPayer | number_format(0, '', ' ') }}{% endif %}</td>
\t\t\t\t
\t\t\t </tr>
\t\t\t {% endfor %}\t\t
<tr>
<td colspan=\"7\"></td>
</tr>
<tr>
<td colspan=\"2\"></td>
<td class=\"border-none text-left\">{{ ht | number_format(0, '', ' ') }}</td>
<td class=\"border-none text-left\">{{ tva | number_format(0, '', ' ') }}</td>
<td class=\"border-none text-left\">{{ ttc | number_format(0, '', ' ') }}</td>
<td class=\"border-none text-left\">{{ totalPaye | number_format(0, '', ' ') }}</td>
<td class=\"border-none text-left\">{{ totalResteAPayer | number_format(0, '', ' ') }}</td>
</tr>
<tr>
<td colspan=\"7\"></td>
</tr>
</tbody>
</table>
\t{#<page_footer>
<p class=\"mentionvalide\">{{ facture.mentionvalidite }}</p>
<hr class=\"hr\">
<p class=\"facture-footer\">{{ boutique.facturefooter|raw }}</p>
</page_footer>#}
\t</div>
\t
\t<div id=\"footer\">
\t\t
{% if boutique.settings.factureContientEntete == false %}
<hr class=\"hr\">
<p class=\"facture-footer\">{{ boutique.settings.piedDocument|raw }}</p>
{% else %}
<div id=\"hauteur-pied-exterieur\">
</div>
{% endif %}
\t</div>
</div>
", "pdf/point_par_client.html.twig", "/home/harmony/public_html/templates/pdf/point_par_client.html.twig");
}
}