Jump to content


Member Since 23 Mar 2016
Offline Last Active Jun 14 2016 05:11 AM

Topics I've Started

Custom Model for Dropdown (Set Relation)

23 March 2016 - 09:31 AM

I have a question. I already search the forum for my issues but I don't quite successful in understanding custom model for dropdown.


Table Sales --> id, no_so, id_services, id_organization, ..

Table Services --> id, name, ...

Table Organization --> id, name, ...

Table Project --> id, date, id_sales, ...


My problem is in table project. In table project, I want to show id_sales as dropdown, but I need not only no_so, but also id_services in name from table services and id_organization in name from table organization. I search the forum and perhaps I need to used custom model. But I don't quite get it. Anyone can help me? Thank you.