digitalshift Posted July 16, 2014 Share Posted July 16, 2014 Hello, I was wondering if anyone ever tried to change the logo being displayed on the invoice based on a predetermined condition. I two different client classes and I created 2 logo variations that have a different symbol next to them to reflect the service. Has anyone ever done the following: If client group = "client group 1" then display logo 1 Else display logo 2 Providing any insight, sharing your experience, or pointing me in the right direction is much appreciated. Best, Matt 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted July 16, 2014 Share Posted July 16, 2014 Matt, it's something that I thought about a while back - I think it is possible, but it would be a little more involved than your {if} statement because, by the time you get to the invoice (html or pdf) page, you don't have direct access to the client group value. therefore, you'd likely have to first query the database to get the value and then you could use your {if} statement. also, you would need to possibly modify your emails to show the correct logo too. http://forum.whmcs.com/showthread.php?83746-Ability-to-Change-Logo-per-client 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.