Search concerned card with company , name , ... and export contact option to CSV

This commit is contained in:
Dany De Bontridder 2020-10-10 21:34:51 +02:00
parent 75190f41e1
commit 14a8d24b99
3 changed files with 10 additions and 4 deletions

View file

@ -28,7 +28,8 @@ class Card_Multiple
private $sql ; //!< SQL with the right column name
function __construct()
{
$this->sql="select f_id,quick_code,vw_name,accounting,vw_first_name,vw_description
$this->sql="select f_id,quick_code,vw_name,accounting,vw_first_name,vw_description,
(select ad_value from fiche_detail fd where fd.f_id=vw_fiche_attr.f_id and fd.ad_id=25) as company
from vw_fiche_attr ";
}
/**