formEmployeurView.phtml 1.35 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
<?php

use Application\Assertion\IntervenantDossierAssertion;

$viewEmployeur = $this->isAllowed($intervenant, IntervenantDossierAssertion::PRIV_VIEW_EMPLOYEUR);
$form->prepare();
$dossierEmployeur = $form->get('DossierEmployeur');

?>

<!-- Fiedlset Employeur -->
<div class="col-md-6">
13
14
15
16
    <div class="panel panel-default ">
        <div class="panel-heading">
            EMPLOYEUR
            <?php if (!$intervenantDossierCompletude['dossierEmployeur']): ?>
17
                <span class="label label-warning">A compléter</span>
18
            <?php else: ?>
19
                <span class="label label-success">Complet</span>
20
21
22
23
24
            <?php endif; ?>
        </div>
        <div class="panel-body">
            <div class="form-group">
                <?= $this->formLabel($dossierEmployeur->get('employeur')); ?>
25
                <div class="input-group cold-md-6 readonly">
26
27
28
29
30
31
32
33
                    <?php
                    if (!empty($intervenantDossier->getEmployeur())) {
                        $employeur = $intervenantDossier->getEmployeur()->getRaisonSociale();
                        $siren     = $intervenantDossier->getEmployeur()->getSiren();
                        echo ($viewEmployeur) ? $employeur . '(SIRET : ' . $siren . ')' : '***************';
                    }
                    ?>
                </div>
34
            </div>
35
36
37
38
39
40
41
        </div>
    </div>
</div>