issue #0001719: config params to giant.ini

This commit is contained in:
Arman KYOKCHAN 2013-09-18 12:49:04 +00:00
parent 37ddd531d0
commit b74dee239a
8 changed files with 37 additions and 34 deletions

View File

@ -1,7 +1,7 @@
<div class="paragraph">
<?php if(isset($this->report->PaymentBehaviour)):?>
<?php if(isset($this->report->ComportementPaiement)):?>
<span style="font-size:16px;color:#00008C;font-weight:800">Analyse par année</span><br /><br />
<span class="title">Analyse par année</span><br /><br />
<table style="font-size:13px;margin-left: 19px;" width="97%" class="hoverTr">
<?php foreach($this->report->ComportementPaiement as $dates => $valeurs):?>
<?php $date = explode(':', $dates);?>
@ -27,13 +27,13 @@
</table>
<br />
<center>
<span style="font-size:16px;color:#00008C;font-weight:800">Graphique Analyse par année</span><br /><br />
<span class="title">Graphique Analyse par année</span><br /><br />
<img src="/fichier/imgcache/<?php echo $this->report->CompanyId.'-'.$this->Type.'-';?>ComportementPaiement.png" />
</center>
<br />
<?php endif;?>
<a name="13"></a>
<span style="text-decoration:underline;font-size:16px;color:#00008C;font-weight:800">Qualification de paiement</span><br /><br />
<span class="title">Qualification de paiement</span><br /><br />
<table style="font-size:13px;margin-left: 19px;" width="97%" class="hoverTr">
<tr>
<td style="padding:5px;font-size:12px;"><b>PaymentQualification</b></td>
@ -60,7 +60,7 @@
<br />
<a name="14"></a>
<span style="font-size:16px;color:#00008C;font-weight:800">Analyse par sommes</span><br /><br />
<span class="title">Analyse par sommes</span><br /><br />
<?php if(isset($this->report->ByAmount)):?>
<table style="font-size:13px;margin-left: 19px;" width="97%" class="hoverTr">
<?php foreach($this->report->ByAmount as $sommes => $valeurs):?>
@ -88,7 +88,7 @@
<br />
<center>
<a name="15"></a>
<span style="font-size:16px;color:#00008C;font-weight:800">Graphique Analyse par année</span><br />
<span class="title">Graphique Analyse par année</span><br />
<img src="/fichier/imgcache/<?php echo $this->report->CompanyId.'-'.$this->Type.'-';?>ComportementPaiementByAmount.png" />
</center>
<?php else: ?>

View File

@ -1,21 +1,26 @@
<div class="paragraph">
<a name="19"></a>
<span style="font-size:16px;color:#00008C;font-weight:800">Dirigeants</span><br /><br />
<span class="title">Dirigeants</span><br /><br />
<?php if(isset($this->report->Dirigeant)):?>
<table style="font-size:13px;margin-left: 19px;" width="97%" class="hoverTr">
<?php foreach($this->report->Dirigeant as $Dirigeants):?>
<?php foreach($Dirigeants as $date => $Dirigeant):?>
<?php $date = explode(':', $date); ?>
<tr>
<td style="padding:2px;color:#00008C"><br /><br /><b><?php echo ($date[0]!='//')?$date[0]:'NC';?></b></td>
<td style="padding:2px;color:#2599E7"><b><?php echo ($date[0]!='//')?$date[0]:'NC';?></b></td>
</tr>
<?php $i=0;?>
<?php foreach($Dirigeant as $dir):$i++;?>
<tr>
<td <?php echo (($i%2)==0)?'class="colorTr"':EOF?> style="font-size:12px;padding:5px;"><?php echo $dir->FirstName.' '.$dir->LastName.' <b>Né(e) le:</b> '.((!empty($dir->DateOfBirth->_))?$this->dateFunction->dateT('Ymd', 'd/m/Y', $dir->DateOfBirth->_):'NC').' <b>Domicilié(e) à :</b>'.
(($dir->PersonalAddress->HouseNumber!=0)?$dir->PersonalAddress->HouseNumber:'').' '.$dir->PersonalAddress->Street.' '.(($dir->PersonalAddress->PostCode!=0)?$dir->PersonalAddress->PostCode:'NC').' '.$dir->PersonalAddress->City;?></td>
<td class="colorTr" style="font-size:12px;padding:5px;">
<?php echo $dir->FirstName.' '.$dir->LastName.'
<br /><b>Né(e) le:</b> '.((!empty($dir->DateOfBirth->_))?$this->dateFunction->dateT('Ymd', 'd/m/Y', $dir->DateOfBirth->_):'NC').
' <br /><b>Domicilié(e) à :</b>'.(($dir->PersonalAddress->HouseNumber!=0)?$dir->PersonalAddress->HouseNumber:'').
' '.$dir->PersonalAddress->Street.
' '.(($dir->PersonalAddress->PostCode!=0)?$dir->PersonalAddress->PostCode:'NC').
' '.$dir->PersonalAddress->City;?></td>
</tr>
<tr><td><hr style="border:1px dotted silver"></td></tr>
<?php endforeach;?>
<?php endforeach;?>
<?php endforeach;?>

View File

@ -2,7 +2,7 @@
<a name="21"></a>
<?php if(isset($this->report->Event)):?>
<?php foreach($this->report->Event as $name => $Events):?>
<span style="font-size:15px;color:#00008C;font-weight:800"><?php echo $name;?></span><br /><br />
<span class="title"><?php echo $name;?></span><br /><br />
<form method="POST">
<select name="Date" style="float:right" onchange="submit()">
<option value="all">Date</option>

View File

@ -2,7 +2,7 @@
<?php if(isset($this->report)) :?>
<div>
<a name="1"></a>
<span style="font-size:16px;color:#00008C;font-weight:800">Données officielles</span><br /><br />
<span class="title">Données officielles</span><br /><br />
<ul style="font-size:13px;margin-left:3%;list-style: none">
<li><b>Nom d'entreprise </b> <span style="float:right"><?php echo $this->report->CompanyName?></span></li>
<hr style="border:1px dotted silver" />
@ -19,7 +19,7 @@
</ul>
<br />
<a name="2"></a>
<span style="font-size:16px;color:#00008C;font-weight:800">Données de contact</span><br /><br />
<span class="title">Données de contact</span><br /><br />
<ul style="font-size:13px;margin-left:3%;list-style: none">
<li><b>Numéro de téléphone </b> <span style="float:right"><?php echo $this->report->TelephoneNumber?></span></li>
<hr style="border:1px dotted silver" />
@ -36,7 +36,7 @@
<br />
<a name="3"></a>
<?php if(!empty($this->report->activity)):?>
<span style="font-size:16px;color:#00008C;font-weight:800">Activités</span><br /><br />
<span class="title">Activités</span><br /><br />
<table style="margin-left: 19px;" width="97%">
<tr>
<td style="font-size:13px;"><b>Code</b></td>
@ -73,7 +73,7 @@
<br />
<?php if(!empty($this->report->Employees)):?>
<a name="4"></a>
<span style="font-size:16px;color:#00008C;font-weight:800">Personnel</span><br /><br />
<span class="title">Personnel</span><br /><br />
<table style="font-size:13px;margin-left: 19px;" width="97%">
<tr>
<td><b>Année</b></td>
@ -82,7 +82,7 @@
</tr>
<?php foreach($this->report->Employees as $year => $employees): ?>
<tr>
<td><?php echo $this->dateFunction->dateT('Ymd', 'd/m/Y', $year);?></td>
<td><?php if(strlen($year)==4)echo $year; else echo $this->dateFunction->dateT('Ymd', 'd/m/Y', $year);?></td>
<td><?php echo $employees['TotalStaffEmployed'];?> </td>
<td><?php echo $employees['FulltimeEquivalent'];?> </td>
</tr>
@ -95,7 +95,7 @@
<br />
<?php if(!empty($this->report->ProductName)):?>
<a name="5"></a>
<span style="font-size:16px;color:#00008C;font-weight:800">Noms de produit</span><br /><br />
<span class="title">Noms de produit</span><br /><br />
<table style="margin-left: 19px;" width="97%">
<tr>
<td style="font-size:13px;"><b>Source</b></td>

View File

@ -1,7 +1,7 @@
<div class="paragraph">
<?php if(isset($this->report->FinancialSummary)):?>
<a name="11"></a>
<span style="font-size:16px;color:#00008C;font-weight:800">Informations Capital</span><br />
<span class="title">Informations Capital</span><br />
<?php if(isset($this->report->PositionFinanciere)):?>
<table style="font-size:13px;margin-left: 19px;" width="97%" class="hoverTr">
<tr>
@ -38,7 +38,7 @@
<span style="font-size:15px;color:#00008C;font-weight:800">Evolution du capital</span><br /><br />
<img src="/fichier/imgcache/<?php echo $this->report->CompanyId.'-'.$this->Type.'-';?>positionFinanciere.png" />
</center>
<span style="font-size:16px;color:#00008C;font-weight:800">Relation banquaires</span><br /><br />
<span class="title">Relation banquaires</span><br /><br />
<?php if(isset($this->report->Bank)):?>
<table style="font-size:13px;margin-left: 19px;" width="97%" class="hoverTr">
<tr>

View File

@ -1,9 +1,9 @@
<div class="paragraph">
<?php if(isset($this->report->Associated)):?>
<a name="16"></a>
<span style="font-size:16px;color:#00008C;font-weight:800">Actionnaires</span><br /><br />
<span class="title">Actionnaires</span><br /><br />
<?php if(isset($this->report->Shareholder)):?>
<table style="font-size:12px;margin-left: 19px;" width="97%" class="hoverTr">
<table style="font-size:12px;margin-left: 19px; text-align: center;" width="97%" class="hoverTr">
<tr style="font-weight:800">
<td>Identifiant</td>
<td>Nom société</td>
@ -11,7 +11,7 @@
<td>IsPrincipalStakeHolder</td>
</tr>
<tr>
<td colspan="4"><hr style="border:1px dotted silver" /></td>
<td colspan="4"></td>
</tr>
<?php $i=0; foreach($this->report->Shareholder as $Shareholder):$i++;?>
<tr class="<?php echo ($i % 2)?'colorTr':EOF;?>">
@ -21,7 +21,7 @@
<td style="padding:5px;font-size:12px;"><?php echo (($Shareholder>IsPrincipalStakeHolder == 1)?'Oui':'Non');?></td>
</tr>
<tr>
<td colspan="4"><hr style="border:1px dotted silver" /></td>
</tr>
<?php endforeach;?>
</table>
@ -34,7 +34,7 @@
<?php endif;?>
<br />
<a name="17"></a>
<span style="font-size:16px;color:#00008C;font-weight:800">Participations</span><br /><br />
<span class="title">Participations</span><br /><br />
<?php if(isset($this->report->Participation)):?>
<table style="font-size:12px;margin-left: 19px;" width="97%" class="hoverTr">
<tr style="font-weight:800">
@ -43,7 +43,7 @@
<td>Pourcentage d'actions</td>
</tr>
<tr>
<td colspan="3"><hr style="border:1px dotted silver" /></td>
<td colspan="3"></td>
</tr>
<?php $i=0;foreach($this->report->Participation as $Participation):$i++;?>
<tr class="<?php echo ($i % 2)?'colorTr':EOF;?>">
@ -52,7 +52,7 @@
<td style="padding:5px;font-size:12px;"><?php echo (!empty($Participation->Shares->Percentage))?$Participation->Shares->Percentage.'%':'NC';?> </td>
</tr>
<tr>
<td colspan="3"><hr style="border:1px dotted silver" /></td>
<td colspan="3"></td>
</tr>
<?php endforeach;?>
</table>
@ -65,7 +65,7 @@
<?php endif;?>
<br />
<a name="18"></a>
<span style="font-size:16px;color:#00008C;font-weight:800">Etablissements</span><br /><br />
<span class="title">Etablissements</span><br /><br />
<?php if(isset($this->report->Branch)):?>
<table style="font-size:12px;margin-left: 19px;" width="97%" class="hoverTr">
<tr style="font-weight:800">
@ -74,7 +74,7 @@
<td>Adresse</td>
</tr>
<tr>
<td colspan="3"><hr style="border:1px dotted silver" /></td>
<td colspan="3"></td>
</tr>
<?php $i=0;foreach($this->report->Branch as $Branch):$i++;?>
<tr class="<?php echo ($i % 2)?'colorTr':EOF;?>">
@ -86,7 +86,7 @@
$Branch->BranchAddress[0]->City:'-')?></td>
</tr>
<tr>
<td colspan="3"><hr style="border:1px dotted silver" /></td>
<td colspan="3"></td>
</tr>
<?php endforeach;?>
</table>

View File

@ -33,7 +33,6 @@ class WSgiant extends Zend_Soap_Client
'compression' => SOAP_COMPRESSION_ACCEPT
);
$this->setOptions($options);
print_r($options);
$giantHeader = new stdClass();
$giantHeader->ConsumerId = $this->wsService->header->ConsumerId;
$giantHeader->CustomerId = $utilisateur->getLogin();
@ -60,7 +59,6 @@ class WSgiant extends Zend_Soap_Client
{
$wsdl = 'wsdl'.$this->TestIndication;
$this->setWsdl($this->wsService->$service->$wsdl);
print_r($this->wsService->$service->$wsdl);
return ($this);
}
}

View File

@ -16,9 +16,9 @@
font-size: 13px;
}
.compteAnnuels .title {
.title {
font-size: 16px;
color: #00008C;
color: #2599E7;
font-weight: 800;
}
@ -60,7 +60,7 @@
#ComparisonValeurs span {
font-size: 16px;
color: #00008C;
color: #2599E7;
font-weight: 800;
}