How To Displaying Relational Tables For Report View

i’ve got some problem while displaying relational data from 2 table or more, what i expect for the result is something like the image that i attach3711

here/below, i wonder what should i do to my app in order to displaying the report like this,?

i really need to know how to do this on my yiiapp,

best regards for all the responses,

many thanks,