By: Alexey
Date: 2016-03-25
Time: 12:49
|
Need help to formationtableHi all. I try to formation table. I have array DATA. I use PHP.
( [0] => stdClass Object ( [PROC] => Text1 [PRICE] => 40.00 [DIAG] => number17) [1] => stdClass Object ( [PROC] => Text2 [PRICE] => 90.00 [DIAG] => number17) [2] => stdClass Object ( [PROC] => Text3 [PRICE] => 50.00 [DIAG] => number17) [3] => stdClass Object ( [PROC] => Text4 [PRICE] => 100.00 [DIAG] => number10) [4] => stdClass Object ( [PROC] => Text5 [PRICE] => 150.00 [DIAG] => number10) ) I need to create table like this (URL for see photo): http://i045.radikal.ru/1603/61/cbf8bf714011.png I mean i need print only 1 time number17 and number10. But i need print all PROC and PRICE (5 times) I try to do some like this in Template: Diagnosis : Procedures: Price: [DATA.DIAG] [DATA.PROC;block=tbs:row] [DATA.PRICE] But it doesn't work correct, beouse i have: Diagnosis : Procedures: Price: number17 Text1 40 nubmer17 Text2 90 number17 Text3 50 number10 Text4 100 number10 Text5 150 |
By: Skrol29
Date: 2016-03-26
Time: 00:26
|
Re: Need help to formationtableHi,
In DOCX you can use parameter "ope=mergecell" but this parameter works only for DOCX, not ODT yet. See http://www.tinybutstrong.com/opentbs.php?doc#mergecell |