163 lines
6.0 KiB
PHP
163 lines
6.0 KiB
PHP
<div>
|
|
<label>Numéro identifiant, Siret</label>
|
|
<?=substr($etab['Siren'],0,3).' '.
|
|
substr($etab['Siren'],3,3).' '.
|
|
substr($etab['Siren'],6,3).' <i>'.
|
|
substr($etab['Siret'],9,5).'</i>'?>
|
|
</div>
|
|
|
|
<div>
|
|
<label>Raison Sociale</label>
|
|
<?php
|
|
echo $etab['Nom'];
|
|
if ($etab['Nom2']<>'') echo ' / '.$etab['Nom2'];
|
|
?>
|
|
</div>
|
|
|
|
<?php
|
|
if ($etab['Enseigne']<>'' && $etab['Sigle']<>'') {
|
|
$titre = 'Enseigne / Sigle';
|
|
$lib = $etab['Enseigne'].' / '.$etab['Sigle'];
|
|
} elseif ($etab['Enseigne']<>'' && $etab['Sigle']=='') {
|
|
$titre = 'Enseigne';
|
|
$lib = $etab['Enseigne'];
|
|
} elseif ($etab['Enseigne']=='' && $etab['Sigle']<>''){
|
|
$titre='Sigle'; $lib=$etab['Sigle'];
|
|
} else {
|
|
$titre='';
|
|
}
|
|
$siteWeb = '';
|
|
if (substr($etab['Web'],0,7)<>'http://')
|
|
$siteWeb='http://'.$etab['Web'];
|
|
else
|
|
$siteWeb=$etab['Web'];
|
|
?>
|
|
<h2 id="dFormLogo" alt="<?=$etab['Siren']?>">Logo</h2>
|
|
<div class="blockh2">
|
|
<div id="formLogo"></div>
|
|
</div>
|
|
|
|
<h2>Raison sociale et coordonnées</h2>
|
|
|
|
<form name="form_saisie" action="./?page=saisie" method="post" enctype="multipart/form-data">
|
|
<input type="hidden" name="siret" value="<?=$siret?>"/>
|
|
<input type="hidden" name="id" value="<?=$idEntreprise?>"/>
|
|
<input type="hidden" name="siren" value="<?=$etab['Siren']?>"/>
|
|
<input type="hidden" name="nic" value="<?=$etab['Nic']?>"/>
|
|
|
|
<label>Téléphone</label>
|
|
<input type="text" name="frmSaisie[tel]" size="25" maxlength="100" value="<?=trim($etab['Tel'])?>" />
|
|
<label>Fax</label>
|
|
<input type="text" name="frmSaisie[fax]" size="25" maxlength="100" value="<?=trim($etab['Fax'])?>" />
|
|
<label>Site Internet</label>
|
|
<input type="text" name="frmSaisie[web]" size="40" maxlength="100" value="<?=$siteWeb?>" />
|
|
<label>E-mail</label>
|
|
<input type="text" name="frmSaisie[mail]" size="40" maxlength="100" value="<?=trim($etab['Mail'])?>" />
|
|
|
|
<h2>Activité(s) et Chiffres d'Affaires</h2>
|
|
|
|
<label>Code ISIN</label>
|
|
<input type="text" name="frmSaisie[isin]" size="15" maxlength="15" value="<?=trim($etab['Isin'])?>" />
|
|
<label>Activité déclarée de l'entreprise</label>
|
|
<textarea name="frmSaisie[activite]" rows="5" cols="40"><?=$etab['Activite']?></textarea>
|
|
|
|
<label>Capital Montant</label>
|
|
<input type="text" name="frmSaisie[capital_mt]" size="10" maxlength="11" value="<?=trim($etab['Capital'])*1.0?>" disabled="disabled"/>
|
|
<label>Capital Devise</label>
|
|
<select disabled="disabled" name="frmSaisie[capital_dev]">
|
|
<?php
|
|
$tmp=$client->getDevises();
|
|
$liste=$tmp['result'];
|
|
$selOne=false;
|
|
foreach ($liste as $iso=>$lib) {
|
|
if (trim($etab['CapitalDev'])==$iso) { $selOne=true; $sel='selected'; } else $sel='';
|
|
if (strlen($lib)>39) $lib=substr($lib,0,41).'...';
|
|
echo "<option value=\"$iso\" $sel >$lib</option>";
|
|
}
|
|
if (!$selOne) echo '<option value="0000" selected>-</option>';
|
|
?>
|
|
</select>
|
|
|
|
<h2>BODACC</h2>
|
|
|
|
<?php
|
|
$saisie = isset($_SESSION['saisie']) ? $_SESSION['saisie'] : array();
|
|
$saisie['tribunal'] = $etab['TribunalCode'];
|
|
require_once realpath(dirname(__FILE__)).'/saisie_form_event.php';
|
|
?>
|
|
|
|
<h2 id="dFormActionnaire">Actionnariat</h2>
|
|
<div id="formActionnaire">
|
|
<label>Siren actionnaire</label>
|
|
<input type="text" name="actionnaire[siren]" size="8" maxlength="12" value="" />
|
|
<label>Pourcentage</label><input type="text" class="percent" name="actionnaire[pct]" size="3" maxlength="5" value="" />
|
|
<span class="left">%</span>
|
|
<label> Major. / </label><input type="radio" class="widthauto" name="actionnaire[majMin]" value="maj" />
|
|
<label> Minor.</label><input type="radio" class="widthauto" name="actionnaire[majMin]" value="min" />
|
|
<label>au DateMAJ</label><input type="text" class="date" name="actionnaire[dateMAJ]" size="10" maxlength="10" value="" />
|
|
<span class="left">(Format JJ/MM/AAAA)</span>
|
|
<label>Pays</label>
|
|
<select name="actionnaire[pays]"><?=$strSelectPays?></select>
|
|
<label>Raison sociale</label>
|
|
<input type="text" name="actionnaire[nom]" size="35" maxlength="80" value=""/>
|
|
<span class="left">si étranger</span>
|
|
</div>
|
|
|
|
<h2 id="dFormParticipation">Participations</h2>
|
|
<div id="formParticipation">
|
|
<label>Siren participation</label>
|
|
<input type="text" name="particip[siren]" size="8" maxlength="12" value="" />
|
|
<label>à</label>
|
|
<label>Pourcentage</label><input class="percent" type="text" name="particip[pct]" size="3" maxlength="5" value="" /><span class="left">%</span>
|
|
<label> Major. / </label><input type="radio" class="widthauto" name="particip[majMin]" value="maj" />
|
|
<label> Minor.</label><input type="radio" class="widthauto" name="particip[majMin]" value="min" />
|
|
<label>au DateMAJ</label><input type="text" class="date" name="particip[dateMAJ]" size="10" maxlength="10" value="" />
|
|
<span class="left">(Format JJ/MM/AAAA)</span>
|
|
<label>Pays</label><select name="particip[pays]"><?=$strSelectPays?></select>
|
|
<label>Raison sociale</label>
|
|
<input type="text" name="particip[nom]" size="35" maxlength="80" value=""/>
|
|
<span class="left"> si étranger</span>
|
|
</div>
|
|
|
|
<h2>Informations diverses</h2>
|
|
|
|
<label>Autre siren (doublon)</label>
|
|
<input type="text" size="11" name="frmSaisie[sirenDoublon]" value="<?=$etab['sirenDoublon']?>"/>
|
|
|
|
<label>Entreprise de domiciliation</label>
|
|
<select name="frmSaisie[domiciliataire]">
|
|
<option value="nd">Sans objet</option>
|
|
<option value="oui">Oui</option>
|
|
<option value="non">Non</option>
|
|
</select>
|
|
|
|
<label>Encours</label>
|
|
<input type="text" name="score[encours]" value="">
|
|
<span class="left">€</span>
|
|
|
|
<label>Note indiScore</label>
|
|
<input style="width:25px;" type="text" name="score[scoreSolv]" value="">
|
|
<span class="left"> / 100</span>
|
|
|
|
<label>Note Dirigeance</label>
|
|
<input style="width:25px;" type="text" name="score[scoreDir]" value="">
|
|
<span class="left"> / 100</span>
|
|
|
|
<label>Note Conformité</label>
|
|
<input style="width:25px;" type="text" name="score[scoreConf]" value="">
|
|
<span class="left"> / 100</span>
|
|
|
|
|
|
<?php
|
|
if($etab['FJ'][0]==1)
|
|
{
|
|
?>
|
|
<label>Entreprise ayant exercée son droit d'opposition en</label>
|
|
<input type="checkbox" name="oppositionInsee" value="1"/>
|
|
<div id="divOppositionInsee"></div>
|
|
<?php
|
|
}
|
|
?>
|
|
<p class="submit"><input type="submit" name="submit" value="Sauver"/></p>
|
|
|
|
</form>
|