-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into feature/reprise-donnees-effectifs-degagem…
…ents
- Loading branch information
Showing
7 changed files
with
78 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
89 changes: 45 additions & 44 deletions
89
application/views/scripts/dossier/formrecupprescription.phtml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,50 +1,51 @@ | ||
<?php | ||
if($this->nbEtab != 1){ | ||
echo "Pour pouvoir utiliser cette fonctionnalité, le dossier ne doit concerner qu'un seul établissement"; | ||
}else{ | ||
?> | ||
<?php if($this->nbEtab != 1): ?> | ||
Pour pouvoir utiliser cette fonctionnalité, le dossier ne doit concerner qu'un seul établissement | ||
<?php else: ?> | ||
<form name='selectionDossier' id='selectionDossier' > | ||
<input type='hidden' name='idDossier' id='idDossier' value='<?php echo $this->idDossier; ?>' /> | ||
<?php | ||
echo "Selectionnez le dossier pour lequel vous souhaitez reprendre les prescriptions"; | ||
<input type='hidden' name='idDossier' id='idDossier' value='<?php echo $this->idDossier; ?>' /> | ||
|
||
if(count($this->visites) == 0 && count($this->etudes) == 0 && count($this->autres) == 0) : ?> | ||
<div class='well well-large text-center'> | ||
<p class='lead'>Il n'y a pas de dossier.</p> | ||
<p><a href='<?php echo $this->url(array('controller' => 'dossier', 'action' => 'add', 'id_etablissement' => $this->etablissement['general']['ID_ETABLISSEMENT']), null, true) ?>' class='btn btn-large'>Ajouter un dossier</a></p> | ||
</div> | ||
<?php else : ?> | ||
Sélectionnez le dossier pour lequel vous souhaitez reprendre les prescriptions. | ||
<br /> | ||
<small class='muted'>Plusieurs sélections sont possibles</small> | ||
|
||
<div id="content_visites_ets"> | ||
<?php if( count($this->visites) > 0 ) : ?> | ||
<h4>Visites</h4> | ||
<ul class='recherche_liste'> | ||
<?php echo $this->partialLoop('dossier/results/dossier.phtml', $this->visites); ?> | ||
</ul> | ||
<?php endif ?> | ||
</div> | ||
<?php if(count($this->visites) == 0 && count($this->etudes) == 0 && count($this->autres) == 0) : ?> | ||
<div class='well well-large text-center'> | ||
<p class='lead'>Il n'y a pas de dossier.</p> | ||
<p> | ||
<a href='<?php echo $this->url(array('controller' => 'dossier', 'action' => 'add', 'id_etablissement' => $this->etablissement['general']['ID_ETABLISSEMENT']), null, true) ?>' class='btn btn-large'>Ajouter un dossier</a> | ||
</p> | ||
</div> | ||
<?php else : ?> | ||
<div id="content_visites_ets"> | ||
<?php if( count($this->visites) > 0 ) : ?> | ||
<h4>Visites</h4> | ||
<ul class='recherche_liste'> | ||
<?php echo $this->partialLoop('dossier/results/dossier.phtml', $this->visites); ?> | ||
</ul> | ||
<?php endif ?> | ||
</div> | ||
|
||
<div id="content_etudes_ets"> | ||
<?php if( count($this->etudes) > 0 ) : ?> | ||
<?php if( count($this->visites) > 0 ) echo "<hr />"; ?> | ||
<h4>Études</h4> | ||
<ul class='recherche_liste'> | ||
<?php echo $this->partialLoop('dossier/results/dossier.phtml', $this->etudes); ?> | ||
</ul> | ||
<?php endif ?> | ||
</div> | ||
<div id="content_etudes_ets"> | ||
<?php if( count($this->etudes) > 0 ) : ?> | ||
<?php if( count($this->visites) > 0 ) echo "<hr />"; ?> | ||
|
||
<div id="content_autres_ets"> | ||
<?php if( count($this->autres) > 0 ) : ?> | ||
<?php if( count($this->visites) > 0 || count($this->etudes) > 0) echo "<hr />"; ?> | ||
<h4>Autres</h4> | ||
<ul class='recherche_liste'> | ||
<?php echo $this->partialLoop('dossier/results/dossier.phtml', $this->autres); ?> | ||
</ul> | ||
<?php endif ?> | ||
</div> | ||
<?php endif ?> | ||
<h4>Études</h4> | ||
<ul class='recherche_liste'> | ||
<?php echo $this->partialLoop('dossier/results/dossier.phtml', $this->etudes); ?> | ||
</ul> | ||
<?php endif ?> | ||
</div> | ||
|
||
<div id="content_autres_ets"> | ||
<?php if( count($this->autres) > 0 ) : ?> | ||
<?php if( count($this->visites) > 0 || count($this->etudes) > 0) echo "<hr />"; ?> | ||
|
||
<h4>Autres</h4> | ||
<ul class='recherche_liste'> | ||
<?php echo $this->partialLoop('dossier/results/dossier.phtml', $this->autres); ?> | ||
</ul> | ||
<?php endif ?> | ||
</div> | ||
<?php endif ?> | ||
</form> | ||
<?php | ||
} | ||
?> | ||
<?php endif ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters