42 lines
1.3 KiB
PHTML
42 lines
1.3 KiB
PHTML
<form id="frmSurv" name="frmSurv" action="<?=$this->url(array(
|
|
'controller' => 'surveillance',
|
|
'action' => 'set'))?> method="post">
|
|
<input name="siret" type="hidden" value="<?=$this->siret?>"/>
|
|
|
|
<?php if (is_array($this->source)) { ?>
|
|
<div class="fieldgrp">
|
|
<label>Types</label>
|
|
<div class="field">
|
|
<?php foreach($this->source as $s) { ?>
|
|
<input type="checkbox" name="source[]" value="<?=$s['id']?>"<?=$s['checked']?>/> <?=$s['txt']?><br/>
|
|
<?php } ?>
|
|
</div>
|
|
</div>
|
|
<?php } else { ?>
|
|
<input name="source" type="hidden" value="<?=$this->source?>"/>
|
|
<?php } ?>
|
|
|
|
<div id="survForm">
|
|
<div class="fieldgrp">
|
|
<label class="StyleInfoLib">Votre référence</label>
|
|
<div class="field">
|
|
<input class="longfield" name="ref" type="text" value="<?=$this->ref?>" size="10"/></div>
|
|
</div>
|
|
|
|
<?php if (!is_array($this->source) && $this->source=='score') { ?>
|
|
<div id="survForm">
|
|
<div class="fieldgrp">
|
|
<label class="StyleInfoLib">Votre encours (€)</label>
|
|
<div class="field">';
|
|
<input class="longfield" name="encours" type="text" value="<?=$this->encours?>" size="10"/></div>
|
|
</div>
|
|
<?php } ?>
|
|
|
|
<div class="fieldgrp">
|
|
<label class="StyleInfoLib">Adresse email du destinataire</label>
|
|
<div class="field">
|
|
<input class="longfield" name="email" type="text" value="<?=$this->email?>" size="20"/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</form>
|