190 lines
6.1 KiB
PHTML
190 lines
6.1 KiB
PHTML
<?php if ($this->id1){ ?>
|
|
|
|
<style>
|
|
form em {color:#FF0000;}
|
|
fieldset {border:1px solid; padding:5px;}
|
|
fieldset legend {padding:5px;}
|
|
.fieldgrp {clear:both; width:100%; margin-bottom:.5em; overflow:hidden;}
|
|
.fieldgrp:after {content:"."; display:block; clear:both; visibility:hidden; line-height:0; height:0; }
|
|
.fieldgrp label {clear:both; padding:0 10px 0 0; line-height:22px; _padding-top:3px; float:left; display:block;}
|
|
.fieldgrp label span {font-weight:normal;}
|
|
.fieldgrp label abbr {color:#4B911C; font-size:120%; vertical-align:middle;}
|
|
fieldset .fieldgrp {clear:both; width:100%; margin-bottom:.5em; overflow:hidden;}
|
|
fieldset .fieldgrp:after {content:"."; display:block; clear:both; visibility:hidden; line-height:0; height:0; }
|
|
fieldset .fieldgrp label { clear:both; padding:0 10px 0 0; line-height:22px; _padding-top:3px; float:left; display:block;}
|
|
fieldset .fieldgrp label span {font-weight:normal;}
|
|
fieldset .fieldgrp label abbr {color:#4B911C; font-size:120%; vertical-align:middle;}
|
|
.field {float:left; padding:0 10px 0 0;line-height:22px;_padding-top:3px;}
|
|
.field .longfield {width:215px;}
|
|
.field .longfield-select {width:220px;}
|
|
.field .smallfield {width:95px;}
|
|
.field .medfield {width:110px;}
|
|
.field input, .field select { margin:2px 0; }
|
|
.field input[type="radio"] { margin:0 5px 0 5px; }
|
|
div#pp { display:none; }
|
|
div#etranger { display:none; }
|
|
.ui-widget-content a {color:blue; text-decoration:underline;}
|
|
</style>
|
|
|
|
<?php if ($this->type=='actionnaire') {?>
|
|
|
|
<?php if ( $this->mode == 'add' ) {?>
|
|
<div class="fieldgrp">Saisie d'un actionnaire pour la société <?=$this->rs?> (<?=$this->siren?>)</div>
|
|
<?=$this->render('saisie/lienfiche.phtml')?>
|
|
<?php } elseif ($this->mode == 'edit') {?>
|
|
<div class="fieldgrp">Modification d'un actionnaire pour la société <?=$this->rs?> (<?=$this->siren?>)</div>
|
|
<?php } else {?>
|
|
<div class="fieldgrp">
|
|
Etes-vous certain de vouloir supprimer le lien entre <?=$this->rs?> (<?=$this->siren?>)
|
|
de la société <?=$this->rs2?> (<?=$this->siren2?>) ?
|
|
</div>
|
|
<?php }?>
|
|
|
|
<form name="lien" action="<?=$this->url(array('controller'=>'saisie', 'action'=>'liensave'),null, true)?>" method="post">
|
|
<input type="hidden" name="idLien" value="<?=$this->idLien?>" />
|
|
<input type="hidden" name="id1" value="<?=$this->id1?>" />
|
|
|
|
<?php if ($this->mode=='edit' || $this->mode=='delete') {?>
|
|
|
|
<div class="fieldgrp">
|
|
<label>Document de référence :</label>
|
|
<div class="field">
|
|
<select name="refDoc"><option value="">-</option></select>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="fieldgrp">
|
|
<label>Date du document ou date de cloture l'exercice :</label>
|
|
<div class="field">
|
|
<input type="text" name="dateSaisie" value="<?=$this->dateSaisie?>" /> (JJ/MM/AAAAA)
|
|
</div>
|
|
</div>
|
|
|
|
<div class="fieldgrp">
|
|
<label>Motif du changement :</label>
|
|
<div class="field">
|
|
<select name="">
|
|
<option value="">-</option>
|
|
<option>Fusion</option>
|
|
<option>Cession de parts</option>
|
|
<option>Acte SSP</option>
|
|
<option>TUP</option>
|
|
<option>Donation/Partage</option>
|
|
<option>Vente/Cession</option>
|
|
<option>Statuts</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
|
|
<?php }?>
|
|
|
|
<?php if ($this->mode=='add' || $this->mode=='edit') {?>
|
|
<fieldset>
|
|
<legend>Liens</legend>
|
|
|
|
<input type="hidden" name="type" value="actionnaire" />
|
|
|
|
<div class="fieldgrp">
|
|
<label>Pourcentage</label>
|
|
<div class="field">
|
|
<input type="text" name="PDetention" value="<?=$this->PDetention?>" size="3"/> %
|
|
</div>
|
|
</div>
|
|
|
|
<div class="fieldgrp">
|
|
<label>Détention</label>
|
|
<div class="field">
|
|
<select name="MajMin">
|
|
<?php foreach( $this->detention as $val => $lib ) {?>
|
|
<?php $select = ''; if ($val==$this->MajMin) { $select = ' selected'; }?>
|
|
<option value="<?=$val?>"<?=$select?>><?=$lib?></option>
|
|
<?php }?>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="fieldgrp">
|
|
<label>Droit de vote</label>
|
|
<div class="field">
|
|
<input type="text" name="Pvote" value="<?=$this->Pvote?>"/> %
|
|
</div>
|
|
</div>
|
|
</fieldset>
|
|
<?php }?>
|
|
|
|
</form>
|
|
|
|
<?php }?>
|
|
|
|
<?php if ($this->type=='participation') {?>
|
|
|
|
<?php if ( $this->mode == 'add' ) { ?>
|
|
|
|
<div class="fieldgrp">Saisie d'une participation pour la société <?=$this->rs?> (<?=$this->siren?>)</div>
|
|
<?=$this->render('saisie/lienfiche.phtml')?>
|
|
|
|
<?php }?>
|
|
|
|
<?php if ($this->mode=='edit' || $this->mode=='delete') {?>
|
|
|
|
<?php if ($this->mode == 'edit') {?>
|
|
<div class="fieldgrp">Modification d'une participation pour la société <?=$this->rs?> (<?=$this->siren?>)</div>
|
|
<?php } else {?>
|
|
<div class="fieldgrp">
|
|
Etes-vous certain de vouloir supprimer le lien entre <?=$this->rs?> (<?=$this->siren?>)
|
|
de la société <?=$this->rs2?> (<?=$this->siren2?>) ?
|
|
</div>
|
|
<?php }?>
|
|
|
|
<?php }?>
|
|
|
|
<?php if ($this->mode=='add' || $this->mode=='edit') {?>
|
|
<form name="lien" action="<?=$this->url(array('controller'=>'saisie', 'action'=>'liensave'),null, true)?>" method="post">
|
|
<input type="hidden" name="idLien" value="<?=$this->idLien?>" />
|
|
<input type="hidden" name="id1" value="<?=$this->id1?>" />
|
|
|
|
<fieldset>
|
|
<legend>Liens</legend>
|
|
|
|
<input type="hidden" name="type" value="participation" />
|
|
|
|
<div class="fieldgrp">
|
|
<label>Pourcentage</label>
|
|
<div class="field">
|
|
<input type="text" name="PDetention" value="<?=$this->PDetention?>" size="3"/> %
|
|
</div>
|
|
</div>
|
|
|
|
<div class="fieldgrp">
|
|
<label>Détention</label>
|
|
<div class="field">
|
|
<select name="MajMin">
|
|
<?php foreach( $this->detention as $val => $lib ) {?>
|
|
<?php $select = ''; if ($val==$this->MajMin) { $select = ' selected'; }?>
|
|
<option value="<?=$val?>"<?=$select?>><?=$lib?></option>
|
|
<?php }?>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="fieldgrp">
|
|
<label>Droit de vote</label>
|
|
<div class="field">
|
|
<input type="text" name="Pvote" value="<?=$this->Pvote?>"/> %
|
|
</div>
|
|
</div>
|
|
|
|
</fieldset>
|
|
</form>
|
|
<?php }?>
|
|
|
|
<?php }?>
|
|
|
|
<?php } else {?>
|
|
|
|
Erreur.
|
|
|
|
<?php }?>
|
|
|
|
|