2012-02-08 20:32:51 +00:00

250 lines
8.0 KiB
PHTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<div id="center">
<?php if ($message!='') { ?>
<div style="margin:5px; padding: 0pt 0.7em;" class="ui-state-highlight ui-corner-all">
<p><span style="float: left; margin-right: 0.3em;" class="ui-icon ui-icon-info"></span>
<?=$message?></p>
</div>
<?php } ?>
<?php if ($this->etab->Siege==0) { ?>
<h1 class="titre">IDENTITE DE L'&Eacute;TABLISSEMENT</h1>
<?php } else { ?>
<h1 class="titre">IDENTITE DE L'ENTREPRISE</h1>
<?php } ?>
<div class="paragraph">
<div>
<label>Num&eacute;ro identifiant Siret</label>
<?=$this->SiretTexte($this->etab->Siret)?>
</div>
<div class="clearfix">
<label>Num&eacute;ro identifiant Siret du si&egrave;ge</label>
<a href="<?=$this->url(array(
'controller' => 'identite',
'action' => 'fiche',
'siret' => $this->etab->SiretSiege))?>">
<?=$this->SiretTexte($this->etab->SiretSiege)?>
</a>
</div>
<div class="clearfix">
<label>Raison Sociale</label>
<?php
echo $this->etab->Nom;
if ($this->etab->Nom2!='') echo ' / '.$this->etab->Nom2;
?>
</div>
<div class="clearfix">
<label>Adresse</label>
<div style="float:left;">
<?php
echo $this->etab->AdresseNum.' '.$this->etab->AdresseRue.'<br/>';
if (!empty($this->etab->Adresse)) echo $this->etab->Adresse.'<br/>';
if (!empty($this->etab->Adresse2)) echo $this->etab->Adresse2.'<br/>';
echo $this->etab->CP.' '.$this->etab->Ville;
?>
</div>
</div>
<div>
<label>&Eacute;tablissement</label>
<?php
if ($this->etab->Siege==1) echo "Si&egrave;ge";
else echo "Secondaire";
if ($this->etab->Actif==1) echo " actif";
else echo " inactif";
if($this->etab->Nic*1==0 || $this->etab->Nic*1>=99990)
echo " provisoire";
?>
</div>
<?php
$siteWeb = '';
if (substr($this->etab->Web,0,7)<>'http://')
$siteWeb='http://'.$this->etab->Web;
else
$siteWeb=$this->etab->Web;
?>
</div>
<h2 id="dFormLogo" href="<?=$this->url(array('controller'=>'logo', 'action'=>'index', 'siren'=>$this->etab->Siren))?>">Logo</h2>
<div class="paragraph">
<div id="formLogo"></div>
</div>
<h2>Raison sociale et coordonnées</h2>
<form name="form_saisie" action="<?=$this->url(array('controller'=>'saisie', 'action'=>'save'), null, true)?>" method="post" enctype="multipart/form-data">
<input type="hidden" name="siret" value="<?=$this->siret?>"/>
<input type="hidden" name="id" value="<?=$this->id?>"/>
<input type="hidden" name="siren" value="<?=$this->etab->Siren?>"/>
<input type="hidden" name="nic" value="<?=$this->etab->Nic?>"/>
<div class="paragraph">
<label>T&eacute;l&eacute;phone</label>
<input type="text" name="frmSaisie[tel]" size="25" maxlength="100" value="<?=trim($this->etab->Tel)?>" />
<label>Fax</label>
<input type="text" name="frmSaisie[fax]" size="25" maxlength="100" value="<?=trim($this->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($this->etab->Mail)?>" />
</div>
<h2>Activité(s) et Chiffres d'Affaires</h2>
<div class="paragraph">
<label>Code ISIN</label>
<input type="text" name="frmSaisie[isin]" size="15" maxlength="15" value="<?=trim($this->etab->Isin)?>" />
<label>Activit&eacute; d&eacute;clar&eacute;e de l'entreprise</label>
<textarea name="frmSaisie[activite]" rows="5" cols="40"><?=$this->etab->Activite?></textarea>
<label>Capital Montant</label>
<input type="text" name="frmSaisie[capital_mt]" size="10" maxlength="11" value="<?=trim($this->etab->Capital)*1.0?>" disabled="disabled"/>
<label>Capital Devise</label>
<select disabled="disabled" name="frmSaisie[capital_dev]">
<?php
$selOne=false;
foreach($this->devises as $dev) {
if (trim($this->etab->CapitalDev)==$dev->devIso) { $selOne=true; $sel='selected'; } else $sel='';
$lib = $dev->devNom;
if (strlen($dev->devNom)>39) $lib = substr($dev->devNom,0,41).'...';
echo "<option value=\"$dev->devIso\" $sel >$lib</option>";
}
if (!$selOne) echo '<option value="0000" selected>-</option>';
?>
</select>
</div>
<h2>BODACC</h2>
<div class="paragraph">
<?=$this->action('form','saisie', null, array( 'siret' => $this->siret))?>
</div>
<h2 id="dFormActionnaire">Actionnariat</h2>
<div class="paragraph">
<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>&nbsp;Major.&nbsp;/&nbsp;</label><input type="radio" class="widthauto" name="actionnaire[majMin]" value="maj" />
<label>&nbsp;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]">
<?php foreach($this->selectPays as $val => $item):?>
<option value="<?=$val?>"><?=$item?></option>
<?php endforeach;?>
</select>
<label>Raison sociale</label>
<input type="text" name="actionnaire[nom]" size="35" maxlength="80" value=""/>
<span class="left">si &eacute;tranger</span>
</div>
</div>
<h2 id="dFormParticipation">Participations</h2>
<div class="paragraph">
<div id="formParticipation">
<label>Siren participation</label>
<input type="text" name="particip[siren]" size="8" maxlength="12" value="" />
<label>&agrave;</label>
<label>Pourcentage</label><input class="percent" type="text" name="particip[pct]" size="3" maxlength="5" value="" /><span class="left">%</span>
<label>&nbsp;Major.&nbsp;/&nbsp;</label><input type="radio" class="widthauto" name="particip[majMin]" value="maj" />
<label>&nbsp;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]">
<?php foreach($this->selectPays as $val => $item):?>
<option value="<?=$val?>"><?=$item?></option>
<?php endforeach;?>
</select>
<label>Raison sociale</label>
<input type="text" name="particip[nom]" size="35" maxlength="80" value=""/>
<span class="left">&nbsp;si &eacute;tranger</span>
</div>
</div>
<h2>Informations diverses</h2>
<div class="paragraph">
<div>
<label>Autre siren (doublon)</label>
<input type="text" size="11" name="frmSaisie[sirenDoublon]" value="<?=$this->etab->sirenDoublon?>"/>
</div>
<label>Refus dinscription au Registre du Commerce et des Sociétés</label>
<input type="checkbox" name="refusRNCS" value="1"/>
<div id="divRefusRNCS"></div>
<?php
$waldec = '';
if (substr($this->etab->autreId,0,1)=='W'){
$waldec = $this->etab->autreId;
}
?>
<div>
<label>Identifiant R.N.A.</label>
<input type="text" size="11" name="frmSaisie[waldec]" value="<?=$waldec?>"/>
</div>
<div>
<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>
</div>
<div>
<label>Encours</label>
<input type="text" name="score[encours]" value="">
<span class="left"></span>
</div>
<div>
<label>Note indiScore</label>
<input style="width:25px;" type="text" name="score[scoreSolv]" value="">
<span class="left"> / 100</span>
</div>
<div>
<label>Note Dirigeance</label>
<input style="width:25px;" type="text" name="score[scoreDir]" value="">
<span class="left"> / 100</span>
</div>
<div>
<label>Note Conformité</label>
<input style="width:25px;" type="text" name="score[scoreConf]" value="">
<span class="left"> / 100</span>
</div>
<?php
$disable = ' disabled';
if(substr($this->etab->FJ,0,1)=='1' || in_array($this->etab->FJ, array(2310, 2320, 2385))) {
$disable = '';
}
?>
<div>
<label>Entreprise ayant exercée son droit d'opposition en</label>
<input type="checkbox" name="oppositionInsee" value="1"<?=$disable?>/>
<div id="divOppositionInsee"></div>
</div>
<div class="submit clearfix"><input type="submit" name="submit" value="Sauver"/></div>
</div>
</form>
</div>