Issue #0001727: Ajouter le champs lors de l'édition de société avec SIREN (France)
This commit is contained in:
parent
b6cd0fa8a3
commit
d335aa9774
@ -38,6 +38,13 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="fieldgrp">
|
||||
<label>ISIN</label>
|
||||
<div class="field">
|
||||
<input type="text" name="isin" value="<?=$this->isin?>"/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<input type="hidden" name="adresse_pays" value="FRA" />
|
||||
|
||||
<div class="fieldgrp">
|
||||
@ -159,6 +166,13 @@
|
||||
$.datepicker.setDefaults( $.datepicker.regional["fr"] );
|
||||
$('input[name=dateCapital]').datepicker({ changeMonth: true, changeYear: true });
|
||||
$('input[name=dateNbActions]').datepicker({ changeMonth: true, changeYear: true });
|
||||
|
||||
$('input[name=isin]').change(function(e){
|
||||
$.post('/saisie/checkisin', {isin: $(this).val() }, function success(data) {
|
||||
if (data){$('input[name=isin]').css("border-color", "red");}
|
||||
else {$('input[name=isin]').css("border-color", "");}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
<?php } else {?>
|
||||
|
Loading…
Reference in New Issue
Block a user