Hii Everybody…
please help me to discover solution for my error,
i wanna to display field from related model.
i have 4 tabel related, but i cant call field from other model,
i have tabel DetailTransaction and Transaction,
DetailTransaction (id_dt, trxid, status)
Transaction(id_trx, trxid, name)
in DetailTransaction model i added
'trx'=>array(self::BELONGS_TO,'Trx','trxid'),
in Transaction model i added,
'dt'=>array(self::BELONGS_TO,'DetailTransaction','trxid'),
my question, how i can display status from DetailTransaction in model Transaction,
what step by step i need to do??
please give me solution or way to solve my problem,thankz a lot.