Jump to content

Edit History

AnthoM

AnthoM

Bon j'ai fini par trouver. 

Question, comment supprimer l'heure dans la date?

Cela me ferait gagner beaucoup de temps, merci

image.thumb.png.32ba00b63eeb153b1a2e8c511906dc1e.png

image.png

AnthoM

AnthoM

Bon j'ai fini par trouver. Si ca intéresse, ci-dessous capture et le code du fichier invoice.payment-tab.tpl

Il reste un point, supprimer l'heure de la date de la transaction, si une personne sait, cela me gagnera du temps, merci

image.thumb.png.32ba00b63eeb153b1a2e8c511906dc1e.png

<table id="payment-tab" width="200%" >
	<tr>
		<td class="payment center small grey bold" width="40%">{l s='Détail paiement(s) effectué(s)' d='Shop.Pdf' pdf='true'}</td>
		<td class="payment left white" width="60%">
			<table width="100%" border="0">
				{foreach from=$order_invoice->getOrderPaymentCollection() item=payment}
					<tr>
						<td class="right small" width="20%">{$payment->payment_method}</td>
						<td class="right small" width="30%">{$payment->transaction_id}</td>
						<td class="right small" width="20%">{$payment->date_add}</td>
						<td class="right small" width="30%">{displayPrice currency=$payment->id_currency price=$payment->amount}</td>
				
					</tr>
				{/foreach}
				<tr>
						<td class="payment right small  ">{''}</td>
						<td class="payment right small  ">{''}</td>
						<td class="payment right small  ">{''}</td>
						<td class="payment right small  ">{'--------------------'}</td>
				</tr>
				<tr>
						<td class="payment right small  ">{''}</td>
						<td class="payment right small  ">{''}</td>
						<td class="payment right small grey ">{'Total encaissé'}</td>
						<td class="payment right small grey ">{displayPrice currency=$order->id_currency price=$order->getTotalPaid()}</td>
				</tr>
				<tr>
						<td class="payment right small  ">{''}</td>
						<td class="payment right small  ">{''}</td>
						<td class="right medium grey bold">{'Reste à payé'}</td>
						<td class="right medium grey bold">{displayPrice currency=$order->id_currency price=$footer.total_paid_tax_incl-$order->getTotalPaid()}</td>
				</tr>
			</table>
			
		</td>
	</tr>
</table>

 

image.png

×
×
  • Create New...