Support for inventory template programming logic?

Support for inventory template programming logic?

Dear Zoho CRM Team,

Just an idea...

It would be nice to use a invoice aka inventory template with logic associated with it, written with in the templates. If this is possible now please advise. Otherwise, it would be nice to be able to do the following with Invoice export as a PDF.
 
I.E.

If you apply a discount to a product or do not apply a discount.

if(discount == null || discount =< 0){
// No discount applied based on logic
<td>&nbsp;</td>
}
else 
{
<td>Discount</td>
}

Is this possible now?

Thanks,
Thomas Pursifull