⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

set_relation question



Origin
  • profile picture
  • Member

Posted 16 April 2015 - 18:11 PM

I want to create a relation between the table fin_expenses to fin_client_vendor so I do this:

 

 $crud->set_relation('id_vendor', 'fin_vendor_client', 'name', array('id_entity' => 1, 'type' => 'Vendor' || 'Both'));

 

But it only show me the type = vendor and do not show me the type=both and I need both and vendor, how can i do that???