Jump to content

Proforma logic for EU countries in viewinvoice.tpl


gupi

Recommended Posts

Hello

 

If you are an EU company using sequential invoice numberind, you have a code sequence in the invoicepdf.tpl template in order to have this issue sorted:

# Header Bar
$invoiceprefix = $_LANG["invoicenumber"];
/*
** This code should be uncommented for EU companies using the sequential invoice numbering so that when unpaid it is sho$
if ($status!="Paid") {
   $invoiceprefix = $_LANG["proformainvoicenumber"];
}
*/

 

Well, this is not implemented in viewinvoice.tpl template and in certain situations confusion may appear.

The invoice text and number are stored in {$pagetitle} smarty variable, yet I think it should be defined in the similar logic as invoicepdf.tpl

 

Thank you

Link to comment
Share on other sites

  • WHMCS Developer

Greetings,

 

This was moved outside of the templates to the core logic in v6. The updated templates (both invoicepdf.tpl and viewinvoice.tpl) will show a correct title based on invoice status, so templates don't have to deal with this distinction any more.

 

Thanks,

Arty K

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated