110 lines
5.0 KiB
PHP
110 lines
5.0 KiB
PHP
<?php
|
||
include_once(realpath(dirname(__FILE__).'/constantes.php'));
|
||
header('Content-Type: text/html; charset=ISO-8859-1');
|
||
session_start();
|
||
|
||
//Connection au webservice
|
||
$client = new SoapClient(null, array( 'trace' => 1,
|
||
'soap_version' => SOAP_1_1,
|
||
'location' => WEBSERVICE_URL,
|
||
'uri' => WEBSERVICE_URI,
|
||
'login' => $_SESSION['tabInfo']['login'],
|
||
'password' => $_SESSION['tabInfo']['password'],
|
||
// 'encoding' => 'UTF-8'
|
||
));
|
||
|
||
|
||
?>
|
||
|
||
<script type="text/javascript" src="./js/thickbox.js"></script>
|
||
<label>Date cessation de paiement </label>
|
||
<input type="text" name="jugement[datePaie]" size="10" maxlength="10" value="" />
|
||
<span class="left">(Format JJ/MM/AAAA)</span>
|
||
|
||
<label>Montant Vente / Nouveau Capital</label>
|
||
<input type="text" name="jugement[montant]" size="10" maxlength="15" value="" />
|
||
<span class="left">en € sans les cents</span>
|
||
<label>(div. en </label><input type="text" name="jugement[actionsNb]" size="6" maxlength="15" value="" />
|
||
<label>actions de </label><input type="text" name="jugement[actionsMt]" size="5" maxlength="15" value="" />
|
||
<span class="left"> €)</span>
|
||
|
||
<label>Administrateur <font color="Red">*</font></label>
|
||
<select name="jugement[admin]" width="50">
|
||
<option value="-" selected>-</option>
|
||
<?php
|
||
$tmp=$client->getMandataires(/*array(1766,1773, 1765)*/);
|
||
$liste=$tmp['result'];
|
||
asort($liste);
|
||
$strMand='';
|
||
foreach ($liste as $code=>$lib) {
|
||
if (strlen($lib)>64) $lib=substr($lib,0,67).'...';
|
||
echo "<option value=\"$code\">$lib</option>";
|
||
$strMand.="<option value=\"$code\">$lib</option>";
|
||
}
|
||
?>
|
||
</select>
|
||
<label>Mandataire <font color="Red">*</font></label>
|
||
<select name="jugement[mand]"><option value="-" selected>-</option><?=$strMand?></select>
|
||
<span class="left"><a href="./pages_saisie/mandataire.php?width=600&height=400" title="Ajouter un mandataire" class="thickbox">Ajouter un mandataire</a></span>
|
||
<label>Complément, huissier, opposition, etc...</label>
|
||
<input type="text" name="jugement[comp]" size="70" maxlength="255" value="" />
|
||
<label>Nouvelle activit<69></label>
|
||
<input type="text" name="jugement[nouvActivite]" size="70" maxlength="255" value="" />
|
||
|
||
<fieldset>
|
||
<legend>Nouveau dirigeant 1</legend>
|
||
<label>Fonction :</label><select name="jugement[nouvDir1Fonc]"><?=$strSelectDir?></select>
|
||
<label>Genre :</label><select name="jugement[nouvDir1Genre]"><?=$strSelectGenre?></select>
|
||
<label>Prénom(s) / Siren </label>
|
||
<input type="text" name="jugement[nouvDir1Pre]" size="15" maxlength="40">
|
||
<label>NOM :</label><input type="text" name="jugement[nouvDir1Nom]" size="15" maxlength="40">
|
||
<label>Domicilié : </label><input type="text" name="jugement[nouvDir1Dom]" size="60" maxlength="255" value="" />
|
||
</fieldset>
|
||
<p><a href="#" onclick="$('#NouveauDirigeants2').css('display','inline');">Nouveau Dirigeants2</a></p>
|
||
<p><a href="#" onclick="$('#NouveauDirigeants3').css('display','inline');">Nouveau Dirigeants3</a></p>
|
||
|
||
<fieldset id="NouveauDirigeant2">
|
||
<legend>Nouveau dirigeant 2</legend>
|
||
<label>Fonction:</label><select name="jugement[nouvDir2Fonc]"><?=$strSelectDir?></select>
|
||
<label>Genre :</label><select name="jugement[nouvDir2Genre]"><?=$strSelectGenre?></select>
|
||
<label>Prénom(s) / Siren </label>
|
||
<input type="text" name="jugement[nouvDir2Pre]" size="15" maxlength="40">
|
||
<label>NOM :</label>
|
||
<input type="text" name="jugement[nouvDir2Nom]" size="15" maxlength="40">
|
||
<label>Domicilié :</label>
|
||
<input type="text" name="jugement[nouvDir2Dom]" size="60" maxlength="255" value="" />
|
||
</fieldset>
|
||
|
||
<fieldset id="NouveauDirigeant3">
|
||
<legend>Nouveau dirigeant 3</legend>
|
||
<label>Fonction :</label><select name="jugement[nouvDir3Fonc]"><?=$strSelectDir?></select>
|
||
<label>Genre :</label><select name="jugement[nouvDir3Genre]"><?=$strSelectGenre?></select>
|
||
<label>Prénom(s) / Siren</label>
|
||
<input type="text" name="jugement[nouvDir3Pre]" size="15" maxlength="40">
|
||
<label>NOM :</label><input type="text" name="jugement[nouvDir3Nom]" size="15" maxlength="40"><br/>
|
||
<label>Domicilié :</label>
|
||
<input type="text" name="jugement[nouvDir3Dom]" size="60" maxlength="255" value="" />
|
||
</fieldset>
|
||
|
||
<label>Nouvelle adresse</label>
|
||
<input type="text" name="jugement[nouvAdr]" size="70" maxlength="255" value="" />
|
||
<label>Code Postal</label>
|
||
<input type="text" name="jugement[nouvAdrCp]" size="6" maxlength="7" value="" />
|
||
<label>Ville</label><input type="text" name="jugement[nouvAdrVille]" size="40" maxlength="50" value="" />
|
||
|
||
<label>Nouvelle forme juridique</label>
|
||
<select name="jugement[nouvFJ]">
|
||
<option value="0000" selected>-</option>
|
||
<option value="5499">SARL</option>
|
||
<option value="5498">EURL</option>
|
||
<option value="6598">EARL</option>
|
||
<option value="5699">SA</option>
|
||
<option value="5710">SAS</option>
|
||
<option value="5720">SASU</option>
|
||
<option value="5202">SNC</option>
|
||
<option value="6220">GIE</option>
|
||
<option value="6533">GAEC</option>
|
||
<option value="6540">SCI</option>
|
||
<option value="6585">SCP</option>
|
||
</select>
|