Skip to content
Snippets Groups Projects
Commit 1a96164f authored by Antony Le Courtes's avatar Antony Le Courtes
Browse files

Synchro voirie avec SIHAM (via octopus)

parent 51b37722
No related branches found
No related tags found
No related merge requests found
CREATE OR REPLACE VIEW SRC_VOIRIE AS
SELECT
vvsn.code code,
vvsn.libelle libelle,
src.id source_id,
vvsn.code source_code,
vvsn.code core
FROM octo.v_via_siham_nomenclatures@octoprod vvsn
JOIN source src ON src.code = 'Octopus'
WHERE vvsn.cdstco = 'VNT'
......@@ -115,12 +115,14 @@ class AdresseFieldset extends AbstractFieldset
/**
* voirie
*/
$qb = $this->getServiceVoirie()->finderByHistorique();
$voiries = \UnicaenApp\Util::collectionAsOptions($this->getServiceVoirie()->getList($qb));
$this->add([
'name' => 'voirie',
'options' => [
'label' => 'Voirie',
'empty_option' => ' ',
'value_options' => \UnicaenApp\Util::collectionAsOptions($this->getServiceVoirie()->getList()),
'value_options' => $voiries,
],
'attributes' => [
'class' => 'selectpicker dossierElement',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment