Your IP : 216.73.217.64
<?php
//$Id$
//gen openMairie le 30/05/2019 16:11
include "../gen/sql/pgsql/participation_bureau.inc.php";
$table = DB_PREFIXE."participation_bureau
LEFT JOIN ".DB_PREFIXE."election_bureau
ON participation_bureau.election_bureau=election_bureau.election_bureau
LEFT JOIN ".DB_PREFIXE."participation_election
ON participation_bureau.participation_election=participation_election.participation_election
LEFT JOIN ".DB_PREFIXE."bureau
ON election_bureau.bureau=bureau.bureau
LEFT JOIN ".DB_PREFIXE."tranche
ON tranche.tranche=participation_election.tranche
LEFT JOIN ".DB_PREFIXE."election
ON election.election=election_bureau.election
";
$selection = " where election.cloture is not true ";
$champAffiche = array(
'participation_bureau.participation_bureau as "'.__("id").'"',
'election.libelle as "'.__("election").'"',
'bureau.libelle as "'.__("bureau").'"',
'tranche.libelle as "'.__("tranche").'"',
'participation_bureau.votant as "'.__("votant").'"',
);
//
$champNonAffiche = array(
);
//
$champRecherche = array(
'participation_bureau.participation_bureau as "'.__("Id").'"',
'election.libelle as "'.__("election").'"',
'bureau.libelle as "'.__("bureau").'"',
'tranche.libelle as "'.__("tranche").'"',
);
$champs['election'] = array(
'table' => 'election',
'colonne' => 'election',
'type' => 'select',
);
$champs['bureau'] = array(
'table' => 'bureau',
'colonne' => 'bureau',
'type' => 'select',
);
$champs['tranche'] = array(
'table' => 'tranche',
'colonne' => 'tranche',
'type' => 'select',
);
$options[] = array(
'type' => 'search',
'display' => true,
'advanced' => $champs,
'default_form' => 'advanced',
'absolute_object' => 'participation_bureau',
'export' => array("csv"));