Hi people.
This is driving me mad, I wrote a php script which prints out a quote using the PDFLib, it all works great till I add the correct signature.
No matter what $crm_quote_started_by_name is it uses a default of sign.jpg.
what have I done wrong?
if ($crm_quote_started_by_name == 'Matt Mitchell') {
$signature = "sign_mm.jpg" ;
}
if ($crm_quote_started_by_name == 'Helen Lloyd') {
$signature = "sign_hl.jpg" ;
}
if ($crm_quote_started_by_name == 'Barry Tilby') {
$signature = "sign_ebt.jpg" ;
}
if ($crm_quote_started_by_name == 'Peter Healy') {
$signature = "sign_pjh.jpg" ;
}
// Someone else so use a default signature
if (!$signature) {
$signature = "sign.jpg" ;
}
Thanks!