Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
What does the $(general : (__VtigerMeta__) InventoryDetails) do?
#1
I noticed this variable in the e-mail task screen. What does it do?
Reply
#2
it returns a tabled layout of the product lines
Joe
TSolucio
Reply
#3
Can we do anything to manipulate that table?
Reply
#4
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
Joe
TSolucio
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)