Jump to content

adding and extra clause to php/pdf file


bladechob

Recommended Posts

Hi, I'm hoping this is relatively straightforward! I generate pdf invoices from php files and depending on which company they are for they load different logos as in

}

if($bookerCompany='CIMINT'){
$logo="printlogo1.jpg";
}else{
$logo="printlogo_iwant.jpg";
}

 

I now need to seperate these into sterling and non sterling print batches. I have any existing line that differentiates between UK and non UK documents

if ($currency!='Sterling'){

this being non sterling and dropping the '!' for sterlings docs. Now I need to combine the booker company with the currency type to make all the right bits load into the doc. I'm ok with single query strings but always end up breaking something when more complex queries are asked!

Link to comment
https://forums.phpfreaks.com/topic/59804-adding-and-extra-clause-to-phppdf-file/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.