Jump to content
hkl

Payment options and amount not displaying on delivery slip

Recommended Posts

After installing "ordre reference change module" I have noticed that the payment option and amount has disappered from the delivery slip.

 

Here is the code from the part of the PDF/delivery slip from the prestashop

 

 
            <br />
            <b>{l s='Order Date:' pdf='true'}</b><br />
            {dateFormat date=$order->date_add full=0}<br />
            <br />
            <b>{l s='Payment Method:' pdf='true'}</b><br />
            <table style="width: 100%;">
            {foreach from=$order_invoice->getOrderPaymentCollection() item=payment}
                <tr>
                    <td style="width: 50%">{$payment->payment_method}</td>
                    <td style="width: 50%">{displayPrice price=$payment->amount currency=$order->id_currency}</td>
                </tr>
            {foreachelse}
                <tr>
                    <td>{l s='No payment'}</td>
                </tr>
            {/foreach}
            </table>
 
The amount and payment option are newer displayed on the delivery slip, since installing the above mentioned module. It only shows "No payment".
 
Hope some one can help ?? 
 
 

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More