New: Support note on trips module
This commit is contained in:
parent
92eb6cba92
commit
aab75e9ec4
@ -113,9 +113,9 @@ class modDeplacement extends DolibarrModules
|
||||
$this->export_code[$r]='trips_'.$r;
|
||||
$this->export_label[$r]='ListTripsAndExpenses';
|
||||
$this->export_permission[$r]=array(array("deplacement","export"));
|
||||
$this->export_fields_array[$r]=array('d.rowid'=>"TripId",'d.type'=>"Type",'d.km'=>"FeesKilometersOrAmout",'d.note'=>'Note','s.nom'=>'ThirdParty','u.name'=>'Lastname','u.firstname'=>'Firstname');
|
||||
$this->export_entities_array[$r]=array('d.rowid'=>"Trip",'d.type'=>"Trip",'d.km'=>"Trip",'d.note'=>'Trip','s.nom'=>'company','u.name'=>'user','u.firstname'=>'user');
|
||||
$this->export_alias_array[$r]=array('d.rowid'=>"idtrip",'d.type'=>"type",'d.km'=>"km",'d.note'=>'note','s.nom'=>'companyname','u.name'=>'name','u.firstname'=>'firstname');
|
||||
$this->export_fields_array[$r]=array('d.rowid'=>"TripId",'d.type'=>"Type",'d.km'=>"FeesKilometersOrAmout",'d.note'=>'NotePrivate','d.note_public'=>'NotePublic','s.nom'=>'ThirdParty','u.name'=>'Lastname','u.firstname'=>'Firstname');
|
||||
$this->export_entities_array[$r]=array('d.rowid'=>"Trip",'d.type'=>"Trip",'d.km'=>"Trip",'d.note'=>'Trip','d.note_public'=>'Trip','s.nom'=>'company','u.name'=>'user','u.firstname'=>'user');
|
||||
$this->export_alias_array[$r]=array('d.rowid'=>"idtrip",'d.type'=>"type",'d.km'=>"km",'d.note'=>'note','d.note_public'=>'note_public','s.nom'=>'companyname','u.name'=>'name','u.firstname'=>'firstname');
|
||||
|
||||
$this->export_sql_start[$r]='SELECT DISTINCT ';
|
||||
$this->export_sql_end[$r] =' FROM '.MAIN_DB_PREFIX.'user as u';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user