What does the $(general : (__VtigerMeta__) InventoryDetails) do? - Printable Version +- CoreBOSBB (https://discussions.corebos.org) +-- Forum: Support (https://discussions.corebos.org/forumdisplay.php?fid=17) +--- Forum: Administrator Support (https://discussions.corebos.org/forumdisplay.php?fid=8) +--- Thread: What does the $(general : (__VtigerMeta__) InventoryDetails) do? (/showthread.php?tid=1777) |
What does the $(general : (__VtigerMeta__) InventoryDetails) do? - Guido1982 - 04-30-2020 I noticed this variable in the e-mail task screen. What does it do? RE: What does the $(general : (__VtigerMeta__) InventoryDetails) do? - joebordes - 04-30-2020 it returns a tabled layout of the product lines RE: What does the $(general : (__VtigerMeta__) InventoryDetails) do? - Guido1982 - 04-30-2020 Can we do anything to manipulate that table? RE: What does the $(general : (__VtigerMeta__) InventoryDetails) do? - joebordes - 04-30-2020 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 |