Jump to content

Delivery slip don't show the payment method


Dema7

Recommended Posts

When downloading a Delivery Slip, the payment method is shown only if the Stripe module is used.
If the payment is done with either PayPal, Cash on Delivery or via bank transfer, the payment method is empty: "No Payment".

I tried to edit the file in pdf/delivery-slip.payment-tab.tpl with no success... As in this post:

Thank you very much in advance!
Davide

stripe.jpg

paypal.jpg

Link to comment
Share on other sites

  • 3 weeks later...

Hi,

thank you, I have no files in theme folder.

The only file named "delivery-slip.payment-tab.tpl" is in root/pdf folder.

The tpl contains this code (I have checked the last version of Prestashop and the code is the same):

<table id="payment-tab" width="100%" cellpadding="4" cellspacing="0">
	<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>
				{foreachelse}
					<tr>
						<td>{l s='No payment' d='Shop.Pdf' pdf='true'}</td>
					</tr>
				{/foreach}
			</table>
		</td>
	</tr>
</table>

 

Thank you very much!

Davide

 

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...