This commit is contained in:
Michael RICOIS 2010-06-16 10:55:20 +00:00
commit 34305a2fa2
48 changed files with 752 additions and 20 deletions

View File

@ -296,28 +296,39 @@ function afficheCommande($commande, $type){
}
$compteur++;
/*
* Formulaire pour modifier l'état d'une commande courrier S&D
*/
$contenuEtat = '';
if ( $commande->type=='C' && hasModeEdition() ){
$contenuEtat.= '<a href="./pages_saisie/gencourrier.php?id=K'.
$commande->id.'"target="_blank">Générer le courrier</a>';
$colspan = 1;
}
$output = '<tr class="un'.$class.'">'.
'<td style="vertical-align:bottom;" colspan="'.$colspan.'">'.
'<b>K' . $commande->id . '</b>' .
'</td>';
if ($colspan == 1){
$output.= '<td colspan="2">'.''.'</td>';
$output.= '<td colspan="2">' . $contenuEtat . '</td>';
}
$output.= '</tr>';
$output.= '<tr class="deux'.$class.'">'.
' <td>'.
' <div><a href="./page=identite&siret='.$commande->siren.'" target="_blank">'.
' <div><a href="./?page=identite&siret='.$commande->siren.'" target="_blank">'.
$commande->siren.'</a></div>'.
' <div><b>'.$commande->raisonSociale.'</b></div>'.
' </td>'.
' <td>';
if ($commande->type=='C'){
if ( $commande->type=='C' ) {
$output.= 'Commmande de kbis original par courrier.';
}elseif ($commande->type=='M'){
} elseif ( $commande->type=='M' ) {
$output.= 'Commmande de kbis par email.';
}
@ -403,7 +414,7 @@ function afficheCommande($commande, $type){
}
$contenuEtat.= '</select></div>';
$contenuEtat.= '<a href="./pages_saisie/gencourrier.php?id='.
$contenuEtat.= '<a href="./pages_saisie/gencourrier.php?id=C'.
$commande->idCommande.'"target="_blank">Générer le courrier</a>';
}

View File

@ -0,0 +1,4 @@
<?php
header('Content-Type: text/html; charset='.CHARSET);
?>
<p>Sélectionner l'évènement ou le jugement, pour faire apparaître le formulaire.</p>

View File

@ -0,0 +1,13 @@
<?php
include_once(realpath(dirname(__FILE__).'/constantes.php'));
header('Content-Type: text/html; charset='.CHARSET);
?>
<label>Date cessation de paiement </label>
<input type="text" class="date" name="jugement[datePaie]" size="10" maxlength="10" value="" />
<span class="left">(Format JJ/MM/AAAA)</span>
<?php
require_once realpath(dirname(__FILE__)).'/field_administrateur.php';
require_once realpath(dirname(__FILE__)).'/field_mandataire.php';
?>
<label>Compl&eacute;ment, huissier, opposition, etc...</label>
<input type="text" name="jugement[comp]" size="70" maxlength="255" value="" />

View File

@ -0,0 +1,8 @@
<?php
include_once(realpath(dirname(__FILE__).'/constantes.php'));
header('Content-Type: text/html; charset='.CHARSET);
require_once realpath(dirname(__FILE__)).'/field_administrateur.php';
require_once realpath(dirname(__FILE__)).'/field_mandataire.php';
?>
<label>Compl&eacute;ment, huissier, opposition, etc...</label>
<input type="text" name="jugement[comp]" size="70" maxlength="255" value="" />

View File

@ -0,0 +1,8 @@
<?php
include_once(realpath(dirname(__FILE__).'/constantes.php'));
header('Content-Type: text/html; charset='.CHARSET);
require_once realpath(dirname(__FILE__)).'/field_administrateur.php';
require_once realpath(dirname(__FILE__)).'/field_mandataire.php';
?>
<label>Compl&eacute;ment, huissier, opposition, etc...</label>
<input type="text" name="jugement[comp]" size="70" maxlength="255" value="" />

View File

@ -0,0 +1,13 @@
<?php
include_once(realpath(dirname(__FILE__).'/constantes.php'));
header('Content-Type: text/html; charset='.CHARSET);
?>
<label>Date cessation de paiement </label>
<input type="text" class="date" name="jugement[datePaie]" size="10" maxlength="10" value="" />
<span class="left">(Format JJ/MM/AAAA)</span>
<?php
require_once realpath(dirname(__FILE__)).'/field_administrateur.php';
require_once realpath(dirname(__FILE__)).'/field_mandataire.php';
?>
<label>Compl&eacute;ment, huissier, opposition, etc...</label>
<input type="text" name="jugement[comp]" size="70" maxlength="255" value="" />

View File

@ -0,0 +1,13 @@
<?php
include_once(realpath(dirname(__FILE__).'/constantes.php'));
header('Content-Type: text/html; charset='.CHARSET);
?>
<label>Date cessation de paiement </label>
<input type="text" class="date" name="jugement[datePaie]" size="10" maxlength="10" value="" />
<span class="left">(Format JJ/MM/AAAA)</span>
<?php
require_once realpath(dirname(__FILE__)).'/field_administrateur.php';
require_once realpath(dirname(__FILE__)).'/field_mandataire.php';
?>
<label>Compl&eacute;ment, huissier, opposition, etc...</label>
<input type="text" name="jugement[comp]" size="70" maxlength="255" value="" />

View File

@ -0,0 +1,13 @@
<?php
include_once(realpath(dirname(__FILE__).'/constantes.php'));
header('Content-Type: text/html; charset='.CHARSET);
?>
<label>Date cessation de paiement </label>
<input type="text" class="date" name="jugement[datePaie]" size="10" maxlength="10" value="" />
<span class="left">(Format JJ/MM/AAAA)</span>
<?php
require_once realpath(dirname(__FILE__)).'/field_administrateur.php';
require_once realpath(dirname(__FILE__)).'/field_mandataire.php';
?>
<label>Compl&eacute;ment, huissier, opposition, etc...</label>
<input type="text" name="jugement[comp]" size="70" maxlength="255" value="" />

View File

@ -0,0 +1,13 @@
<?php
include_once(realpath(dirname(__FILE__).'/constantes.php'));
header('Content-Type: text/html; charset='.CHARSET);
?>
<label>Date cessation de paiement </label>
<input type="text" class="date" name="jugement[datePaie]" size="10" maxlength="10" value="" />
<span class="left">(Format JJ/MM/AAAA)</span>
<?php
require_once realpath(dirname(__FILE__)).'/field_administrateur.php';
require_once realpath(dirname(__FILE__)).'/field_mandataire.php';
?>
<label>Compl&eacute;ment, huissier, opposition, etc...</label>
<input type="text" name="jugement[comp]" size="70" maxlength="255" value="" />

View File

@ -0,0 +1,13 @@
<?php
include_once(realpath(dirname(__FILE__).'/constantes.php'));
header('Content-Type: text/html; charset='.CHARSET);
?>
<label>Date cessation de paiement </label>
<input type="text" class="date" name="jugement[datePaie]" size="10" maxlength="10" value="" />
<span class="left">(Format JJ/MM/AAAA)</span>
<?php
require_once realpath(dirname(__FILE__)).'/field_administrateur.php';
require_once realpath(dirname(__FILE__)).'/field_mandataire.php';
?>
<label>Compl&eacute;ment, huissier, opposition, etc...</label>
<input type="text" name="jugement[comp]" size="70" maxlength="255" value="" />

View File

@ -0,0 +1,13 @@
<?php
include_once(realpath(dirname(__FILE__).'/constantes.php'));
header('Content-Type: text/html; charset='.CHARSET);
?>
<label>Date cessation de paiement </label>
<input type="text" class="date" name="jugement[datePaie]" size="10" maxlength="10" value="" />
<span class="left">(Format JJ/MM/AAAA)</span>
<?php
require_once realpath(dirname(__FILE__)).'/field_administrateur.php';
require_once realpath(dirname(__FILE__)).'/field_mandataire.php';
?>
<label>Compl&eacute;ment, huissier, opposition, etc...</label>
<input type="text" name="jugement[comp]" size="70" maxlength="255" value="" />

View File

@ -0,0 +1,13 @@
<?php
include_once(realpath(dirname(__FILE__).'/constantes.php'));
header('Content-Type: text/html; charset='.CHARSET);
?>
<label>Date cessation de paiement </label>
<input type="text" class="date" name="jugement[datePaie]" size="10" maxlength="10" value="" />
<span class="left">(Format JJ/MM/AAAA)</span>
<?php
require_once realpath(dirname(__FILE__)).'/field_administrateur.php';
require_once realpath(dirname(__FILE__)).'/field_mandataire.php';
?>
<label>Compl&eacute;ment, huissier, opposition, etc...</label>
<input type="text" name="jugement[comp]" size="70" maxlength="255" value="" />

View File

@ -0,0 +1,13 @@
<?php
include_once(realpath(dirname(__FILE__).'/constantes.php'));
header('Content-Type: text/html; charset='.CHARSET);
?>
<label>Date cessation de paiement </label>
<input type="text" class="date" name="jugement[datePaie]" size="10" maxlength="10" value="" />
<span class="left">(Format JJ/MM/AAAA)</span>
<?php
require_once realpath(dirname(__FILE__)).'/field_administrateur.php';
require_once realpath(dirname(__FILE__)).'/field_mandataire.php';
?>
<label>Compl&eacute;ment, huissier, opposition, etc...</label>
<input type="text" name="jugement[comp]" size="70" maxlength="255" value="" />

View File

@ -0,0 +1,13 @@
<?php
include_once(realpath(dirname(__FILE__).'/constantes.php'));
header('Content-Type: text/html; charset='.CHARSET);
?>
<label>Date cessation de paiement </label>
<input type="text" class="date" name="jugement[datePaie]" size="10" maxlength="10" value="" />
<span class="left">(Format JJ/MM/AAAA)</span>
<?php
require_once realpath(dirname(__FILE__)).'/field_administrateur.php';
require_once realpath(dirname(__FILE__)).'/field_mandataire.php';
?>
<label>Compl&eacute;ment, huissier, opposition, etc...</label>
<input type="text" name="jugement[comp]" size="70" maxlength="255" value="" />

View File

@ -0,0 +1,13 @@
<?php
include_once(realpath(dirname(__FILE__).'/constantes.php'));
header('Content-Type: text/html; charset='.CHARSET);
?>
<label>Date cessation de paiement </label>
<input type="text" class="date" name="jugement[datePaie]" size="10" maxlength="10" value="" />
<span class="left">(Format JJ/MM/AAAA)</span>
<?php
require_once realpath(dirname(__FILE__)).'/field_administrateur.php';
require_once realpath(dirname(__FILE__)).'/field_mandataire.php';
?>
<label>Compl&eacute;ment, huissier, opposition, etc...</label>
<input type="text" name="jugement[comp]" size="70" maxlength="255" value="" />

View File

@ -0,0 +1,13 @@
<?php
include_once(realpath(dirname(__FILE__).'/constantes.php'));
header('Content-Type: text/html; charset='.CHARSET);
?>
<label>Date cessation de paiement </label>
<input type="text" class="date" name="jugement[datePaie]" size="10" maxlength="10" value="" />
<span class="left">(Format JJ/MM/AAAA)</span>
<?php
require_once realpath(dirname(__FILE__)).'/field_administrateur.php';
require_once realpath(dirname(__FILE__)).'/field_mandataire.php';
?>
<label>Compl&eacute;ment, huissier, opposition, etc...</label>
<input type="text" name="jugement[comp]" size="70" maxlength="255" value="" />

View File

@ -0,0 +1,13 @@
<?php
include_once(realpath(dirname(__FILE__).'/constantes.php'));
header('Content-Type: text/html; charset='.CHARSET);
?>
<label>Date cessation de paiement </label>
<input type="text" class="date" name="jugement[datePaie]" size="10" maxlength="10" value="" />
<span class="left">(Format JJ/MM/AAAA)</span>
<?php
require_once realpath(dirname(__FILE__)).'/field_administrateur.php';
require_once realpath(dirname(__FILE__)).'/field_mandataire.php';
?>
<label>Compl&eacute;ment, huissier, opposition, etc...</label>
<input type="text" name="jugement[comp]" size="70" maxlength="255" value="" />

View File

@ -0,0 +1,13 @@
<?php
include_once(realpath(dirname(__FILE__).'/constantes.php'));
header('Content-Type: text/html; charset='.CHARSET);
?>
<label>Date cessation de paiement </label>
<input type="text" class="date" name="jugement[datePaie]" size="10" maxlength="10" value="" />
<span class="left">(Format JJ/MM/AAAA)</span>
<?php
require_once realpath(dirname(__FILE__)).'/field_administrateur.php';
require_once realpath(dirname(__FILE__)).'/field_mandataire.php';
?>
<label>Compl&eacute;ment, huissier, opposition, etc...</label>
<input type="text" name="jugement[comp]" size="70" maxlength="255" value="" />

View File

@ -0,0 +1,7 @@
<?php
include_once(realpath(dirname(__FILE__).'/constantes.php'));
header('Content-Type: text/html; charset='.CHARSET);
?>
<label>Compl&eacute;ment, huissier, opposition, etc...</label>
<input type="text" name="jugement[comp]" size="70" maxlength="255" value="" />

View File

@ -0,0 +1,6 @@
<?php
include_once(realpath(dirname(__FILE__).'/constantes.php'));
header('Content-Type: text/html; charset='.CHARSET);
?>
<label>Compl&eacute;ment, huissier, opposition, etc...</label>
<input type="text" name="jugement[comp]" size="70" maxlength="255" value="" />

View File

@ -0,0 +1,13 @@
<?php
include_once(realpath(dirname(__FILE__).'/constantes.php'));
header('Content-Type: text/html; charset='.CHARSET);
?>
<label>Date cessation de paiement </label>
<input type="text" class="date" name="jugement[datePaie]" size="10" maxlength="10" value="" />
<span class="left">(Format JJ/MM/AAAA)</span>
<?php
require_once realpath(dirname(__FILE__)).'/field_administrateur.php';
require_once realpath(dirname(__FILE__)).'/field_mandataire.php';
?>
<label>Compl&eacute;ment, huissier, opposition, etc...</label>
<input type="text" name="jugement[comp]" size="70" maxlength="255" value="" />

View File

@ -0,0 +1,16 @@
<?php
header('Content-Type: text/html; charset='.CHARSET);
?>
<label>Date de jouissance / effet :</label>
<input type="text" maxlength="10" class="date" name="jugement[dateFinPeriode]" value="" />
<span class="left">(Format JJ/MM/AAAA)</span>
<label>Date cessation de paiement </label>
<input type="text" class="date" name="jugement[datePaie]" size="10" maxlength="10" value="" />
<span class="left">(Format JJ/MM/AAAA)</span>
<label>Audience de renvoi le </label>
<input type="text" class="date" name="jugement[dateAudienceRenvoi]" size="10" maxlength="10" value="" />
<span class="left">(Format JJ/MM/AAAA)</span>
<label>Nom de l'acheteur</label>
<input type="text" name="jugement[AcheteurNom]" size="70" maxlength="100" value="" />
<label>SIREN de l'acheteur</label>
<input type="text" name="jugement[AcheteurSiren]" size="70" maxlength="11" value="" />

View File

@ -0,0 +1,16 @@
<?php
header('Content-Type: text/html; charset='.CHARSET);
?>
<label>Date de jouissance / effet :</label>
<input type="text" maxlength="10" class="date" name="jugement[dateFinPeriode]" value="" />
<span class="left">(Format JJ/MM/AAAA)</span>
<label>Date cessation de paiement </label>
<input type="text" class="date" name="jugement[datePaie]" size="10" maxlength="10" value="" />
<span class="left">(Format JJ/MM/AAAA)</span>
<label>Audience de renvoi le </label>
<input type="text" class="date" name="jugement[dateAudienceRenvoi]" size="10" maxlength="10" value="" />
<span class="left">(Format JJ/MM/AAAA)</span>
<label>Nom de l'acheteur</label>
<input type="text" name="jugement[AcheteurNom]" size="70" maxlength="100" value="" />
<label>SIREN de l'acheteur</label>
<input type="text" name="jugement[AcheteurSiren]" size="70" maxlength="11" value="" />

View File

@ -0,0 +1,16 @@
<?php
header('Content-Type: text/html; charset='.CHARSET);
?>
<label>Date de jouissance / effet :</label>
<input type="text" maxlength="10" class="date" name="jugement[dateFinPeriode]" value="" />
<span class="left">(Format JJ/MM/AAAA)</span>
<label>Date cessation de paiement </label>
<input type="text" class="date" name="jugement[datePaie]" size="10" maxlength="10" value="" />
<span class="left">(Format JJ/MM/AAAA)</span>
<label>Audience de renvoi le </label>
<input type="text" class="date" name="jugement[dateAudienceRenvoi]" size="10" maxlength="10" value="" />
<span class="left">(Format JJ/MM/AAAA)</span>
<label>Nom de l'acheteur</label>
<input type="text" name="jugement[AcheteurNom]" size="70" maxlength="100" value="" />
<label>SIREN de l'acheteur</label>
<input type="text" name="jugement[AcheteurSiren]" size="70" maxlength="11" value="" />

View File

@ -0,0 +1,6 @@
<?php
include_once(realpath(dirname(__FILE__).'/constantes.php'));
header('Content-Type: text/html; charset='.CHARSET);
?>
<label>Compl&eacute;ment, huissier, opposition, etc...</label>
<input type="text" name="jugement[comp]" size="70" maxlength="255" value="Commissaire à l'execution du plan" />

View File

@ -0,0 +1,7 @@
<?php
include_once(realpath(dirname(__FILE__).'/constantes.php'));
header('Content-Type: text/html; charset='.CHARSET);
?>
<label>Compl&eacute;ment, huissier, opposition, etc...</label>
<input type="text" name="jugement[comp]" size="70" maxlength="255" value="Commissaire à l'execution du plan" />

View File

@ -0,0 +1,16 @@
<?php
header('Content-Type: text/html; charset='.CHARSET);
?>
<label>Date de jouissance / effet :</label>
<input type="text" maxlength="10" class="date" name="jugement[dateFinPeriode]" value="" />
<span class="left">(Format JJ/MM/AAAA)</span>
<label>Date cessation de paiement </label>
<input type="text" class="date" name="jugement[datePaie]" size="10" maxlength="10" value="" />
<span class="left">(Format JJ/MM/AAAA)</span>
<label>Audience de renvoi le </label>
<input type="text" class="date" name="jugement[dateAudienceRenvoi]" size="10" maxlength="10" value="" />
<span class="left">(Format JJ/MM/AAAA)</span>
<label>Nom de l'acheteur</label>
<input type="text" name="jugement[AcheteurNom]" size="70" maxlength="100" value="" />
<label>SIREN de l'acheteur</label>
<input type="text" name="jugement[AcheteurSiren]" size="70" maxlength="11" value="" />

View File

@ -0,0 +1,6 @@
<?php
include_once(realpath(dirname(__FILE__).'/constantes.php'));
header('Content-Type: text/html; charset='.CHARSET);
?>
<label>Compl&eacute;ment, huissier, opposition, etc...</label>
<input type="text" name="jugement[comp]" size="70" maxlength="255" value="" />

View File

@ -0,0 +1,16 @@
<?php
header('Content-Type: text/html; charset='.CHARSET);
?>
<label>Date de jouissance / effet :</label>
<input type="text" maxlength="10" class="date" name="jugement[dateFinPeriode]" value="" />
<span class="left">(Format JJ/MM/AAAA)</span>
<label>Date cessation de paiement </label>
<input type="text" class="date" name="jugement[datePaie]" size="10" maxlength="10" value="" />
<span class="left">(Format JJ/MM/AAAA)</span>
<label>Audience de renvoi le </label>
<input type="text" class="date" name="jugement[dateAudienceRenvoi]" size="10" maxlength="10" value="" />
<span class="left">(Format JJ/MM/AAAA)</span>
<label>Nom de l'acheteur</label>
<input type="text" name="jugement[AcheteurNom]" size="70" maxlength="100" value="" />
<label>SIREN de l'acheteur</label>
<input type="text" name="jugement[AcheteurSiren]" size="70" maxlength="11" value="" />

View File

@ -0,0 +1,6 @@
<?php
include_once(realpath(dirname(__FILE__).'/constantes.php'));
header('Content-Type: text/html; charset='.CHARSET);
?>
<label>Compl&eacute;ment, huissier, opposition, etc...</label>
<input type="text" name="jugement[comp]" size="70" maxlength="255" value="" />

View File

@ -0,0 +1,6 @@
<?php
include_once(realpath(dirname(__FILE__).'/constantes.php'));
header('Content-Type: text/html; charset='.CHARSET);
?>
<label>Compl&eacute;ment, huissier, opposition, etc...</label>
<input type="text" name="jugement[comp]" size="70" maxlength="255" value="" />

View File

@ -0,0 +1,6 @@
<?php
include_once(realpath(dirname(__FILE__).'/constantes.php'));
header('Content-Type: text/html; charset='.CHARSET);
?>
<label>Compl&eacute;ment, huissier, opposition, etc...</label>
<input type="text" name="jugement[comp]" size="70" maxlength="255" value="" />

View File

@ -0,0 +1,6 @@
<?php
include_once(realpath(dirname(__FILE__).'/constantes.php'));
header('Content-Type: text/html; charset='.CHARSET);
?>
<label>Compl&eacute;ment, huissier, opposition, etc...</label>
<input type="text" name="jugement[comp]" size="70" maxlength="255" value="" />

View File

@ -0,0 +1,13 @@
<?php
include_once(realpath(dirname(__FILE__).'/constantes.php'));
header('Content-Type: text/html; charset='.CHARSET);
?>
<label>Nouveau Capital</label>
<input type="text" name="jugement[montant]" size="10" maxlength="15" value="" />
<span class="left">en &euro; 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"> &euro;)</span>
<label>Compl&eacute;ment, huissier, opposition, etc...</label>
<input type="text" name="jugement[comp]" size="70" maxlength="255" value="" />

View File

@ -0,0 +1,13 @@
<?php
include_once(realpath(dirname(__FILE__).'/constantes.php'));
header('Content-Type: text/html; charset='.CHARSET);
?>
<label>Nouveau Capital</label>
<input type="text" name="jugement[montant]" size="10" maxlength="15" value="" />
<span class="left">en &euro; 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"> &euro;)</span>
<label>Compl&eacute;ment, huissier, opposition, etc...</label>
<input type="text" name="jugement[comp]" size="70" maxlength="255" value="" />

View File

@ -0,0 +1,43 @@
<?php
include_once(realpath(dirname(__FILE__).'/constantes.php'));
header('Content-Type: text/html; charset='.CHARSET);
?>
<fieldset>
<legend>Liquidateur / Nouveau dirigeant 1</legend>
<label>Fonction :</label><select name="jugement[nouvDir1Fonc]"><?=$strSelectDir?></select>
<label>Genre :</label><select name="jugement[nouvDir1Genre]"><?=$strSelectGenre?></select>
<label>Pr&eacute;nom(s)&nbsp;/&nbsp;Siren&nbsp;</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&eacute; : </label><input type="text" name="jugement[nouvDir1Dom]" size="60" maxlength="255" value="" />
</fieldset>
<p><a href="#" onclick="$('#NouveauDirigeant2').css('display','block');">Nouveau Dirigeant 2</a></p>
<p><a href="#" onclick="$('#NouveauDirigeant3').css('display','block');">Nouveau Dirigeant 3</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&eacute;nom(s)&nbsp;/&nbsp;Siren&nbsp;</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&eacute; :</label>
<input type="text" name="jugement[nouvDir2Dom]" size="60" maxlength="255" value="" />
<p><a href="#" onclick="$('#NouveauDirigeant2').css('display','none');">Masquer.</a></p>
</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&eacute;nom(s)&nbsp;/&nbsp;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&eacute; :</label>
<input type="text" name="jugement[nouvDir3Dom]" size="60" maxlength="255" value="" />
<p><a href="#" onclick="$('#NouveauDirigeant3').css('display','none');">Masquer.</a></p>
</fieldset>
<label>Compl&eacute;ment, huissier, opposition, etc...</label>
<input type="text" name="jugement[comp]" size="70" maxlength="255" value="" />

View File

@ -0,0 +1,6 @@
<?php
include_once(realpath(dirname(__FILE__).'/constantes.php'));
header('Content-Type: text/html; charset='.CHARSET);
?>
<label>Compl&eacute;ment, huissier, opposition, etc...</label>
<input type="text" name="jugement[comp]" size="70" maxlength="255" value="" />

View File

@ -0,0 +1,8 @@
<?php
include_once(realpath(dirname(__FILE__).'/constantes.php'));
header('Content-Type: text/html; charset='.CHARSET);
?>
<label>Date nouvelle clôture </label>
<input class="date" type="text" name="jugement[datePaie]" size="10" maxlength="10" value="" />
<span class="left">(Format JJ/MM/AAAA)</span>

View File

@ -0,0 +1,6 @@
<?php
include_once(realpath(dirname(__FILE__).'/constantes.php'));
header('Content-Type: text/html; charset='.CHARSET);
?>
<label>Compl&eacute;ment, huissier, opposition, etc...</label>
<input type="text" name="jugement[comp]" size="70" maxlength="255" value="" />

View File

@ -0,0 +1,6 @@
<?php
include_once(realpath(dirname(__FILE__).'/constantes.php'));
header('Content-Type: text/html; charset='.CHARSET);
?>
<label>Compl&eacute;ment, huissier, opposition, etc...</label>
<input type="text" name="jugement[comp]" size="70" maxlength="255" value="" />

View File

@ -0,0 +1,22 @@
<?php
include_once(realpath(dirname(__FILE__).'/constantes.php'));
header('Content-Type: text/html; charset='.CHARSET);
?>
<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>
<label>Compl&eacute;ment, huissier, opposition, etc...</label>
<input type="text" name="jugement[comp]" size="70" maxlength="255" value="" />

View File

@ -0,0 +1,9 @@
<?php
include_once(realpath(dirname(__FILE__).'/constantes.php'));
header('Content-Type: text/html; charset='.CHARSET);
?>
<label>Nouvelle activité</label>
<input type="text" name="jugement[nouvActivite]" size="70" maxlength="255" value="" />
<label>Compl&eacute;ment, huissier, opposition, etc...</label>
<input type="text" name="jugement[comp]" size="70" maxlength="255" value="" />

View File

@ -0,0 +1,43 @@
<?php
include_once(realpath(dirname(__FILE__).'/constantes.php'));
header('Content-Type: text/html; charset='.CHARSET);
?>
<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&eacute;nom(s)&nbsp;/&nbsp;Siren&nbsp;</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&eacute; : </label><input type="text" name="jugement[nouvDir1Dom]" size="60" maxlength="255" value="" />
</fieldset>
<p><a href="#" onClick="$('#NouveauDirigeant2').css('display','block');">Nouveau Dirigeants2</a></p>
<p><a href="#" onClick="$('#NouveauDirigeant3').css('display','block');">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&eacute;nom(s)&nbsp;/&nbsp;Siren&nbsp;</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&eacute; :</label>
<input type="text" name="jugement[nouvDir2Dom]" size="60" maxlength="255" value="" />
<p><a href="#" onClick="$('#NouveauDirigeant2').css('display','none');">Masquer.</a></p>
</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&eacute;nom(s)&nbsp;/&nbsp;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&eacute; :</label>
<input type="text" name="jugement[nouvDir3Dom]" size="60" maxlength="255" value="" />
<p><a href="#" onClick="$('#NouveauDirigeant3').css('display','none');">Masquer.</a></p>
</fieldset>
<label>Compl&eacute;ment, huissier, opposition, etc...</label>
<input type="text" name="jugement[comp]" size="70" maxlength="255" value="" />

View File

@ -0,0 +1,6 @@
<?php
include_once(realpath(dirname(__FILE__).'/constantes.php'));
header('Content-Type: text/html; charset='.CHARSET);
?>
<label>Compl&eacute;ment, huissier, opposition, etc...</label>
<input type="text" name="jugement[comp]" size="70" maxlength="255" value="" />

View File

@ -0,0 +1,9 @@
<?php
include_once(realpath(dirname(__FILE__).'/constantes.php'));
header('Content-Type: text/html; charset='.CHARSET);
?>
<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="" />

View File

@ -0,0 +1,78 @@
<?php
header('Content-Type: text/html; charset='.CHARSET);
include_once(realpath(dirname(__FILE__).'/constantes.php'));
$tribunal = (isset($_REQUEST['tribunal'])? $_REQUEST['tribunal'] : '');
$siren = (isset($_REQUEST['siren'])? $_REQUEST['siren'] : '');
$nic = (isset($_REQUEST['nic'])? $_REQUEST['nic'] : '');
//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'],
));
//Sélection de la cour d'appel en fonction du tribunal
require_once realpath(dirname(__FILE__)).'/coursAppel.php';
require_once realpath(dirname(__FILE__)).'/field_opposition.php';
?>
<label>Date de jouissance / effet :</label>
<input type="text" maxlength="10" class="date" name="jugement[dateFinPeriode]" value="" />
<span class="left">(Format JJ/MM/AAAA)</span>
<label>Montant de la vente</label>
<input type="text" class="widthauto" name="jugement[montant]" size="10" maxlength="15" value=""/>
<span class="left">en &euro; sans les cents</span>
<label>Etablissement concerné</label>
<select name="etablissement5500[]" multiple size="3">
<option value="-">-</option>
<?php
try {
$O = $client->getListeEtablissements($siren);
$listEtablissements = $O['result'];
foreach($listEtablissements as $etablissement)
{
$title = $siren.$etablissement['Nic'].' - '.$etablissement['Adresse'].' '.$etablissement['CP'].' '.$etablissement['Ville'];
$value = $etablissement['Adresse'].' '.$etablissement['CP'].' '.$etablissement['Ville'].' ('.$etablissement['Nic'].')';
$siege = '';
if($etablissement['Siege']==1 && $etablissement['Actif']==1)
{
$siege = ' (Siège Actif)';
}
echo '<option title="'.$title.$siege.'" value="'.$value.'">'.$title.$siege.'</option>';
}
} catch (SoapFault $fault) {
require_once 'soaperror.php';
processSoapFault($client,$fault,$tabInfo);
}
?>
</select>
<div class="info">
<a href="#" title="<?=$siren.$nic?>" id="etabnic">Utiliser l'établissement : <?=$nic?></a>
<div id="infoetabnic"></div>
<input type="hidden" name="etabnic" value=""/>
</div>
<label>Périmètre de la vente</label>
<select name="perimetreVente[]" multiple size="3">
<option value="-">-</option>
<option value="5100">Fonds principal</option>
<option value="5101">Fonds secondaire</option>
<option value="5104">Fonds artisanal</option>
<option value="5105">Partie de fonds</option>
<option value="5200">Branche ou Partie d'activité</option>
<option value="5203">Droit au bail</option>
<option value="5205">Licence de débit de boissons de 4e catégorie</option>
<option value="5206">Portefeuille d'assurances</option>
<option value="5351">Bien en % indivise</option>
<option value="5303">Bien dépendant de l'établissement ou du fond</option>
<option value="5450">Bien acheté par le locataire-gérant</option>
<option value="5460">Attribution d'un fonds suite à donation, partage ou licitation</option>
</select>
<label>Compl&eacute;ment, huissier, etc...</label>
<input type="text" name="jugement[comp]" size="70" maxlength="900" value="" />

View File

@ -0,0 +1,89 @@
<?php
header('Content-Type: text/html; charset='.CHARSET);
require_once realpath(dirname(__FILE__).'/constantes.php');
$siren = (isset($_REQUEST['siren'])? $_REQUEST['siren'] : '');
$nic = (isset($_REQUEST['nic'])? $_REQUEST['nic'] : '');
//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'],
));
//Afficher la liste des établissements
?>
<label>Etablissement concerné</label>
<select name="jugement[nic]" size="5">
<option value="-">-</option>
<?php
try {
$O = $client->getListeEtablissements($siren);
$listEtablissements = $O['result'];
$firephp->log($listEtablissements, 'Etablissements');
foreach($listEtablissements as $etablissement)
{
$title = $siren.$etablissement['Nic'].' - '.$etablissement['Adresse'].' '.$etablissement['CP'].' '.$etablissement['Ville'];
$value = $etablissement['Nic'];
$siege = '';
$select = '';
if($etablissement['Nic']==$nic)
{
$select = ' selected';
}
if($etablissement['Siege']==1 && $etablissement['Actif']==1)
{
$siege = ' (Siège Actif)';
}
echo '<option'.$select.' title="'.$title.$siege.'" value="'.$value.'">'.$title.$siege.'</option>';
}
} catch (SoapFault $fault) {
require_once 'soaperror.php';
processSoapFault($client,$fault,$tabInfo);
$firephp->log($client->__getLastRequest(), 'Request');
$firephp->log($client->__getLastResponse(), 'Response');
}
?>
</select>
<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&eacute;nom(s)&nbsp;/&nbsp;Siren&nbsp;</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&eacute; : </label><input type="text" name="jugement[nouvDir1Dom]" size="60" maxlength="255" value="" />
</fieldset>
<p><a href="#" onClick="$('#NouveauDirigeant2').css('display','block');">Nouveau Dirigeants2</a></p>
<p><a href="#" onClick="$('#NouveauDirigeant3').css('display','block');">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&eacute;nom(s)&nbsp;/&nbsp;Siren&nbsp;</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&eacute; :</label>
<input type="text" name="jugement[nouvDir2Dom]" size="60" maxlength="255" value="" />
<p><a href="#" onClick="$('#NouveauDirigeant2').css('display','none');">Masquer.</a></p>
</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&eacute;nom(s)&nbsp;/&nbsp;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&eacute; :</label>
<input type="text" name="jugement[nouvDir3Dom]" size="60" maxlength="255" value="" />
<p><a href="#" onClick="$('#NouveauDirigeant3').css('display','none');">Masquer.</a></p>
</fieldset>
<label>Compl&eacute;ment, huissier, opposition, etc...</label>
<input type="text" name="jugement[comp]" size="70" maxlength="255" value="" />

View File

@ -49,25 +49,40 @@ setDbConn('sdv1');
$pdfInfo = new StdClass();
// => Ref
$id = $_REQUEST['id'];
$pdfInfo->ref = 'C'.$id;
$pdfInfo->ref = $_REQUEST['id'];
$typeCommande = substr($pdfInfo->ref, 0, 1);
$id = substr($pdfInfo->ref, 1);
// => Info Commande
$q = Doctrine_Query::create()
->from('Commandes')
->where('idCommande = ?', $id)
->andWhere('typeCommande = ?', 'C');
if ( $typeCommande == 'C' ) {
$commande = $q->fetchOne();
if( preg_match('/^([0-9]{4}_).*?$/', $commande->refDocument, $matches) )
{
$typeDocument = 'bilans';
}
else
{
$typeDocument = 'actes';
// => Info Commande
$q = Doctrine_Query::create()
->from('Commandes')
->where('idCommande = ?', $id)
->andWhere('typeCommande = ?', 'C');
$commande = $q->fetchOne();
if( preg_match('/^([0-9]{4}_).*?$/', $commande->refDocument, $matches) )
{
$typeDocument = 'bilans';
}
else
{
$typeDocument = 'actes';
}
} elseif ( $typeCommande == 'K'){
// => Info Commande
$q = Doctrine_Query::create()
->from('CommandesKbis')
->where('id = ?', $id)
->andWhere('type = ?', 'C');
$commande = $q->fetchOne();
$typeDocument = 'kbis';
}
// => Identite
$siren = $commande->siren;
@ -209,6 +224,10 @@ elseif( $typeDocument == 'actes' )
substr($commande->refDocument,7,2).'/'.
substr($commande->refDocument,3,4);
}
elseif ($typeDocument == 'kbis' )
{
$txt.= 'un extrait RCS';
}
$positionY = $pdf->GetY()+2;
$pdf->MultiCell(0, 5, "Je vous prie de nous faire parvenir $txt concernant la société:", $border, 'L', 0, 1, '', $positionY, true);