issue #0001372 : Adresse Personne Physique

This commit is contained in:
Michael RICOIS 2012-10-24 12:55:26 +00:00
parent 3ab521c33e
commit 76a9bced55
3 changed files with 46 additions and 2 deletions

View File

@ -1658,10 +1658,11 @@ class SaisieController extends Zend_Controller_Action
$params['PpPm'] = 'PM';
//Personne physique
//Personne Physique
if ($params['pp']==1) {
$params['PpPm'] = 'PP';
$params['RS'] = '';
//Personne Morale
} elseif (!empty($params['siren'])) {
$params['RS'] = $params['nom'];
$params['civilite'] = '';

View File

@ -141,7 +141,7 @@ $('a.lienfiche').each(function(){
my: "bottom left",
at: "top right"
},
hide: { event: 'unfocus' }
show: { solo: true }
});
});
</script>

View File

@ -34,4 +34,47 @@
<?php }?>
</select>
</div>
</div>
<div class="fieldgrp">
<label>Adresse</label>
<div class="field">
<input type="text" name="adresse_num" size="4"/>
<input type="text" name="adresse_btq" size="1"/>
<input type="text" name="adresse_codvoie" size="4"/>
<input type="text" name="adresse_libvoie" size="32"/>
</div>
</div>
<div class="fieldgrp">
<label>Adresse complément</label>
<div class="field">
<input type="text" name="adresse_comp" size="40"/>
</div>
</div>
<div class="fieldgrp">
<label>CP</label>
<div class="field">
<input type="text" name="adresse_cp"/>
</div>
</div>
<div class="fieldgrp">
<label>Ville</label>
<div class="field">
<input type="text" name="adresse_ville"/>
</div>
</div>
<div class="fieldgrp">
<label>Pays</label>
<div class="field">
<select name="adresse_pays">
<option value="">-</option>
<?php foreach($this->countries as $code => $lib) {?>
<option value="<?=$code?>"><?=$lib?></option>
<?php }?>
</select>
</div>
</div>