Legal - Evaluation Controller
This commit is contained in:
parent
75191b3569
commit
54c13411e8
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,253 @@
|
||||
<style>
|
||||
#center p { margin:5px; padding:5px;}
|
||||
.infoTitle {clear:both; float:left; width:250px; margin-left:30px; padding:0 10px 0 0;}
|
||||
.infoData {float:left; width:320px; margin:2px 0;}
|
||||
form { }
|
||||
form em { color:#FF0000;}
|
||||
fieldset {border:0; margin:0; padding:0;}
|
||||
fieldset legend{ padding:0 0 0 10px;}
|
||||
.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{font-weight:bold; margin-left:30px; width:250px; clear:both; padding:0 10px 0 0;line-height:22px;_padding-top:3px; float:left; display:block; font-size:108%;}
|
||||
.fieldgrp label span{font-weight:normal;}
|
||||
.fieldgrp label abbr{color:#4B911C; font-size:120%; vertical-align:middle;}
|
||||
.field {width:320px; 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{ font-size:110%; margin:2px 0; }
|
||||
.field input[type="radio"] { margin:0 5px 0 5px; }
|
||||
div.submit{ margin-left:200px; padding-left:0px; margin-top:1em; }
|
||||
div.submit p.submit-button{margin-top:0;}
|
||||
div.submit p.details{font-size:85%;color:#666;margin:0;}
|
||||
div.submit p.required-note{margin-top:1em;}
|
||||
div.submit p.required-note span{color:#4B911C;_color:#666;font-size:170%;vertical-align:top;}
|
||||
.noborder {border:none;}
|
||||
</style>
|
||||
|
||||
<div id="center">
|
||||
<h1 class="titre">Demande d'avis de credit personnalisé</h1>
|
||||
|
||||
<?php
|
||||
if($this->commande == false){
|
||||
?>
|
||||
|
||||
<div id="message"><?=$this->message;?></div>
|
||||
|
||||
<form action="<?=$this->url(array('controller'=>'evaluation', 'action'=>'aviscredit'))?>" method="post" enctype="multipart/form-data">
|
||||
|
||||
<h2>Entreprise concernée : </h2>
|
||||
|
||||
<div class="infoTitle StyleInfoLib">Numéro identifiant Siren</div>
|
||||
<div class="infoData">
|
||||
<?=$this->SirenTexte($this->Etab->Siren)?>
|
||||
<input type="hidden" name="InfoEnq[Siren]" value="<?=$this->Etab->Siren?>"/>
|
||||
</div>
|
||||
|
||||
<div class="infoTitle StyleInfoLib">Numéro identifiant Siret</div>
|
||||
<div class="infoData"><?=$this->SiretTexte($this->Etab->Siret)?></div>
|
||||
|
||||
<div class="infoTitle StyleInfoLib">Numéro de TVA Intracom.</div>
|
||||
<div class="infoData"><?=substr($this->Etab->TvaNumero,0,2).' '.substr($this->Etab->TvaNumero,2,2).' '.substr($this->Etab->TvaNumero,-9)?></div>
|
||||
|
||||
<div class="infoTitle StyleInfoLib">Dénomination Sociale</div>
|
||||
<div class="infoData"><?=$this->Etab->Nom?></div>
|
||||
|
||||
<div class="infoTitle StyleInfoLib">Adresse</div>
|
||||
<div class="infoData"><?=$this->Etab->Adresse.' '.$this->Etab->CP.' '.$this->Etab->Ville?></div>
|
||||
|
||||
<div class="fieldgrp">
|
||||
<label class="StyleInfoLib">Téléphone <?php if (trim($this->Etab->Tel)==''){?><font color="Red">*</font><?php }?> / Fax</label>
|
||||
<div class="field">
|
||||
<?php if (trim($this->Etab->Tel)!=''){ print $this->Etab->Tel; }else{?><input type="text" name="InfoEnq[Entrep][Tel]" value="<?=$this->InfoEnq['Entrep']['Tel']?>"/><?php } ?> <b>/</b>
|
||||
<?php if (trim($this->Etab->Fax)!=''){ print $this->Etab->Fax; }else{?><input type="text" name="InfoEnq[Entrep][Fax]" value="<?=$this->InfoEnq['Entrep']['Fax']?>"/><?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php if (trim($this->Etab->Tel)!=''){?>
|
||||
<div class="fieldgrp">
|
||||
<label class="StyleInfoLib"> Autre téléphone :</label>
|
||||
<div class="field"><input type="text" name="InfoEnq[Entrep][AutreTel]" value="<?=$this->InfoEnq['Entrep']['AutreTel'];?>"/> </div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<div class="fieldgrp">
|
||||
<label class="StyleInfoLib">E-mail</label>
|
||||
<div class="field"><?php if (trim($this->Etab->Mail)!=''){ print $this->Etab->Mail; }else{?><input type="text" name="InfoEnq[Entrep][Mail]" value="<?=$this->InfoEnq['Entrep']['Mail']?>"/><?php }?></div>
|
||||
</div>
|
||||
|
||||
<?php if (trim($this->Etab->Mail)!=''){ ?>
|
||||
<div class="fieldgrp">
|
||||
<label class="StyleInfoLib">Autre e-mail</label>
|
||||
<div class="field"><input type="text" name="InfoEnq[Entrep][AutreMail]" value="<?=$this->InfoEnq['Entrep']['AutreMail']?>"/></div>
|
||||
</div>
|
||||
<?php }?>
|
||||
|
||||
|
||||
<div class="fieldgrp">
|
||||
<label class="StyleInfoLib">Site Web</label>
|
||||
<div class="field"><?php if (trim($this->Etab->Web)!=''){ print $this->Etab->Web; }else{?><input type="text" name="InfoEnq[Entrep][Web]" value="<?=$this->InfoEnq['Entrep']['Web']?>"/><?php }?></div>
|
||||
</div>
|
||||
|
||||
<h2>Demandeur : </h2>
|
||||
|
||||
<input type="hidden" name="login" value="<?=$this->user->getLogin()?>" />
|
||||
|
||||
<div class="fieldgrp">
|
||||
<label class="StyleInfoLib">Votre Identité</label>
|
||||
<div class="field"><input type="text" name="InfoUser[Identite]" value="<?=$this->user->getNom().' '.$this->user->getPrenom(); ?>"/></div>
|
||||
</div>
|
||||
|
||||
<div class="fieldgrp">
|
||||
<label class="StyleInfoLib">Votre Téléphone <font color="Red"></font>:</label>
|
||||
<div class="field"><input type="text" name="InfoUser[Tel]" value="<?php
|
||||
if(isset($this->InfoUser['Tel'])){echo $this->InfoUser['Tel'];}
|
||||
else echo $this->user->getTel(); ?>" /></div>
|
||||
</div>
|
||||
|
||||
<div class="fieldgrp">
|
||||
<label class="StyleInfoLib">Votre E-mail <font color="Red">*</font></label>
|
||||
<div class="field"><input type="text" name="InfoUser[Email]" value="<?php
|
||||
if(isset($this->InfoUser['Email'])){echo $this->InfoUser['Email'];}
|
||||
else echo $this->user->getEmail(); ?>"/></div>
|
||||
</div>
|
||||
|
||||
<div class="fieldgrp">
|
||||
<label class="StyleInfoLib">Votre Référence</label>
|
||||
<div class="field"><input type="text" name="InfoUser[Ref]" value="<?php
|
||||
if(isset($this->InfoUser['Ref'])){echo $this->InfoUser['Ref'];}
|
||||
?>"/></div>
|
||||
</div>
|
||||
|
||||
<h2>La relation commerciale : </h2>
|
||||
|
||||
<div class="fieldgrp">
|
||||
<label class="StyleInfoLib">Précisions sur la demande</label>
|
||||
<div class="field">
|
||||
<select id="precision" name="InfoEnq[PrecisionsChoix]">
|
||||
<option value="">Choisissez...</option>
|
||||
<option value="Sur un client" <?php if($this->InfoEnq['PrecisionsChoix']=='Sur un client'){print 'selected="selected"';};?>>Sur un client</option>
|
||||
<option value="Sur un prospect" <?php if($this->InfoEnq['PrecisionsChoix']=='Sur un prospect'){print 'selected="selected"';};?>>Sur un prospect</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="fieldgrp">
|
||||
<label class="StyleInfoLib">Ancienneté de la relation :</label>
|
||||
<div class="field">
|
||||
<input type="text" name="InfoEnq[Anciennete]" size="2" value="<?=$this->InfoEnq['Anciennete']?>"/>
|
||||
<input class="noborder" type="radio" name="InfoEnq[AncienneteDuree]" value="Mois" <?php if($this->InfoEnq['AncienneteDuree']=='Mois'){ print 'checked="checked"';}?>/>Mois
|
||||
<input class="noborder" type="radio" name="InfoEnq[AncienneteDuree]" value="Annees" <?php if($this->InfoEnq['AncienneteDuree']=='Annees'){ print 'checked="checked"';}?>/>Années
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="fieldgrp">
|
||||
<label class="StyleInfoLib">Impayées :</label>
|
||||
<div class="field">
|
||||
<input class="noborder" type="radio" name="InfoEnq[ImpayeesChoix]" value="oui" <?php if($this->InfoEnq['ImpayeesChoix']=='oui'){ print 'checked="checked"';}?>/>Oui
|
||||
<input class="noborder" type="radio" name="InfoEnq[ImpayeesChoix]" value="non" <?php if($this->InfoEnq['ImpayeesChoix']=='non'){ print 'checked="checked"';}?>/>Non
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="impayees">
|
||||
|
||||
<div class="fieldgrp">
|
||||
<label class="StyleInfoLib">Montant :</label>
|
||||
<div class="field"><input type="text" name="InfoEnq[Impayees][Montant]" value="<?=$this->InfoEnq['Impayees']['Montant']?>"/> €</div>
|
||||
</div>
|
||||
|
||||
<div class="fieldgrp">
|
||||
<label class="StyleInfoLib">Nombre :</label>
|
||||
<div class="field"><input type="text" name="InfoEnq[Impayees][Nombre]" value="<?=$this->InfoEnq['Impayees']['Nombre']?>"/></div>
|
||||
</div>
|
||||
|
||||
<div class="fieldgrp">
|
||||
<label class="StyleInfoLib">Date :</label>
|
||||
<div class="field"><input type="text" name="InfoEnq[Impayees][Date]" value="<?=$this->InfoEnq['Impayees']['Date']?>"/> (Format : JJ/MM/AAAA)</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="fieldgrp">
|
||||
<label class="StyleInfoLib">Retard de paiement :</label>
|
||||
<div class="field">
|
||||
<input class="noborder" type="radio" name="InfoEnq[RetardPaiementChoix]" value="oui" <?php if($this->InfoEnq['RetardPaiementChoix']=='oui'){ print 'checked="checked"';}?>/>Oui
|
||||
<input class="noborder" type="radio" name="InfoEnq[RetardPaiementChoix]" value="non" <?php if($this->InfoEnq['RetardPaiementChoix']=='non'){ print 'checked="checked"';}?>/>Non
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="retardpaiement">
|
||||
|
||||
<div class="fieldgrp">
|
||||
<label class="StyleInfoLib">Montant :</label>
|
||||
<div class="field"><input type="text" name="InfoEnq[RetardPaiement][Montant]" value="<?=$this->InfoEnq['RetardPaiement']['Montant']?>"/> €</div>
|
||||
</div>
|
||||
|
||||
<div class="fieldgrp">
|
||||
<label class="StyleInfoLib">Nombre :</label>
|
||||
<div class="field"><input type="text" name="InfoEnq[RetardPaiement][Nombre]" value="<?=$this->InfoEnq['RetardPaiement']['Nombre']?>"/></div>
|
||||
</div>
|
||||
|
||||
<div class="fieldgrp">
|
||||
<label class="StyleInfoLib">Date :</label>
|
||||
<div class="field"><input type="text" name="InfoEnq[RetardPaiement][Date]" value="<?=$this->InfoEnq['RetardPaiement']['Date']?>"/> (Format : JJ/MM/AAAA)</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="fieldgrp">
|
||||
<label class="StyleInfoLib">Litiges techniques ou commerciaux :</label>
|
||||
<div class="field">
|
||||
<input class="noborder" type="radio" name="InfoEnq[LitigeChoix]" value="oui" <?php if($this->InfoEnq['LitigeChoix']=='oui'){ print 'checked="checked"';}?>/>Oui
|
||||
<input class="noborder" type="radio" name="InfoEnq[LitigeChoix]" value="non" <?php if($this->InfoEnq['LitigeChoix']=='non'){ print 'checked="checked"';}?>/>Non
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="litige">
|
||||
|
||||
<div class="fieldgrp">
|
||||
<label class="StyleInfoLib">Précisions :</label>
|
||||
<div class="field">
|
||||
<textarea name="InfoEnq[Litige][Precisions]"><?=$this->InfoEnq['Litige']['Precisions']?></textarea>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="fieldgrp">
|
||||
<label class="StyleInfoLib">Observations ou questions spéciales</label>
|
||||
<div class="field"><textarea name="InfoEnq[Observation]"><?=$this->InfoEnq['Observation']; ?></textarea></div>
|
||||
</div>
|
||||
|
||||
<h2>Votre demande : </h2>
|
||||
|
||||
<div class="fieldgrp">
|
||||
<label class="StyleInfoLib">Encours Réel</label>
|
||||
<div class="field"><input type="text" name="InfoEnq[EncoursReel]" value="<?=$this->InfoEnq['EncoursReel']?>"/> €</div>
|
||||
</div>
|
||||
|
||||
<div class="fieldgrp">
|
||||
<label class="StyleInfoLib">Encours demandé</label>
|
||||
<div class="field"><input type="text" name="InfoEnq[EncoursDemande]" value="<?=$this->InfoEnq['EncoursDemande']?>"/> €</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="submit"><p class="submit-button"><input type="submit" name="submit" value="Envoyer" /></p></div>
|
||||
|
||||
</form>
|
||||
<?php
|
||||
}
|
||||
|
||||
if($this->commande == true)
|
||||
{
|
||||
?>
|
||||
<p>Votre demande à été prise en compte pour le siren <b><?=$this->siren?></b>.</p>
|
||||
<p><a href="<?=$this->url(array('controller'=>'identite', 'action'=>'fichier', 'siret'=>$this->siren), 'default', true)?>">
|
||||
Retour à la fiche identite
|
||||
</a></p>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</div>
|
@ -0,0 +1,67 @@
|
||||
<div align="center" style="<?=$this->background;?>">
|
||||
<div id="remove">
|
||||
<form name="uploadForm" id="uploadForm" method="post" action="<?=$this->url(array(
|
||||
'controller'=>'evaluation',
|
||||
'action'=>'customindiscore3',
|
||||
'siret'=>$this->siret,
|
||||
'id'=>$this->id))?>">
|
||||
<table>
|
||||
<tr>
|
||||
<td><b>Coordonnées adresse</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<?php foreach($this->adresse as $item){?>
|
||||
<input style="width:377px" type="text" name="adresse[]" value="<?=$item?>"/><br/>
|
||||
<?php }?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top"><b>Nom de la société</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><input type="text" name="societe_name" value="<?php if (empty($this->rs)) {?>Nom de la société<?php } else { echo $this->rs; }?>" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><b>Logo en fond ecran : </b><input type="checkbox" name="logo_background" value="true" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><b>Logo à :</b> Gauche <input checked="checked" type="radio" name="image" value="left"/> Droite<input value="right" type="radio" name="image" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><b>couleur des grands titres</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Fond : <input value="<?=$this->color1;?>" type="text" name="couleurh1" /> Texte <input value="black" type="text" name="texth1" /> ex : black</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><b>couleur des sous titres</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Fond : <input value="<?=$this->color1;?>" type="text" name="couleurh2" /> Texte <input value="black" type="text" name="texth2" /> ex : black</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2"><input type="submit" name="upload" value="Envoyer" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
<script type="text/javascript" src="/libs/form/jquery.form.min.js"/>
|
||||
<script>
|
||||
$('#uploadForm').ajaxForm({
|
||||
beforeSubmit: function() {
|
||||
$('#remove').html('<b style="color:green">Votre document est en cours de chargement...</b>');
|
||||
},
|
||||
success: function(data) {
|
||||
$('#remove').html(data);
|
||||
}
|
||||
});
|
||||
$('#dialogcustomrapport').dialog({ buttons: [ {
|
||||
text: "Quitter",
|
||||
click: function() { $(this).dialog("close"); }
|
||||
} ] });
|
||||
</script>
|
||||
</div>
|
@ -0,0 +1,366 @@
|
||||
<style>
|
||||
#center p { margin:5px; padding:5px;}
|
||||
.infoTitle {clear:both; float:left; width:180px; margin-left:30px; padding:0 10px 0 0;}
|
||||
.infoData {float:left; width:320px; margin:2px 0;}
|
||||
form { }
|
||||
form em { color:#FF0000;}
|
||||
fieldset {border:0; margin:0; padding:0;}
|
||||
fieldset legend{ padding:0 0 0 10px;}
|
||||
.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{font-weight:bold; margin-left:30px; width:180px; clear:both; padding:0 10px 0 0;line-height:22px;_padding-top:3px; float:left; display:block; font-size:108%;}
|
||||
.fieldgrp label span{font-weight:normal;}
|
||||
.fieldgrp label abbr{color:#4B911C; font-size:120%; vertical-align:middle;}
|
||||
.field {width:320px; 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{ font-size:110%; margin:2px 0; }
|
||||
.field input[type="radio"] { margin:0 5px 0 5px; }
|
||||
div.submit{ margin-left:200px; padding-left:0px; margin-top:1em; }
|
||||
div.submit p.submit-button{margin-top:0;}
|
||||
div.submit p.details{font-size:85%;color:#666;margin:0;}
|
||||
div.submit p.required-note{margin-top:1em;}
|
||||
div.submit p.required-note span{color:#4B911C;_color:#666;font-size:170%;vertical-align:top;}
|
||||
.noborder {border:none;}
|
||||
<?php if(isset($this->InfoUser['Profil']) && $this->InfoUser['Profil']=='Autre'){ ?> #autreProfil {display:block;}<?php }else{?> #autreProfil {display:none;} <?php }?>
|
||||
<?php if(isset($this->InfoEnq['PrecisionsChoix']) && $this->InfoEnq['PrecisionsChoix']=='5'){ ?> #autrePrecisions {display:block;} <?php }else{ ?> #autrePrecisions {display:none;} <?php }?>
|
||||
<?php if(isset($this->InfoEnq['PrecisionsChoix']) && ($this->InfoEnq['PrecisionsChoix']=='3' || $this->InfoEnq['PrecisionsChoix']=='4')){ ?> #fournisseur {display:block;} <?php }else{ ?> #fournisseur {display:none;} <?php }?>
|
||||
<?php if(isset($this->InfoEnq['PrecisionsChoix']) && $this->InfoEnq['PrecisionsChoix']=='1'){ ?> #credit {display:block;} <?php }else{ ?> #credit {display:none;} <?php }?>
|
||||
<?php if(isset($this->InfoEnq['ImpayeesChoix']) && $this->InfoEnq['ImpayeesChoix']=='oui'){ ?> #impayees {display:block;}<?php }else{?> #impayees {display:none;} <?php }?>
|
||||
<?php if(isset($this->InfoEnq['ImpayeesChoix']) && $this->InfoEnq['ImpayeesChoix']=='oui'){ ?> #retardpaiement {display:block;}<?php }else{?> #retardpaiement {display:none;} <?php }?>
|
||||
<?php if(isset($this->InfoEnq['LitigeChoix']) && $this->InfoEnq['LitigeChoix']=='oui'){ ?> #litige {display:block;}<?php }else{?> #litige {display:none;} <?php }?>
|
||||
</style>
|
||||
|
||||
<div id="center">
|
||||
<h1 class="titre">ENQUÊTE COMMERCIALE</h1>
|
||||
|
||||
<?php
|
||||
if($this->commandeEnquete == false){
|
||||
?>
|
||||
|
||||
<p class="StyleInfoLib">Nos enquêtes commerciales sont réalisées par des analystes financiers.</p>
|
||||
|
||||
<div id="message"><?=$this->message;?></div>
|
||||
|
||||
<form action="<?=$this->url(array('controller'=>'evaluation', 'action'=>'enquetec'))?>" method="post" enctype="multipart/form-data">
|
||||
<input name="pays" value="<?=$pays?>" type="hidden"/>
|
||||
|
||||
<h2>Entreprise concernée : </h2>
|
||||
|
||||
<div class="infoTitle StyleInfoLib">Numéro identifiant Siren</div>
|
||||
<div class="infoData">
|
||||
<?=$this->SirenTexte($this->Etab->Siren)?>
|
||||
<input type="hidden" name="InfoEnq[Siren]" value="<?=$this->Etab->Siren?>"/>
|
||||
</div>
|
||||
|
||||
<div class="infoTitle StyleInfoLib">Numéro identifiant Siret</div>
|
||||
<div class="infoData"><?=$this->SiretTexte($this->Etab->Siret)?></div>
|
||||
|
||||
<div class="infoTitle StyleInfoLib">Numéro de TVA Intracom.</div>
|
||||
<div class="infoData"><?=substr($this->Etab->TvaNumero,0,2).' '.substr($this->Etab->TvaNumero,2,2).' '.substr($this->Etab->TvaNumero,-9)?></div>
|
||||
|
||||
<div class="infoTitle StyleInfoLib">Dénomination Sociale</div>
|
||||
<div class="infoData"><?=$this->Etab->Nom?></div>
|
||||
|
||||
<div class="infoTitle StyleInfoLib">Adresse</div>
|
||||
<div class="infoData"><?=$this->Etab->Adresse.' '.$this->Etab->CP.' '.$this->Etab->Ville?></div>
|
||||
|
||||
<div class="fieldgrp">
|
||||
<label class="StyleInfoLib">Téléphone <?php if (trim($this->Etab->Tel)==''){?><font color="Red">*</font><?php }?> / Fax</label>
|
||||
<div class="field">
|
||||
<?php if (trim($this->Etab->Tel)!=''){ print $this->Etab->Tel; }else{?><input type="text" name="InfoEnq[Entrep][Tel]" value="<?=$this->InfoEnq['Entrep']['Tel']?>"/><?php } ?> <b>/</b>
|
||||
<?php if (trim($this->Etab->Fax)!=''){ print $this->Etab->Fax; }else{?><input type="text" name="InfoEnq[Entrep][Fax]" value="<?=$this->InfoEnq['Entrep']['Fax']?>"/><?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php if (trim($this->Etab->Tel)!=''){?>
|
||||
<div class="fieldgrp">
|
||||
<label class="StyleInfoLib"> Autre téléphone :</label>
|
||||
<div class="field"><input type="text" name="InfoEnq[Entrep][AutreTel]" value="<?=$this->InfoEnq['Entrep']['AutreTel'];?>"/> </div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<div class="fieldgrp">
|
||||
<label class="StyleInfoLib">E-mail</label>
|
||||
<div class="field"><?php if (trim($this->Etab->Mail)!=''){ print $this->Etab->Mail; }else{?><input type="text" name="InfoEnq[Entrep][Mail]" value="<?=$this->InfoEnq['Entrep']['Mail']?>"/><?php }?></div>
|
||||
</div>
|
||||
|
||||
<?php if (trim($this->Etab->Mail)!=''){ ?>
|
||||
<div class="fieldgrp">
|
||||
<label class="StyleInfoLib">Autre e-mail</label>
|
||||
<div class="field"><input type="text" name="InfoEnq[Entrep][AutreMail]" value="<?=$this->InfoEnq['Entrep']['AutreMail']?>"/></div>
|
||||
</div>
|
||||
<?php }?>
|
||||
|
||||
|
||||
<div class="fieldgrp">
|
||||
<label class="StyleInfoLib">Site Web</label>
|
||||
<div class="field"><?php if (trim($this->Etab->Web)!=''){ print $this->Etab->Web; }else{?><input type="text" name="InfoEnq[Entrep][Web]" value="<?=$this->InfoEnq['Entrep']['Web']?>"/><?php }?></div>
|
||||
</div>
|
||||
|
||||
<div class="fieldgrp">
|
||||
<label class="StyleInfoLib">Domiciliation bancaire</label>
|
||||
<div class="field">
|
||||
<input type="text" name="InfoEnq[Entrep][Rib][Banque]" maxlength="5" size="5" value="<?=$this->InfoEnq['Entrep']['Rib']['Banque']?>"/>
|
||||
<input type="text" name="InfoEnq[Entrep][Rib][Guichet]" maxlength="5" size="5" value="<?=$this->InfoEnq['Entrep']['Rib']['Guichet']?>"/>
|
||||
<input type="text" name="InfoEnq[Entrep][Rib][Compte]" maxlength="11" size="11" value="<?=$this->InfoEnq['Entrep']['Rib']['Compte']?>"/>
|
||||
<input type="text" name="InfoEnq[Entrep][Rib][Cle]" maxlength="2" size="2" value="<?=$this->InfoEnq['Entrep']['Rib']['Cle']?>"/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="fieldgrp">
|
||||
<label class="StyleInfoLib">Encours demandé</label>
|
||||
<div class="field"><input type="text" name="InfoEnq[Encours]" value="<?=$this->InfoEnq['Encours']?>"/> €</div>
|
||||
</div>
|
||||
|
||||
<div class="fieldgrp">
|
||||
<label class="StyleInfoLib">Nombre d'échéances</label>
|
||||
<div class="field"><input type="text" name="InfoEnq[NbEcheances]" value="<?=$this->InfoEnq['NbEcheances']?>"/></div>
|
||||
</div>
|
||||
|
||||
<div class="fieldgrp">
|
||||
<label class="StyleInfoLib">Avis de l'assureur crédit</label>
|
||||
<div class="field">
|
||||
<select name="InfoEnq[AvisAssureur]">
|
||||
<option value="-" <?php if($this->InfoEnq['AvisAssureur']=='-'){ print 'checked="check"';} ?>>-</option>
|
||||
<option value="Favorable" <?php if($this->InfoEnq['AvisAssureur']=='Favorable'){ print 'checked="check"';} ?>>Favorable</option>
|
||||
<option value="Défavorable" <?php if($this->InfoEnq['AvisAssureur']=='Défavorable'){ print 'checked="check"';} ?>>Défavorable</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h2>Demandeur : </h2>
|
||||
|
||||
<div class="fieldgrp">
|
||||
<label class="StyleInfoLib">Votre profil <font color="Red">*</font></label>
|
||||
<div class="field">
|
||||
<select id="profil" name="InfoUser[Profil]">
|
||||
<option value="Achats" <?php if($this->InfoUser['Profil']=='Achats'){print 'selected="selected"';};?>>Service Achats</option>
|
||||
<option value="Commerce" <?php if($this->InfoUser['Profil']=='Commerce'){print 'selected="selected"';};?>>Commerce</option>
|
||||
<option value="Recouvrement" <?php if($this->InfoUser['Profil']=='Recouvrement'){print 'selected="selected"';};?>>Recouvrement</option>
|
||||
<option value="Contentieux" <?php if($this->InfoUser['Profil']=='Contentieux'){print 'selected="selected"';};?>>Contentieux</option>
|
||||
<option value="Autre" <?php if($this->InfoUser['Profil']=='Autre'){print 'selected="selected"';};?>>Autre</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="autreProfil" class="fieldgrp">
|
||||
<label class="StyleInfoLib">Précisez</label>
|
||||
<div class="field"><input type="text" name="InfoUser[ProfilAutre]" value="<?=$this->InfoUser['ProfilAutre']?>" /></div>
|
||||
</div>
|
||||
|
||||
<div class="fieldgrp">
|
||||
<label class="StyleInfoLib">Votre Identité</label>
|
||||
<div class="field"><input type="text" name="InfoUser[Identite]" value="<?php echo $this->user->getNom().' '.$this->user->getPrenom(); ?>"/></div>
|
||||
</div>
|
||||
|
||||
<div class="fieldgrp">
|
||||
<label class="StyleInfoLib">Votre Téléphone <font color="Red"></font>:</label>
|
||||
<div class="field"><input type="text" name="InfoUser[Tel]" value="<?php
|
||||
if(isset($this->InfoUser['Tel'])){echo $this->InfoUser['Tel'];}
|
||||
else echo $this->user->getTel(); ?>" /></div>
|
||||
</div>
|
||||
|
||||
<div class="fieldgrp">
|
||||
<label class="StyleInfoLib">Votre Fax</label>
|
||||
<div class="field"><input type="text" name="InfoUser[Fax]" value="<?php
|
||||
if(isset($this->InfoUser['Fax'])){echo $this->InfoUser['Fax'];}
|
||||
else echo $this->user->getFax(); ?>"/></div>
|
||||
</div>
|
||||
|
||||
<div class="fieldgrp">
|
||||
<label class="StyleInfoLib">Votre E-mail <font color="Red">*</font></label>
|
||||
<div class="field"><input type="text" name="InfoUser[Email]" value="<?php
|
||||
if(isset($this->InfoUser['Email'])){echo $this->InfoUser['Email'];}
|
||||
else echo $this->user->getEmail(); ?>"/></div>
|
||||
</div>
|
||||
|
||||
<div class="fieldgrp">
|
||||
<label class="StyleInfoLib">Votre Référence</label>
|
||||
<div class="field"><input type="text" name="InfoUser[Ref]" value="<?php
|
||||
if(isset($this->InfoUser['Ref'])){echo $this->InfoUser['Ref'];}
|
||||
?>"/></div>
|
||||
</div>
|
||||
|
||||
<h2>Enquête : </h2>
|
||||
|
||||
<?php
|
||||
if( $pays=='' )
|
||||
{
|
||||
?>
|
||||
<div class="fieldgrp">
|
||||
<label class="StyleInfoLib">Type d'enquête</label>
|
||||
<div class="field">
|
||||
<input class="noborder" type="radio" id="premier" name="InfoEnq[Type]" value="premier" <?php if($this->InfoEnq['Type']=='premier'){print 'checked="checked"';};?>>EXPRESS ( encours inférieur à 20K€ )
|
||||
<br/>
|
||||
<input class="noborder" type="radio" id="gold" name="InfoEnq[Type]" value="gold" <?php if($this->InfoEnq['Type']=='gold'){print 'checked="checked"';};?>>DECISION ( encours supérieur à 20K€ )
|
||||
<br/>
|
||||
<input class="noborder" type="radio" id="btp" name="InfoEnq[Type]" value="btp" <?php if($this->InfoEnq['Type']=='btp'){print 'checked="checked"';};?>>SECTEUR BTP
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
|
||||
<?php
|
||||
if( isset($pays) && $pays!='' )
|
||||
{
|
||||
?>
|
||||
<div class="fieldgrp">
|
||||
<label class="StyleInfoLib">Délais de livraison</label>
|
||||
<div class="field">
|
||||
<input class="noborder" type="radio" name="InfoEnq[Delai]" value="normal" <?php if($this->InfoEnq['Delai']=='normal'){print 'checked="checked"';};?>>Normal
|
||||
<input class="noborder" type="radio" name="InfoEnq[Delai]" value="urgent" <?php if($this->InfoEnq['Delai']=='urgent'){print 'checked="checked"';};?>>Urgent
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
}else{
|
||||
?>
|
||||
<div class="fieldgrp">
|
||||
<label class="StyleInfoLib">Délais de livraison</label>
|
||||
<div class="field">
|
||||
<input class="noborder" type="radio" name="InfoEnq[Delai]" value="1" <?php if($this->InfoEnq['Delai']=='1'){print 'checked="checked"';};?>>24 h
|
||||
<input class="noborder" type="radio" name="InfoEnq[Delai]" value="2" <?php if($this->InfoEnq['Delai']=='2'){print 'checked="checked"';};?>>72 h
|
||||
<input class="noborder" type="radio" name="InfoEnq[Delai]" value="5" <?php if($this->InfoEnq['Delai']=='5'){print 'checked="checked"';};?>>5 jours ou +
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
|
||||
<div class="fieldgrp">
|
||||
<label class="StyleInfoLib">Précisions sur la demande</label>
|
||||
<div class="field">
|
||||
<select id="precision" name="InfoEnq[PrecisionsChoix]">
|
||||
<option value="">Choisissez...</option>
|
||||
<option value="1" <?php if($this->InfoEnq['PrecisionsChoix']=='1'){print 'selected="selected"';};?>>Enquête sur un client (contrôle crédit)</option>
|
||||
<option value="2" <?php if($this->InfoEnq['PrecisionsChoix']=='2'){print 'selected="selected"';};?>>Enquête sur un prospect (ouverture de compte)</option>
|
||||
<option value="3" <?php if($this->InfoEnq['PrecisionsChoix']=='3'){print 'selected="selected"';};?>>Enquête sur un fournisseur stratégique</option>
|
||||
<option value="4" <?php if($this->InfoEnq['PrecisionsChoix']=='4'){print 'selected="selected"';};?>>Enquête sur un fournisseur non stratégique</option>
|
||||
<option value="5" <?php if($this->InfoEnq['PrecisionsChoix']=='5'){print 'selected="selected"';};?>>Autre type d'enquête (Précisez...)</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="fournisseur" class="fieldgrp">
|
||||
<label class="StyleInfoLib">CA réalisé avec le fournisseur</label>
|
||||
<div class="field"><input type="text" name="InfoEnq[Precisions][MontantCA]" value="<?=$this->InfoEnq['Precisions']['MontantCA']?>" /> €</div>
|
||||
</div>
|
||||
|
||||
<div id="credit" class="fieldgrp">
|
||||
<label class="StyleInfoLib">Motif du contrôle</label>
|
||||
<div class="field"><textarea name="InfoEnq[Precisions][Motif]"><?=$this->InfoEnq['Precisions']['Motif']?></textarea></div>
|
||||
</div>
|
||||
|
||||
<div id="autrePrecisions" class="fieldgrp">
|
||||
<label class="StyleInfoLib">Précisez</label>
|
||||
<div class="field"><textarea name="InfoEnq[Precisions][Autre]"><?=$this->InfoEnq['Precisions']['Autre']?></textarea></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="fieldgrp">
|
||||
<label class="StyleInfoLib">Ancienneté de la relation :</label>
|
||||
<div class="field">
|
||||
<input type="text" name="InfoEnq[Anciennete]" size="2" value="<?=$this->InfoEnq['Anciennete']?>"/>
|
||||
<input class="noborder" type="radio" name="InfoEnq[AncienneteDuree]" value="Mois" <?php if($this->InfoEnq['AncienneteDuree']=='Mois'){ print 'checked="checked"';}?>/>Mois
|
||||
<input class="noborder" type="radio" name="InfoEnq[AncienneteDuree]" value="Annees" <?php if($this->InfoEnq['AncienneteDuree']=='Annees'){ print 'checked="checked"';}?>/>Années
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="fieldgrp">
|
||||
<label class="StyleInfoLib">Impayées :</label>
|
||||
<div class="field">
|
||||
<input class="noborder" type="radio" name="InfoEnq[ImpayeesChoix]" value="oui" <?php if($this->InfoEnq['ImpayeesChoix']=='oui'){ print 'checked="checked"';}?>/>Oui
|
||||
<input class="noborder" type="radio" name="InfoEnq[ImpayeesChoix]" value="non" <?php if($this->InfoEnq['ImpayeesChoix']=='non'){ print 'checked="checked"';}?>/>Non
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="impayees">
|
||||
|
||||
<div class="fieldgrp">
|
||||
<label class="StyleInfoLib">Montant :</label>
|
||||
<div class="field"><input type="text" name="InfoEnq[Impayees][Montant]" value="<?=$this->InfoEnq['Impayees']['Montant']?>"/> €</div>
|
||||
</div>
|
||||
|
||||
<div class="fieldgrp">
|
||||
<label class="StyleInfoLib">Nombre :</label>
|
||||
<div class="field"><input type="text" name="InfoEnq[Impayees][Nombre]" value="<?=$this->InfoEnq['Impayees']['Nombre']?>"/></div>
|
||||
</div>
|
||||
|
||||
<div class="fieldgrp">
|
||||
<label class="StyleInfoLib">Date :</label>
|
||||
<div class="field"><input type="text" name="InfoEnq[Impayees][Date]" value="<?=$this->InfoEnq['Impayees']['Date']?>"/> (Format : JJ/MM/AAAA)</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="fieldgrp">
|
||||
<label class="StyleInfoLib">Retard de paiement :</label>
|
||||
<div class="field">
|
||||
<input class="noborder" type="radio" name="InfoEnq[RetardPaiementChoix]" value="oui" <?php if($this->InfoEnq['RetardPaiementChoix']=='oui'){ print 'checked="checked"';}?>/>Oui
|
||||
<input class="noborder" type="radio" name="InfoEnq[RetardPaiementChoix]" value="non" <?php if($this->InfoEnq['RetardPaiementChoix']=='non'){ print 'checked="checked"';}?>/>Non
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="retardpaiement">
|
||||
|
||||
<div class="fieldgrp">
|
||||
<label class="StyleInfoLib">Montant :</label>
|
||||
<div class="field"><input type="text" name="InfoEnq[RetardPaiement][Montant]" value="<?=$this->InfoEnq['RetardPaiement']['Montant']?>"/> €</div>
|
||||
</div>
|
||||
|
||||
<div class="fieldgrp">
|
||||
<label class="StyleInfoLib">Nombre :</label>
|
||||
<div class="field"><input type="text" name="InfoEnq[RetardPaiement][Nombre]" value="<?=$this->InfoEnq['RetardPaiement']['Nombre']?>"/></div>
|
||||
</div>
|
||||
|
||||
<div class="fieldgrp">
|
||||
<label class="StyleInfoLib">Date :</label>
|
||||
<div class="field"><input type="text" name="InfoEnq[RetardPaiement][Date]" value="<?=$this->InfoEnq['RetardPaiement']['Date']?>"/> (Format : JJ/MM/AAAA)</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="fieldgrp">
|
||||
<label class="StyleInfoLib">Litiges techniques ou commerciaux :</label>
|
||||
<div class="field">
|
||||
<input class="noborder" type="radio" name="InfoEnq[LitigeChoix]" value="oui" <?php if($this->InfoEnq['LitigeChoix']=='oui'){ print 'checked="checked"';}?>/>Oui
|
||||
<input class="noborder" type="radio" name="InfoEnq[LitigeChoix]" value="non" <?php if($this->InfoEnq['LitigeChoix']=='non'){ print 'checked="checked"';}?>/>Non
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="litige">
|
||||
|
||||
<div class="fieldgrp">
|
||||
<label class="StyleInfoLib">Précisions :</label>
|
||||
<div class="field">
|
||||
<textarea name="InfoEnq[Litige][Precisions]"><?=$this->InfoEnq['Litige']['Precisions']?></textarea>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="fieldgrp">
|
||||
<label class="StyleInfoLib">Observations ou questions spéciales</label>
|
||||
<div class="field"><textarea name="InfoEnq[Observation]"><?=$this->InfoEnq['Observation']; ?></textarea></div>
|
||||
</div>
|
||||
|
||||
<div class="submit"><p class="submit-button"><input type="submit" name="submit" value="Envoyer" /></p></div>
|
||||
|
||||
</form>
|
||||
<?php
|
||||
}
|
||||
|
||||
if($this->commandeEnquete == true)
|
||||
{
|
||||
?>
|
||||
<p>
|
||||
Votre demande à été prise en compte le <?=$this->jour.'/'.$this->mois.'/'.$this->annee?> à <?=$this->heure?> h <?=$this->minutes?> sous la référence <b><?=$this->ref?></b> pour le siren <b><?=$this->siren?></b>.
|
||||
</p>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</div>
|
@ -0,0 +1,294 @@
|
||||
<?php if ( empty($this->AutrePage) ) {?>
|
||||
<div id="center">
|
||||
<?php }?>
|
||||
|
||||
<?php if ( empty($this->AutrePage) ) {?>
|
||||
<h1>INDISCORE©</h1>
|
||||
<div class="paragraph">
|
||||
<table>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Numéro identifiant Siren</td>
|
||||
<td width="350" class="StyleInfoData"><?=$this->SirenTexte($this->indiscore->Siren)?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Numéro identifiant Siret du siège</td>
|
||||
<td width="350" class="StyleInfoData"><?=$this->SiretTexte($this->indiscore->Siret)?></td>
|
||||
</tr>
|
||||
<?php if (isset($this->indiscore->NumRC) && $this->indiscore->NumRC*1!=0) { ?>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Numéro R.C.</td>
|
||||
<td width="350" class="StyleInfoData"><?=$this->indiscore->NumRC?></td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
<tr><td colspan="3"> </td></tr>
|
||||
<?php if ( $this->edition && empty($this->AutrePage) ) {?>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib"></td>
|
||||
<td width="350" class="StyleInfoData">
|
||||
<?=$this->action('scorecutoff','saisie',null, array('siren'=>$this->indiscore->Siren)); ?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php }?>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib"> </td>
|
||||
<td width="350" class="StyleInfoData">
|
||||
<a href=<?=$this->url(array('controller'=>'evaluation', 'action'=>'scoreshisto', 'siret' => $this->siret)); ?>>
|
||||
<?=$this->translate("Consulter l'historique des IndiScore");?></a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<?php }?>
|
||||
<h2>Dénomination sociale & coordonnées</h2>
|
||||
<div class="paragraph">
|
||||
<table>
|
||||
<tr>
|
||||
<td width="30"></td>
|
||||
<td width="200" class="StyleInfoLib">Dénomination Sociale</td>
|
||||
<td width="350" class="StyleInfoData">
|
||||
<?php
|
||||
echo $this->indiscore->Nom;
|
||||
if (!empty($this->indiscore->Nom2)) {
|
||||
echo '<br/>'.$this->indiscore->Nom2;
|
||||
}
|
||||
?>
|
||||
</tr>
|
||||
|
||||
<?php
|
||||
$titre='';
|
||||
if ($this->indiscore->Enseigne!='' && $this->indiscore->Sigle!='') {
|
||||
$titre = 'Enseigne / Sigle'; $lib = $this->indiscore->Enseigne.' / '.$this->indiscore->Sigle;
|
||||
} elseif ($this->indiscore->Enseigne!='' && $this->indiscore->Sigle=='') {
|
||||
$titre = 'Enseigne'; $lib = $this->indiscore->Enseigne;
|
||||
} elseif ($this->indiscore->Enseigne=='' && $this->indiscore->Sigle!='') {
|
||||
$titre = 'Sigle'; $lib = $this->indiscore->Sigle;
|
||||
}?>
|
||||
|
||||
<?php if ( !empty($titre) ) {?>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib"><?=$titre?></td>
|
||||
<td width="350" class="StyleInfoData"><?=$lib?></td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
<tr>
|
||||
<td width="30"></td>
|
||||
<td width="200" class="StyleInfoLib">Forme juridique</td>
|
||||
<td width="350" class="StyleInfoData">
|
||||
<?=$this->indiscore->FJ_lib?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="30"></td>
|
||||
<td width="200" class="StyleInfoLib">Date de création de l'entreprise</td>
|
||||
<td width="350" class="StyleInfoData">
|
||||
<?php $date = new Zend_Date($this->indiscore->DateCreaEn, 'yyyyMMdd');?>
|
||||
<?=$date->toString('dd/MM/yyyy')?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="30"></td>
|
||||
<td width="200" class="StyleInfoLib">Adresse</td>
|
||||
<td width="350" class="StyleInfoData">
|
||||
<?=$this->indiscore->Adresse?><br/>
|
||||
<?php if ($this->indiscore->Adresse2<>'') echo $this->indiscore->Adresse2.'<br/>';?>
|
||||
<?=$this->indiscore->CP?> <?=$this->indiscore->Ville?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="30"></td>
|
||||
<td width="200" class="StyleInfoLib">Téléphone</td>
|
||||
<td width="350" class="StyleInfoData">
|
||||
<?=$this->indiscore->Tel?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php if ( $this->surveillance && empty($this->AutrePage) ) {?>
|
||||
<tr>
|
||||
<td width="30"></td>
|
||||
<td colspan="2">
|
||||
<?=$this->action('infos','surveillance', null, array(
|
||||
'source' => 'score',
|
||||
'siret' => $this->siret
|
||||
));?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php }?>
|
||||
|
||||
<?php if ( $this->aviscredit && empty($this->AutrePage) ) {?>
|
||||
<tr>
|
||||
<td width="30"></td>
|
||||
<td colspan="2">
|
||||
<a href="<?=$this->url(array('controller'=>'evaluation', 'action'=>'aviscredit', 'siret' => $this->siret))?>">
|
||||
Saisir votre demande d'avis credit personnalisé</a>
|
||||
</td>
|
||||
</tr>
|
||||
<?php }?>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<h2>Évaluation</h2>
|
||||
<div class="paragraph">
|
||||
<table>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="550" colspan="2" class="StyleInfoData">
|
||||
L'évaluation indiScore© est en partie basée sur les points notables suivants :<br/>
|
||||
<h3><u>Conformité légale :</u></h3>
|
||||
<div class="stats gradiant_pic">
|
||||
<ul>
|
||||
<li>
|
||||
<i><?=$this->indiscore->AnalyseConfor; ?></i>
|
||||
<div class="blocdegrade clearfix">
|
||||
<span class="textdegrade">Conformité <? if ($this->edition) { echo '('.$this->indiscore->ScoreConfor.')';}?></span>
|
||||
<div class="imgdegrade"><img class="borderimg" src="/themes/default/images/indiscore/imgscores-<?=$this->FormatPct($this->indiscore->ScoreConfor)?>.png"/></div>
|
||||
<div class="regle"><img src="/themes/default/images/indiscore/sgradiant2.png" /></div>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<h3><u>Dirigeance :</u></h3>
|
||||
<div class="stats gradiant_pic">
|
||||
<ul>
|
||||
<li>
|
||||
<i><?=$this->indiscore->AnalyseDirigeance?></i>
|
||||
<div class="blocdegrade clearfix">
|
||||
<span class="textdegrade">Dirigeance <? if ($this->edition) { echo '('.$this->indiscore->ScoreDirigeance.')';}?></span>
|
||||
<div class="imgdegrade"><img class="borderimg" src="/themes/default/images/indiscore/imgscores-<?=$this->FormatPct($this->indiscore->ScoreDirigeance)?>.png"/></div>
|
||||
<div class="regle"><img src="/themes/default/images/indiscore/sgradiant2.png" /></div>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<h3><u>Solvabilité :</u></h3>
|
||||
<div class="stats gradiant_pic">
|
||||
<ul>
|
||||
<li>
|
||||
<i>L'analyse de la solvabilité est <?=$this->indiscore->AnalyseSolvabilite?></i>
|
||||
<div class="blocdegrade clearfix">
|
||||
<span class="textdegrade">Solvabilité <? if ($this->edition) { echo '('.$this->indiscore->Indiscore.')';}?></span>
|
||||
<div class="imgdegrade"><img class="borderimg" src="/themes/default/images/indiscore/imgscores-<?php echo $this->FormatPct($this->indiscore->Indiscore);?>.png"/></div>
|
||||
<div class="regle"><img src="/themes/default/images/indiscore/sgradiant2.png" /></div>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<?php $millesimeMax = date('Ymd', mktime(0, 0, 0, date('m'), date('d'), date('Y')-2));?>
|
||||
<?php if($this->indiscore->NbBilansScore > 0 && $this->indiscore->Bilans->item[0]->Millesime >= $millesimeMax) {?>
|
||||
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="550" colspan="2" class="StyleInfoData">
|
||||
A la lecture du dernier bilan, cloturé le <?=substr($this->indiscore->Bilans->item[0]->Millesime,6,2).'/'.substr($this->indiscore->Bilans->item[0]->Millesime,4,2).'/'.substr($this->indiscore->Bilans->item[0]->Millesime,0,4)?>, la situation financière de l'entreprise <?php echo $this->Nom;?> est <b><?php echo $this->indiscore->tabInfosNotations->SituationFinanciere;?></b>.<br/>
|
||||
<?php
|
||||
if (html_entity_decode($this->indiscore->tabInfosNotations->ProbabiliteDefaut) <> 'En défaut')
|
||||
echo 'La probabilité de défaillance associée à cette note avoisine les '. number_format($this->indiscore->tabInfosNotations->ProbabiliteDefaut,3,',',' ') .' %';
|
||||
else
|
||||
echo 'Cette entreprise est défaillante ou sur le point de le devenir.';
|
||||
//[EquivalenceBDF]
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="550" colspan="2" class="StyleInfoData">
|
||||
<i>Pour information, les méthodes standards donnent : Conan & Holder = <b><?php echo $this->indiscore->scores->ConanH;?></b>,
|
||||
Afdcc1 = <b><?php echo $this->indiscore->scores->Afdcc1;?></b>, Afdcc2 = <b><?php echo $this->indiscore->scores->Afdcc2;?></b>
|
||||
et Score Z = <b><?php echo $this->indiscore->scores->Z;?></b>.</i>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<?php } else {?>
|
||||
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="550" colspan="2" class="StyleInfoData">
|
||||
La situation financière de l'entreprise ne peut être évaluée en détail car
|
||||
<?php
|
||||
if($this->indiscore->Bilans->item[0]->Millesime < $millesimeMax && count($this->indiscore->Bilans->item) > 0 ) {
|
||||
echo 'le dernier bilan disponible date de '.substr($this->indiscore->Bilans->item[0]->Millesime,0,4).'.';
|
||||
} else {
|
||||
echo 'aucun bilan n\'est disponible.';
|
||||
} ?>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<?php }?>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<h2>Paiements</h2>
|
||||
<div class="paragraph">
|
||||
<table>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="550" colspan="2" class="StyleInfoData">
|
||||
<?php if(!empty($this->indiscore->infoPaiement)):?>
|
||||
<?php echo html_entity_decode($this->indiscore->infoPaiement);?>
|
||||
<?php else :?>
|
||||
Aucune information sur les paiements disponible.
|
||||
<?php endif;?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<h2>Conclusion</h2>
|
||||
<div class="paragraph">
|
||||
<table>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="550" colspan="2" class="StyleInfoData">
|
||||
<span class="notvisible">
|
||||
Compte tenu des informations disponibles auprès des sources officielles
|
||||
Scores et Décisions présente la conclusion suivante :</span><br/>
|
||||
<?php
|
||||
switch($this->typeScore)
|
||||
{
|
||||
case '20':
|
||||
$maxIndiscore = $this->typeScore;
|
||||
$indiscore = $this->indiscore->Indiscore20;
|
||||
break;
|
||||
case '100':
|
||||
default:
|
||||
$maxIndiscore = empty($this->typeScore)? '100' : $this->typeScore;
|
||||
$indiscore = $this->indiscore->Indiscore;
|
||||
break;
|
||||
}
|
||||
?>
|
||||
<h3 style="font-size:13px"><b>LE SCORE EST DE <?php echo $indiscore;?> SUR <?php echo $maxIndiscore;?> POINTS</b></h3>
|
||||
<?php
|
||||
if($this->indiscore->infoEncours != '' && !is_numeric($this->indiscore->encours) && $this->indiscore->encours == 'N/A'){ ?>
|
||||
<h3><?php echo $this->indiscore->infoEncours;?></h3>
|
||||
<?php
|
||||
}else{ ?>
|
||||
<?php
|
||||
if ($indiscore!=0) { ?>
|
||||
<i>La tendance de la note est <?php echo $this->indiscore->TendanceIndiscore;?></i>
|
||||
<h3 style="font-size:13px"><b>L'ENCOURS MAXIMUM CONSEILLÉ EST DE <?php echo round($this->indiscore->encours / 1000);?> K€</b></h3>
|
||||
<?php } ?>
|
||||
<h3><?php echo $this->indiscore->infoEncours;?></h3>
|
||||
<?php } ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td colspan="3" align="center"><img class="notvisible" src="/themes/default/images/indiscore/logo_indiscore.png"/></td></tr>
|
||||
|
||||
</table>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<?php if ( empty($this->AutrePage) ) {?>
|
||||
<?=$this->render('cgu.phtml', $this->cgu);?>
|
||||
</div>
|
||||
<?php }?>
|
@ -0,0 +1,148 @@
|
||||
<div id="center">
|
||||
<h1>RAPPORT DE SYNTHESE</h1>
|
||||
<div class="paragraph">
|
||||
<table>
|
||||
<?php
|
||||
echo $this->partial('identite/fiche-item.phtml', $this->dBlock['Siret']);
|
||||
echo $this->partial('identite/fiche-item.phtml', $this->dBlock['SiretSiege']);
|
||||
echo $this->partial('identite/fiche-item.phtml', $this->dBlock['NumRC']);
|
||||
echo $this->partial('identite/fiche-item.phtml', $this->dBlock['Actif']);
|
||||
?>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<h2>Dénomination sociale & Coordonnées</h2>
|
||||
<div class="paragraph">
|
||||
<table>
|
||||
<?php
|
||||
echo $this->partial('identite/fiche-item.phtml', $this->dBlock['RaisonSociale']);
|
||||
echo $this->partial('identite/fiche-item.phtml', $this->dBlock['FormeJuridique']);
|
||||
echo $this->partial('identite/fiche-item.phtml', $this->dBlock['DateImmat']);
|
||||
echo $this->partial('identite/fiche-item.phtml', $this->dBlock['DateCreaEt']);
|
||||
?>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<h2>Activité(s) & Chiffre d'affaires</h2>
|
||||
<div class="paragraph">
|
||||
<table>
|
||||
<?php
|
||||
echo $this->partial('identite/fiche-item.phtml', $this->dBlock['ActiviteEn']);
|
||||
echo $this->partial('identite/fiche-item.phtml', $this->dBlock['FormeJuridique']);
|
||||
echo $this->partial('identite/fiche-item.phtml', $this->dBlock['Naf4']);
|
||||
echo $this->partial('identite/fiche-item.phtml', $this->dBlock['OrigineFond']);
|
||||
echo $this->partial('identite/fiche-item.phtml', $this->dBlock['TypeExploitation']);
|
||||
echo $this->partial('identite/fiche-item.phtml', $this->dBlock['Saisonnalite']);
|
||||
echo $this->partial('identite/fiche-item.phtml', $this->dBlock['Capital']);
|
||||
echo $this->partial('identite/fiche-item.phtml', $this->dBlock['ChiffreAffaire']);
|
||||
?>
|
||||
</table>
|
||||
</div>
|
||||
<?php
|
||||
echo $this->action('liste', 'dirigeant', null, array('siret' => $this->siret, 'id' => $this->id, 'apage' => 'indiscore2'));
|
||||
echo $this->action('liens', 'identite', null, array('siret' => $this->siret, 'id' => $this->id, 'apage' => 'indiscore2'));
|
||||
?>
|
||||
<h2>Eléments financiers</h2>
|
||||
<div class="paragraph">
|
||||
<?php if(count($this->tabResult)>0){ ?>
|
||||
<table id="synthese">
|
||||
<thead>
|
||||
<tr>
|
||||
<th align="center"></th>
|
||||
<th colspan="2" class="date"><?=$this->tabResult[0]['dateCloture']?><br/><?=$this->tabResult[0]['duree']?></th>
|
||||
<th colspan="2" class="date"><?=$this->tabResult[1]['dateCloture']?><br/><?=$this->tabResult[1]['duree']?></th>
|
||||
<th colspan="2" class="date"><?=$this->tabResult[2]['dateCloture']?><br/><?=$this->tabResult[2]['duree']?></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php foreach($this->tabRatio as $ratio => $info) { ?>
|
||||
<tr>
|
||||
<td class="head"><a class="tooltip" title="<?=$info['comment']?>"><?=$info['titre']?></a></td>
|
||||
<td class="right"><?=$this->tabResult[0]['ratio'][$ratio]?></td>
|
||||
<td class="right" title="<?=$this->tabResult[0]['info'][$ratio]?>"><?=$this->tabResult[0]['total'][$ratio]?> %</td>
|
||||
<td class="right"><?=$this->tabResult[1]['ratio'][$ratio]?></td>
|
||||
<td class="right" title="<?=$this->tabResult[1]['info'][$ratio]?>"><?=$this->tabResult[1]['total'][$ratio]?> %</td>
|
||||
<td class="right"><?=$this->tabResult[2]['ratio'][$ratio]?></td>
|
||||
<td class="right" title="<?=$this->tabResult[2]['info'][$ratio]?>"><?=$this->tabResult[2]['total'][$ratio]?> %</td>
|
||||
</tr>
|
||||
<?php }?>
|
||||
</tbody>
|
||||
</table>
|
||||
<?php } else {?>
|
||||
Aucun bilan disponible.
|
||||
<?php }?>
|
||||
</div>
|
||||
|
||||
<h2>Paiement</h2>
|
||||
<div class="paragraph">
|
||||
<table>
|
||||
<tr>
|
||||
<td width="30"></td>
|
||||
<td class="StyleInfoData"><?=html_entity_decode($this->paiement)?></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<h2>Procédures collectives</h2>
|
||||
<div class="paragraph">
|
||||
<table>
|
||||
<tr>
|
||||
<td width="30"></td>
|
||||
<td class="StyleInfoLib" width="200">Situation juridique</td>
|
||||
<td class="StyleInfoData" width="350">
|
||||
<?php if ($this->SituationJuridique == 'P'):?>
|
||||
<a href="<?=$this->url(array(
|
||||
'controller' => 'juridique',
|
||||
'action' => 'annonces',
|
||||
'siret' => $this->siret,
|
||||
'id' => $this->id,
|
||||
))?>">
|
||||
<font color="red">
|
||||
<b>En procédure collective</b>
|
||||
</font>
|
||||
</a>
|
||||
<?php if($this->dateRadiation != ''):?>
|
||||
<br/>Radié du RCS le <?php echo $this->dateRadiation;?>
|
||||
<?php endif;?>
|
||||
<?php elseif ($this->SituationJuridique == 'RR'):?>
|
||||
Radié du RCS <?php if($this->dateRadiation != ''):?>
|
||||
le <?php echo $this->dateRadiation;?>
|
||||
<?php endif;?>
|
||||
<?php elseif ($this->SituationJuridique == 'RP'):?>
|
||||
Radiation publiée <?php if($this->dateRadiation != ''):?>
|
||||
le <?php echo $this->dateRadiation;?>
|
||||
<?php endif;?>
|
||||
<?php else:?>
|
||||
Aucune procédure enregistrée à ce jour par nos services.
|
||||
<?php endif;?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<h2>Scores et encours</h2>
|
||||
<div class="paragraph">
|
||||
<table>
|
||||
<?php foreach ($this->scores as $name => $score):?>
|
||||
<tr>
|
||||
<td width="30"></td>
|
||||
<td width="250" class="StyleInfoLib"><?=$score[1]?></td>
|
||||
<td width="300" class="StyleInfoData">
|
||||
<a class="rTip" name="Score <?=$name?>" rel="<?=$this->url(array(
|
||||
'controller'=> 'evaluation',
|
||||
'action' => 'printscores',
|
||||
'score'=> $name, 'note' => $score[0]))?>"><?=$score[0]?>
|
||||
<?php if ($name == 'Indiscore') :?> (<?=$this->TendanceIndiscore?>) <?php endif;?>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endforeach;?>
|
||||
<tr>
|
||||
<td width="30"></td>
|
||||
<td class="StyleInfoLib">Encours conseillé</td>
|
||||
<td class="StyleInfoData"><?php echo number_format($this->encours/1000, 0, '', ' ');?> K€</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<?=$this->render('cgu.phtml', $this->cgu);?>
|
||||
</div>
|
@ -0,0 +1,50 @@
|
||||
<?php
|
||||
$parametresAction = array(
|
||||
'siret' => $this->siret,
|
||||
'id' => $this->id,
|
||||
'apage' => 'indiscore3'
|
||||
);
|
||||
?>
|
||||
<div id="center">
|
||||
|
||||
<?php if ($this->customRapport) {?>
|
||||
<div class="paragraph"><a id="customRapport" href="<?=$this->customRapport?>">Rapport personnalisé</a></div>
|
||||
<?php }?>
|
||||
|
||||
<h1>RAPPORT COMPLET</h1>
|
||||
<div class="paragraph">
|
||||
<p id="rsynthese">SOCIÉTÉ : <?=$this->raisonSociale?></p>
|
||||
</div>
|
||||
|
||||
<h1>FICHE D'IDENTITÉ</h1>
|
||||
<?=$this->action('fiche', 'identite', null, array_merge($parametresAction, array('infos'=>$this->Identite)));?>
|
||||
|
||||
<h1>DIRIGEANTS</h1>
|
||||
<?=$this->action('liste', 'dirigeant', null, array_merge($parametresAction, array('infos'=>$this->Dirigeants)));?>
|
||||
|
||||
<h1>LIENS FINANCIERS</h1>
|
||||
<?=$this->action('liens', 'identite', null, array_merge($parametresAction, array('infos'=>$this->Liens)));?>
|
||||
|
||||
<h1>ANNONCES LÉGALES</h1>
|
||||
<?=$this->action('annonces', 'juridique', null, array_merge($parametresAction, array('infos'=>$this->Annonces)))?>
|
||||
|
||||
<h1>SYNTHÈSE</h1>
|
||||
<?=$this->action('synthese', 'finance', null, array_merge($parametresAction, array('infos'=>$this->Ratios)));?>
|
||||
|
||||
<h1>ÉLÉMENTS FINANCIERS - BILANS</h1>
|
||||
<?=$this->action('bilan', 'finance', null, array_merge($parametresAction, array('infos'=>$this->Ratios)));?>
|
||||
|
||||
<h1>RATIOS</h1>
|
||||
<?=$this->action('ratios', 'finance', null, array_merge($parametresAction, array('infos'=>$this->Ratios)));?>
|
||||
|
||||
<h1>COMMENTAIRES</h1>
|
||||
<div class="paragraph">
|
||||
<div id="commentaires">
|
||||
<?=$this->comment?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h1>INDISCORE©</h1>
|
||||
<?=$this->action('indiscore', 'evaluation', null, array_merge($parametresAction, array('infos'=>$this->Indiscore)));?>
|
||||
|
||||
</div>
|
@ -0,0 +1,12 @@
|
||||
<div class="blocdegrade clearfix">
|
||||
<div>
|
||||
<img class="borderimg" src="/themes/default/images/indiscore/imgscores-<?php echo $this->note;?>.png"/>
|
||||
</div>
|
||||
<div>
|
||||
<img src="/themes/default/images/indiscore/reglette.png" />
|
||||
</div>
|
||||
<div class="echelle">
|
||||
<span class="echelleleft"><?php echo $this->min;?></span>
|
||||
<span class="echelleright"><?php echo $this->max;?></span>
|
||||
</div>
|
||||
</div>
|
@ -0,0 +1,153 @@
|
||||
<div id="center">
|
||||
<h1><?=$this->translate("HISTORIQUE").' '.strtoupper($this->types[$this->type]);?></h1>
|
||||
<div class="paragraph">
|
||||
<table>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib"><?=$this->translate("Numéro identifiant Siren")?></td>
|
||||
<td width="350" class="StyleInfoData"><?=$this->SirenTexte($this->siren)?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib"><?=$this->translate("Dénomination sociale")?></td>
|
||||
<td width="350" class="StyleInfoData"><?=$this->raisonSociale?></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<h2><?=$this->translate("Historique des scores")?></h2>
|
||||
|
||||
<div class="paragraph" style="text-align:right;">
|
||||
<select name="type">
|
||||
<?php foreach($this->types as $key=>$val) {?>
|
||||
<?php $selected = ($key == $this->type)?'selected':'';?>
|
||||
<option value="<?=$this->url(array('siret'=>$this->siret, 'id'=>$this->id, 'type'=>$key))?>" <?=$selected;?>><?=$val?></option>
|
||||
<?php }?>
|
||||
</select>
|
||||
<script>
|
||||
$('select[name=type]').change(function(e){
|
||||
window.location = $(this).val();
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
<div class="paragraph">
|
||||
<p>
|
||||
<?php switch ( $this->typeTxt ) {?>
|
||||
<?php case 'indiScore20':?>
|
||||
L'indiscore évalue le risque de faillite d'entreprise à 12 mois à partir de trois axes: le respect,
|
||||
l'analyse historique des représentants légaux et l'analyse du bilan. Les informations sur l’environnement économique
|
||||
des entreprises (secteurs d'activité, groupe, paiements) complètent l'analyse de l'indiscore. Un indiscore entre 0 et
|
||||
6/20 indiquera un risque élevé, entre 7 et 10/20 un risque moyen et un indiscore compris entre 11 et 20/20
|
||||
un risque faible. Un avis de crédit fournisseur/client est donné, jusqu'à concurrence de 500 K€.
|
||||
<?php break; ?>
|
||||
<?php case 'indiScore':?>
|
||||
L'indiscore évalue le risque de faillite d'entreprise à 12 mois à partir de trois axes: le respect,
|
||||
l'analyse historique des représentants légaux et l'analyse du bilan. Les informations sur l’environnement économique
|
||||
des entreprises (secteurs d'activité, groupe, paiements) complètent l'analyse de l'indiscore. Un indiscore entre 0 et
|
||||
40/100 indiquera un risque élevé, entre 41 et 50/100 un risque moyen et un indiscore compris entre 51 et 100/100
|
||||
un risque faible. Un avis de crédit fournisseur/client est donné, jusqu'à concurrence de 500 K€.
|
||||
<?php break; ?>
|
||||
<?php case 'scoreDir':?>
|
||||
Évaluation de l'équipe dirigeante en place. Système S&D
|
||||
<?php break; ?>
|
||||
<?php case 'scoreConf':?>
|
||||
Évaluation de l'adéquation entre les déclarations et l'information disponible auprès des sources officielles françaises. Système S&D
|
||||
<?php break; ?>
|
||||
<?php case 'scoreZ':?>
|
||||
Le score Z de la Banque de France permet de déceler les défaillances d’entreprises. Ces dernières sont caractérisées
|
||||
par 19 ratios retraçant quatre aspects de leur comportement : structure financière, dynamisme, rentabilité, gestion courante.
|
||||
<?php break; ?>
|
||||
<?php case 'scoreCH':?>
|
||||
Le score CONAN et HOLDER (1979) est une méthode conseillée pour les entreprises industrielles réalisant un chiffre
|
||||
d'affaires de 1,5 à 75 millions d’euros. Il permet un classement des sociétés des plus risquées (score inférieur à
|
||||
6,8) aux plus saines (score supérieur à 16,4).
|
||||
<?php break; ?>
|
||||
<?php case 'scoreAfdcc1':?>
|
||||
1er indicateur synthétique de vulnérabilité établi par l'Association Françaises des Crédits managers et Conseils.
|
||||
<?php break; ?>
|
||||
<?php case 'scoreAfdcc2':?>
|
||||
Le score sectoriel AFDCC2 (1999) s’applique aux sociétés réalisant un chiffre d’affaires de 150.000 à 75 millions
|
||||
d'euros. Il comprend 11 fonctions pour 7 secteurs d'activité en différenciant les TPE des PME. Il s'adresse plus
|
||||
spécialement au Credit Manager, étant axé sur la solvabilité de l'entreprise à court terme.
|
||||
<?php break; ?>
|
||||
<?php case 'scoreAltman':?>
|
||||
Évaluation synthétique permettant la prévision de défaillance d'une entreprise à partir de ratios, liquidité,
|
||||
solvablilité, rentabilité, activité, croissance. Appelé aussi Z Score d'Altman.
|
||||
<?php break; ?>
|
||||
<?php case 'scoreCCF':?>
|
||||
Évaluation à 3 ans de la probabilité de défaillance d'une entreprise.
|
||||
<?php break; ?>
|
||||
<?php }?>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<?php if ( count($this->scores)> 0 ) {?>
|
||||
<div class="paragraph">
|
||||
<table class="tablesorter" id="synthese">
|
||||
<thead>
|
||||
<tr>
|
||||
<th align="center"><?=$this->translate("Date")?></th>
|
||||
<th align="center"><?=$this->types[$this->type]?></th>
|
||||
<th align="center"><?=$this->translate("Encours")?> (K€)</th>
|
||||
<th><?=$this->translate("Motif du changement")?></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php foreach($this->scores as $score) {?>
|
||||
<tr>
|
||||
<td align="center">
|
||||
<?php $date = new Zend_Date($score->date, 'yyyy-MM-dd');?>
|
||||
<?=$date->toString('dd/MM/yyyy')?>
|
||||
</td>
|
||||
<?php
|
||||
$style = '';
|
||||
//Color value - @todo redraw the table and add it before view
|
||||
if ( $score->value < $this->bornes[$this->type]['rouge'] ) {
|
||||
$style = ' style="color:red;"';
|
||||
} elseif ( $score->value < $this->bornes[$this->type]['orange'] ) {
|
||||
$style = ' style="color:orange;"';
|
||||
} else {
|
||||
$style = ' style="color:green;"';
|
||||
}
|
||||
?>
|
||||
<td align="center"<?=$style?>><?=$score->value?></td>
|
||||
<td align="center"><?=number_format($score->encours,2)?></td>
|
||||
<td><?=$score->label?></td>
|
||||
</tr>
|
||||
<?php }?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<script>
|
||||
$(document).ready(function(){
|
||||
$('#synthese').tablesorter({
|
||||
dateFormat: 'uk',
|
||||
headers: {
|
||||
0: {sorter: 'shortDate'},
|
||||
3: {sorter: false},
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<div class="paragraph">
|
||||
<?php if ( $this->graph ) {?>
|
||||
<img src="/file/image/cache/q/<?=$this->graph?>" usemap="#graphMap">
|
||||
<map name="graphMap">
|
||||
<?=$this->graphMap;?>
|
||||
</map>
|
||||
<?php } else {?>
|
||||
<b><?=$this->translate("Impossible de générer le graphique")?></b>
|
||||
<?php }?>
|
||||
</div>
|
||||
|
||||
<?php } else {?>
|
||||
|
||||
<div class="paragraph">
|
||||
<?=$this->translate("Aucune information sur l'historique disponible.")?>
|
||||
</div>
|
||||
|
||||
<?php }?>
|
||||
|
||||
<?=$this->render('cgu.phtml', $this->cgu)?>
|
||||
</div>
|
@ -0,0 +1,58 @@
|
||||
<div id="center">
|
||||
<h1 class="titre">ÉVALUATION</h1>
|
||||
<table>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Numéro identifiant Siren</td>
|
||||
<td width="350" class="StyleInfoData"><?php echo $this->SirenTexte($this->siren);?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Dénomination Sociale</td>
|
||||
<td width="350" class="StyleInfoData"><?php echo $this->raisonSociale?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
</table>
|
||||
|
||||
<h2>Scoring partenaire : Creditsafe®</h2>
|
||||
<table>
|
||||
<tr>
|
||||
<td colspan="3">
|
||||
<table cellspacing="0">
|
||||
<tr>
|
||||
<td width="20"> </td>
|
||||
<td width="10" bgcolor="#bebebe"> </td>
|
||||
<td width="200" bgcolor="#bebebe"><font size="2"><b>Note à ce jour [0 - 100]</b></font></td>
|
||||
<td width="250" bgcolor="#bebebe"><font color="<?php echo $this->fontColor;?>" size="2"><?php echo $this->rating;?></font></td>
|
||||
<td width="100" bgcolor="#bebebe">
|
||||
<?php echo $this->imgFeux?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="20"> </td>
|
||||
<td width="10" bgcolor="#e7e7e7"> </td>
|
||||
<td width="200" bgcolor="#e7e7e7"><font size="2"><b>Limite à ce jour [€]</b></font></td>
|
||||
<td width="350" colspan="2" bgcolor="#e7e7e7"><font size="2"><?php echo $this->strCreditlimit;?></font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="20"> </td>
|
||||
<td width="10" bgcolor="#bebebe"> </td>
|
||||
<td width="200" bgcolor="#bebebe"><font size="2"><b>Informations complémentaires</b></font></td>
|
||||
<td width="350" colspan="2" bgcolor="#bebebe"><font color="<?php echo $this->fontColor;?>" size="2"><?php echo $this->libelle.'<br/>'.$this->ratingdesc1; if (trim($this->ratingdesc2)<>'') echo '<br/>'.$this->ratingdesc2;?></font></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="550" colspan="2" class="StyleInfoData">
|
||||
<form action="<?=$this->url(array('controller'=>'evaluation', 'action'=>'scoringcommande'))?>" method="post">
|
||||
<input type="hidden" name="siren" value="<?=$this->siren?>"/>
|
||||
<input type="checkbox"/>Mettre cette entreprise sous surveillance scoring partenaire
|
||||
<br/>
|
||||
Adresse email du destinataire <input name="email" type="text" value="<?=$this->emailCommande?>" size="20"/>
|
||||
<input class="imgButton" type="image" src="/themes/default/images/boutton_valider_off.gif" name="submit" onmouseover="this.src='/themes/default/images/boutton_valider_on.gif'" onmouseout="this.src='/themes/default/images/boutton_valider_off.gif'" title="Surveiller le score partenaire de cette entreprise...">
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
@ -0,0 +1,11 @@
|
||||
<div id="center">
|
||||
<h1></h1>
|
||||
|
||||
<div class="paragraph">
|
||||
<?=$this->message?>
|
||||
<br/>
|
||||
<a href="<?=$this->url(array('controller'=>'evaluation', 'action'=>'scoring'))?>">Retour</a>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
@ -0,0 +1,23 @@
|
||||
<?php
|
||||
$parametresAction = array(
|
||||
'siret' => $this->siret,
|
||||
'id' => $this->id,
|
||||
'apage' => 'valorisation'
|
||||
);
|
||||
?>
|
||||
<div id="center">
|
||||
|
||||
<h1>VALORISATION</h1>
|
||||
<div class="paragraph">
|
||||
<p id="rsynthese">SOCIÉTÉ : <?=$this->raisonSociale?></p>
|
||||
</div>
|
||||
|
||||
<h1>COMMENTAIRES</h1>
|
||||
<div class="paragraph">
|
||||
<div id="commentaires">
|
||||
<?=$this->comment?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
Loading…
Reference in New Issue
Block a user