Jump to content

Edit History

Yulia Vitun

Yulia Vitun

the same issue here in November 2022 (

for some reason the content of //pdf/invoice.shipping-tab.tpl is not appearing in the final invoice.tpl

as a work around to add content (table) of invoice.shipping-tab.tpl into //pdf/invoice.payment-tab.tpl

Result of //pdf/invoice.payment-tab.tpl:

<table id="payment-tab" width="100%">
	<tr>
		<td class="payment center small grey bold" width="44%">{l s='Payment Method' d='Shop.Pdf' pdf='true'}</td>
		<td class="payment left white" width="56%">
			<table width="100%" border="0">
				{foreach from=$order_invoice->getOrderPaymentCollection() item=payment}
					<tr>
						<td class="right small">{$payment->payment_method}</td>
						<td class="right small">{displayPrice currency=$payment->id_currency price=$payment->amount}</td>
					</tr>
				{/foreach}
			</table>
		</td>
	</tr>
</table>
<tr>
  <td colspan="12" height="10">&nbsp;</td>
</tr>
<table id="shipping-tab" width="100%">
	<tr>
		<td class="shipping center small grey bold" width="44%">{l s='Carrier' d='Shop.Pdf' pdf='true'}</td>
		<td class="shipping center small white" width="56%">{$carrier->name}</td>
	</tr>
</table>

 

Yulia Vitun

Yulia Vitun

the same issue here in November 2022 (

anybody has a solution ?

×
×
  • Create New...