Jump to content

Edit History

Pixefora D

Pixefora D

Hola @Albarracín,

pues depende de donde lo quieras poner, pero por ejemplo puedes editar el archivo pdf/delivery-slip.summary-tab.tpl y si por ejemplo tienes esto:

<table id="summary-tab" width="100%">
	<tr>
		<th class="header small" valign="middle">{l s='Order Reference' d='Shop.Pdf' pdf='true'}</th>
		<th class="header small" valign="middle">{l s='Order Date' d='Shop.Pdf' pdf='true'}</th>
		{if isset($carrier)}
			<th class="header small" valign="middle">{l s='Carrier' d='Shop.Pdf' pdf='true'}</th>
		{/if}
	</tr>
	<tr>
		<td class="center small white">{$order->getUniqReference()}</td>
		<td class="center small white">{dateFormat date=$order->date_add full=0}</td>
		{if isset($carrier)}
			<td class="center small white">{$carrier->name}</td>
		{/if}
	</tr>
</table>

Cambialo por esto, fijate en la llamada a $order->id_customer:

<table id="summary-tab" width="100%">
	<tr>
		<th class="header small" valign="middle">{l s='Order Reference' d='Shop.Pdf' pdf='true'}</th>
		<th class="header small" valign="middle">{l s='Order Date' d='Shop.Pdf' pdf='true'}</th>
		{if isset($carrier)}
			<th class="header small" valign="middle">{l s='Carrier' d='Shop.Pdf' pdf='true'}</th>
		{/if}
      <th class="header small" valign="middle">{l s='Customer' d='Shop.Pdf' pdf='true'}</th>
	</tr>
	<tr>
		<td class="center small white">{$order->getUniqReference()}</td>
		<td class="center small white">{dateFormat date=$order->date_add full=0}</td>
		{if isset($carrier)}
			<td class="center small white">{$carrier->name}</td>
		{/if}
      <td class="center small white">{$order->id_customer}</td>
	</tr>
</table>

 

No está testeado.

 

OJO, hazte un backup.

Pixefora D

Pixefora D

Hola @Albarracín,

pues depende de donde lo quieras poner, pero por ejemplo puedes editar el archivo pdf/delivery-slip.summary-tab.tpl y cambia esto y si por ejemplo tienes esto:

<table id="summary-tab" width="100%">
	<tr>
		<th class="header small" valign="middle">{l s='Order Reference' d='Shop.Pdf' pdf='true'}</th>
		<th class="header small" valign="middle">{l s='Order Date' d='Shop.Pdf' pdf='true'}</th>
		{if isset($carrier)}
			<th class="header small" valign="middle">{l s='Carrier' d='Shop.Pdf' pdf='true'}</th>
		{/if}
	</tr>
	<tr>
		<td class="center small white">{$order->getUniqReference()}</td>
		<td class="center small white">{dateFormat date=$order->date_add full=0}</td>
		{if isset($carrier)}
			<td class="center small white">{$carrier->name}</td>
		{/if}
	</tr>
</table>

Cambialo por esto, fijate en la llamada a $order->id_customer:

<table id="summary-tab" width="100%">
	<tr>
		<th class="header small" valign="middle">{l s='Order Reference' d='Shop.Pdf' pdf='true'}</th>
		<th class="header small" valign="middle">{l s='Order Date' d='Shop.Pdf' pdf='true'}</th>
		{if isset($carrier)}
			<th class="header small" valign="middle">{l s='Carrier' d='Shop.Pdf' pdf='true'}</th>
		{/if}
      <th class="header small" valign="middle">{l s='Customer' d='Shop.Pdf' pdf='true'}</th>
	</tr>
	<tr>
		<td class="center small white">{$order->getUniqReference()}</td>
		<td class="center small white">{dateFormat date=$order->date_add full=0}</td>
		{if isset($carrier)}
			<td class="center small white">{$carrier->name}</td>
		{/if}
      <td class="center small white">{$order->id_customer}</td>
	</tr>
</table>

 

No está testeado.

 

OJO, hazte un backup.

×
×
  • Create New...