CoreBOSBB

Full Version: What does the $(general : (__VtigerMeta__) InventoryDetails) do?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I noticed this variable in the e-mail task screen. What does it do?
it returns a tabled layout of the product lines
Can we do anything to manipulate that table?
there is a parameter to indicate if you want a table or HTML

if you ask for the HTML you get a UL-LI structure with CSS classes that you can manipulate to some point, but, in general it is a hardcoded thing that we implemented to solve a specific problem and, AFAIK it was never used anywhere else.

It is a good starting point for something like this, but sincerely I would go more down the line of a "foreach" functionality similar to GenDoc if I had to do it now

https://github.com/tsolucio/corebos/blob/master/modules/com_vtiger_workflow/VTSimpleTemplate.inc#L336