Commit 32fa437b authored by Antony Le Courtes's avatar Antony Le Courtes
Browse files

Inversion affichage BIC et IBAN.

parent de99c42d
......@@ -39,8 +39,8 @@ $dossierBancaire = $form->get('DossierBancaire');
<div class="panel-body">
<?php
echo $this->formControlGroup($dossierBancaire->get('ribBic'));
echo $this->formControlGroup($dossierBancaire->get('ribIban'));
echo $this->formControlGroup($dossierBancaire->get('ribBic'));
echo $this->formControlGroup($dossierBancaire->get('ribHorsSepa'));
?>
......
......@@ -30,21 +30,21 @@ $dossierBancaire = $form->get('DossierBancaire');
</div>
<div class="panel-body">
<div class="form-group">
<?= $this->formLabel($dossierBancaire->get('ribBic')); ?>
<?= $this->formLabel($dossierBancaire->get('ribIban')); ?>
<div class="input-group cold-md-6 readonly">
<?php
if (!empty($intervenantDossier->getBIC())) {
echo ($viewIban) ? $intervenantDossier->getBIC() : '*************';
if (!empty($intervenantDossier->getIBAN())) {
echo ($viewIban) ? $intervenantDossier->getIBAN() : '**************************';
}
?>
</div>
</div>
<div class="form-group">
<?= $this->formLabel($dossierBancaire->get('ribIban')); ?>
<?= $this->formLabel($dossierBancaire->get('ribBic')); ?>
<div class="input-group cold-md-6 readonly">
<?php
if (!empty($intervenantDossier->getIBAN())) {
echo ($viewIban) ? $intervenantDossier->getIBAN() : '**************************';
if (!empty($intervenantDossier->getBIC())) {
echo ($viewIban) ? $intervenantDossier->getBIC() : '*************';
}
?>
</div>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment