[-] PDF : Bug Fixed #PSCFV-3044 - Images incorrectly displayed

This commit is contained in:
fBrignoli
2012-07-05 15:40:45 +00:00
parent bb57f166af
commit 11eeea27fb
+11 -8
View File
@@ -162,17 +162,20 @@
{foreach $customizationPerAddress as $customizationId => $customization} {foreach $customizationPerAddress as $customizationId => $customization}
<tr style="line-height:6px;background-color:{$bgcolor}; "> <tr style="line-height:6px;background-color:{$bgcolor}; ">
<td style="line-height:3px; text-align: left; width: 60%; vertical-align: top"> <td style="line-height:3px; text-align: left; width: 60%; vertical-align: top">
{foreach $customization.datas as $customization_types}
<blockquote> <blockquote>
{foreach $customization_types as $customization_infos name=custo_foreach} {foreach $customization.datas[$smarty.const._CUSTOMIZE_TEXTFIELD_] as $customization_infos}
{$customization_infos.name}: {$customization_infos.value} {$customization_infos.name}: {$customization_infos.value}
{if !$smarty.foreach.custo_foreach.last}<br /> {if !$smarty.foreach.custo_foreach.last}<br />
{else} {else}
<div style="line-height:0.4pt">&nbsp;</div> <div style="line-height:0.4pt">&nbsp;</div>
{/if}
{/foreach}
{if count($customization.datas[$smarty.const._CUSTOMIZE_FILE_]) > 0}
{count($customization.datas[$smarty.const._CUSTOMIZE_FILE_])} {l s='image(s)' pdf='true'}
{/if} {/if}
{/foreach}
</blockquote> </blockquote>
{/foreach}
</td> </td>
<td style="text-align: right; width: 15%"></td> <td style="text-align: right; width: 15%"></td>
<td style="text-align: center; width: 10%; vertical-align: top">({$customization.quantity})</td> <td style="text-align: center; width: 10%; vertical-align: top">({$customization.quantity})</td>