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???