le siren sur toutes les editions

This commit is contained in:
Michael RICOIS 2013-02-20 08:05:20 +00:00
parent c7801e1bf2
commit 182ecfdc7a

View File

@ -2,15 +2,15 @@
<form name="saveLienRef" action="<?=$this->url(array('controller'=>'saisie', 'action'=>'lienrefsave'), null, true)?>" method="post">
<input type="hidden" name="idLien" value="<?=$this->edit?>"/>
<?php if ( intval($this->siren)==0 && $this->PpPm=='PM' ) {?>
<?=$this->render('saisie/lienetranger.phtml')?>
<?php } elseif ( $this->PpPm=='PP' ) {?>
<div class="fieldgrp">
<label>Siren</label>
<div class="field">
<input type="text" name="siren" value="<?=$this->siren?>"/>
</div>
</div>
<?php if ( intval($this->siren)==0 && $this->PpPm=='PM' ) {?>
<?=$this->render('saisie/lienetranger.phtml')?>
<?php } elseif ( $this->PpPm=='PP' ) {?>
<?=$this->render('saisie/lienpp.phtml')?>
<?php } else {?>
<?=$this->render('saisie/lienidentite.phtml')?>