Jump to content

Add Variables in PDF Invoice


roz

Recommended Posts


hi! anyone knows how can i


  1. add in the Features in the product list
  2. add in Customer Name 
  3. add in Delivery Date & Time
  4. add in Order Status

in my PDF Invoice. can anyone help me? thanks in advance :)


Link to comment
Share on other sites

You will know the delivery date when you will create delivery slip. The invoice is created before delivery slip.

 

hi tuk66!

i have checked the Delivery Slip and it's also not showing the Delivery Date. i need to show them on both Invoice & Delivery Slip. how can i do that? :)

Link to comment
Share on other sites

There are invoice_date and delivery_date fields in the ps_orders table. Inject them to the delivery slip template (delivery-slip.tpl) in HTMLTemplateDeliverySlip.php and then display in the template.

 

ok i just realized.. the delivery_date field does not hold the real delivery date set because i'm using "datepicker with hours by ecommy" module to get the delivery date and time. 

 

any chance you know which table it is saving? then how can i modify my codes to get this field from other tables as well as the other fields i need from other tables. i need guidance on this. i'm not a php coder :(

 

thanks!

Link to comment
Share on other sites

Since you are dealing with invoice fields, I jump in to ask help to make shipping costs show TAX incl. e TAX excl either on the right of the invoice and on the center field that i've higlighted in red.

Actually, the pdf calculates and sums directly the products and the shipping TAX costs.

 

invoice_details_errors.png

 

any help?

 

thank you

Link to comment
Share on other sites

×
×
  • Create New...