mediademon Posted October 24, 2008 Share Posted October 24, 2008 Hi // VAT if ($clientsdetails["customfields3"]){ $pdf->Cell(0,6,'VAT: '.$clientsdetails["customfields3"],0,1,'R','1'); } customfields3 should relate to the relative custom field number, how many custom client fields do you have? Only one... $clientsdetails["customfields1"] 0 Quote Link to comment Share on other sites More sharing options...
OVH-Reseller Posted October 24, 2008 Share Posted October 24, 2008 I have a few custom fields. VAT is on id = 15 so this code should work? // VAT if ($clientsdetails["customfields15"]){ $pdf->Cell(0,4,'NIP: '.$clientsdetails["customfields15"],0,1,'L'); } I don't know why, but on invoice I dont have VAT number Any other ideas? 0 Quote Link to comment Share on other sites More sharing options...
mediademon Posted October 24, 2008 Share Posted October 24, 2008 In WHMCS, configuration / custom client fields... What number is it from the top? 0 Quote Link to comment Share on other sites More sharing options...
OVH-Reseller Posted October 24, 2008 Share Posted October 24, 2008 From top this is first custom field Now work, thanks a lot 0 Quote Link to comment Share on other sites More sharing options...
mediademon Posted October 24, 2008 Share Posted October 24, 2008 Glad to here you have it working! 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.