Création de nouvelle fonctions pour les bilans
This commit is contained in:
parent
d8856e70d8
commit
20a42824fa
@ -248,7 +248,7 @@ class FinanceController extends Zend_Controller_Action
|
|||||||
$nbAnnees = 0;
|
$nbAnnees = 0;
|
||||||
|
|
||||||
//Parcourir les années
|
//Parcourir les années
|
||||||
foreach($data as $item){
|
foreach($data as $item) {
|
||||||
$anneeFin = substr($item->dateCloture,0,4);
|
$anneeFin = substr($item->dateCloture,0,4);
|
||||||
$moisFin = substr($item->dateCloture,4,2);
|
$moisFin = substr($item->dateCloture,4,2);
|
||||||
$jourFin = substr($item->dateCloture,6,2);
|
$jourFin = substr($item->dateCloture,6,2);
|
||||||
@ -258,8 +258,7 @@ class FinanceController extends Zend_Controller_Action
|
|||||||
$moisDebut = substr($dateDebut,4,2);
|
$moisDebut = substr($dateDebut,4,2);
|
||||||
$jourDebut = substr($dateDebut,6,2);
|
$jourDebut = substr($dateDebut,6,2);
|
||||||
//Affectation des abscisses
|
//Affectation des abscisses
|
||||||
if(count($dataBFR['x']) < 5)
|
if(count($dataBFR['x']) < 5) {
|
||||||
{
|
|
||||||
$dataBFR['x'][$i] = $dataFR['x'][$i] = $dataCA['x'][$i] = $dataEBE['x'][$i] = chartTime((int)$anneeDebut, (int)$moisDebut, (int)$jourDebut);
|
$dataBFR['x'][$i] = $dataFR['x'][$i] = $dataCA['x'][$i] = $dataEBE['x'][$i] = chartTime((int)$anneeDebut, (int)$moisDebut, (int)$jourDebut);
|
||||||
$dataBFR['x'][$i+1] = $dataFR['x'][$i+1] = $dataCA['x'][$i+1] = $dataEBE['x'][$i+1] = chartTime((int)$anneeFin, (int)$moisFin, (int)$jourFin);
|
$dataBFR['x'][$i+1] = $dataFR['x'][$i+1] = $dataCA['x'][$i+1] = $dataEBE['x'][$i+1] = chartTime((int)$anneeFin, (int)$moisFin, (int)$jourFin);
|
||||||
}
|
}
|
||||||
@ -453,6 +452,7 @@ class FinanceController extends Zend_Controller_Action
|
|||||||
}
|
}
|
||||||
return ($tb);
|
return ($tb);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* --------------------------------------------------------------------------------------------------- */
|
/* --------------------------------------------------------------------------------------------------- */
|
||||||
/* Gestion des ratios avec les graphiques */
|
/* Gestion des ratios avec les graphiques */
|
||||||
/* ----------------------------------------------------------------------------------------------------*/
|
/* ----------------------------------------------------------------------------------------------------*/
|
||||||
@ -559,7 +559,7 @@ class FinanceController extends Zend_Controller_Action
|
|||||||
$html .= '<td align="center">';
|
$html .= '<td align="center">';
|
||||||
$html .= '<a name="'.$item->libelle.'" class="rTip" rel="'.$this->view->url(array('controller' => 'finance',
|
$html .= '<a name="'.$item->libelle.'" class="rTip" rel="'.$this->view->url(array('controller' => 'finance',
|
||||||
'action' => 'printgraph',
|
'action' => 'printgraph',
|
||||||
'idGraph' => $liste->id.'.png')).'" href="">'.self::compareValeur($element->val, $liste->val, $val).'</a>';
|
'idGraph' => $liste->id.'-'.$this->entreprise->siren.'.png')).'" >'.self::compareValeur($element->val, $liste->val, $val).'</a>';
|
||||||
$html .= '</td>';
|
$html .= '</td>';
|
||||||
$html .= '</tr>';
|
$html .= '</tr>';
|
||||||
}
|
}
|
||||||
@ -675,8 +675,9 @@ class FinanceController extends Zend_Controller_Action
|
|||||||
$labelY = array();
|
$labelY = array();
|
||||||
$dataX1 = array();
|
$dataX1 = array();
|
||||||
$dataX2 = array();
|
$dataX2 = array();
|
||||||
$file = $filename.'.png';
|
$file = $filename.'-'.$this->entreprise->siren.'.png';
|
||||||
|
if(file_exists(APPLICATION_PATH.'/../cache/pages/imgcache/'.$file))
|
||||||
|
$return = '/fichier/imgcache/'.$file;
|
||||||
$dataX1 = self::createAbscisse('RatiosEntrep', $unite, $ratio, $dataX1, $id, $labelX);
|
$dataX1 = self::createAbscisse('RatiosEntrep', $unite, $ratio, $dataX1, $id, $labelX);
|
||||||
$dataX2 = self::createAbscisse('RatiosSecteur', $unite, $ratio, $dataX2, $id);
|
$dataX2 = self::createAbscisse('RatiosSecteur', $unite, $ratio, $dataX2, $id);
|
||||||
$c = new XYChart(350, 250);
|
$c = new XYChart(350, 250);
|
||||||
@ -891,6 +892,7 @@ class FinanceController extends Zend_Controller_Action
|
|||||||
*/
|
*/
|
||||||
public function bourseAction()
|
public function bourseAction()
|
||||||
{
|
{
|
||||||
|
$bourse = $this->ws->getInfosBourse($this->entreprise->siren);
|
||||||
$this->view->assign('bourse', $bourse);
|
$this->view->assign('bourse', $bourse);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2,18 +2,16 @@
|
|||||||
require_once ('ChartDirector/phpchartdir.php');
|
require_once ('ChartDirector/phpchartdir.php');
|
||||||
Class Zend_View_Helper_ActifGraph extends Zend_View_Helper_Abstract
|
Class Zend_View_Helper_ActifGraph extends Zend_View_Helper_Abstract
|
||||||
{
|
{
|
||||||
public function ActifGraph($data, $siren)
|
public function ActifGraph($data, $siren, $url)
|
||||||
{
|
{
|
||||||
$filename = $siren;
|
$filename = $siren;
|
||||||
$file = $filename.'-graph-actif.png';
|
$file = $filename.'-graph-actif.png';
|
||||||
|
|
||||||
if(file_exists(APPLICATION_PATH.'/../cache/pages/imgcache/'.$file))
|
|
||||||
return;
|
|
||||||
$w = 660;
|
$w = 660;
|
||||||
$h = 243;
|
$h = 243;
|
||||||
$x = round($w/2);
|
$x = round($w/2);
|
||||||
$y = round($h/2);
|
$y = round($h/2);
|
||||||
$radius = 90;
|
$radius = 90;
|
||||||
|
$annee = 2008;
|
||||||
$c = new PieChart($w, $h);
|
$c = new PieChart($w, $h);
|
||||||
$labels = array('Immo. incorporelles', 'Immo. corporelles',
|
$labels = array('Immo. incorporelles', 'Immo. corporelles',
|
||||||
'Immo. financières', 'Stock et encours',
|
'Immo. financières', 'Stock et encours',
|
||||||
@ -26,13 +24,14 @@ Class Zend_View_Helper_ActifGraph extends Zend_View_Helper_Abstract
|
|||||||
$t = $c->setLabelStyle();
|
$t = $c->setLabelStyle();
|
||||||
$t->setBackground(SameAsMainColor, Transparent, glassEffect());
|
$t->setBackground(SameAsMainColor, Transparent, glassEffect());
|
||||||
$t->setRoundedCorners(5);
|
$t->setRoundedCorners(5);
|
||||||
# Set the border color of the sector the same color as the fill color. Set the line # color of the join line to black (0x0)
|
|
||||||
$c->setLineColor(SameAsMainColor, 0x000000);
|
$c->setLineColor(SameAsMainColor, 0x000000);
|
||||||
$c->setStartAngle(135);
|
$c->setStartAngle(135);
|
||||||
$c->setLabelFormat("<*block,valign=absmiddle*>{label} <*font=timesbi.ttf,size=0*>({percent|0}%)");
|
$c->setLabelFormat("<*block,valign=absmiddle*>{label} <*font=timesbi.ttf,size=0*>({percent|0}%)");
|
||||||
$c->setData($data, $labels);
|
$c->setData($data, $labels);
|
||||||
$c->set3D(20);
|
$c->set3D(20);
|
||||||
if (!$c->makeChart('../cache/pages/imgcache/'.$file))
|
$chart1URL = $c->makeSession("chart1"); // Gère le cache immédiat de la page ( F5 ).
|
||||||
echo 'Impossible de charger le graphique !';
|
$imageMap = $c->getHTMLImageMap("", "", "name='{label}' title='<b>{label}</b> ".$annee."<br />{value|0} K.Euros' class='detailsgraphique'");
|
||||||
|
echo '<img src="/fichier/imgcache/'.$file.'?'.$chart1URL.'" border="1" usemap="#map1"><map name="map1">'.$imageMap.'</map>';
|
||||||
|
echo '<map name="map1">'.$imageMap.'</map>';
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -29,10 +29,12 @@ Class Zend_View_Helper_LineBilan extends Zend_View_Helper_Abstract
|
|||||||
*/
|
*/
|
||||||
public function GraphLineBilan($data, $name, $date)
|
public function GraphLineBilan($data, $name, $date)
|
||||||
{
|
{
|
||||||
|
$file = $name.'.png';
|
||||||
|
|
||||||
|
if(file_exists(APPLICATION_PATH.'/../cache/pages/imgcache/'.$file))
|
||||||
|
return;
|
||||||
$labelX = $date;
|
$labelX = $date;
|
||||||
$labelY = array();
|
$labelY = array();
|
||||||
$file = $name.'.png';
|
|
||||||
|
|
||||||
$c = new XYChart(350, 250);
|
$c = new XYChart(350, 250);
|
||||||
$c->setPlotArea(55, 10, 280, 200);
|
$c->setPlotArea(55, 10, 280, 200);
|
||||||
$c->yAxis->setTitle('Keuros');
|
$c->yAxis->setTitle('Keuros');
|
||||||
@ -76,22 +78,22 @@ Class Zend_View_Helper_LineBilan extends Zend_View_Helper_Abstract
|
|||||||
return (false);
|
return (false);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function specialSIG($id, $valeur, $partial)
|
public function specialSIG($id, $partial)
|
||||||
{
|
{
|
||||||
if ($id == '101')
|
if ($id == 'r101')
|
||||||
return end(self::Tb($valeur, $partial['r101']['item'])) - self::Tb($valeur, $partial['r101']['item'][key($partial['r101']['item'])]);
|
return self::Tb(end($partial['r101']['item']), end($partial['r101']['item'])) - self::Tb(end($partial['r122']['item']), end($partial['r101']['item']));
|
||||||
else if ($id == '122')
|
else if ($id == 'r122')
|
||||||
return self::Tb($valeur, $partial['r101']['item'][key($partial['r101']['item'])]) - self::Tb($partial['r130']['item'][key($partial['r130']['item'])], $partial['r101']['item'][key($partial['r101']['item'])]);
|
return self::Tb(end($partial['r122']['item']), end($partial['r101']['item'])) - self::Tb(end($partial['r130']['item']), end($partial['r101']['item']));
|
||||||
else if ($id == 'r130')
|
else if ($id == 'r130')
|
||||||
return self::Tb($valeur, $partial['r101']['item'][key($partial['r101']['item'])]) - self::Tb($partial['r140']['item'][key($partial['r140']['item'])], $partial['r101']['item'][key($partial['r101']['item'])]);
|
return self::Tb(end($partial['r130']['item']), end($partial['r101']['item'])) - self::Tb(end($partial['r140']['item']), end($partial['r101']['item']));
|
||||||
else if ($id == 'r140')
|
else if ($id == 'r140')
|
||||||
return self::Tb($valeur, $partial['r101']['item'][key($partial['r101']['item'])]) - self::Tb($partial['r150']['item'][key($partial['r150']['item'])], $partial['r101']['item'][key($partial['r101']['item'])]);
|
return self::Tb(end($partial['r140']['item']), end($partial['r101']['item'])) - self::Tb(end($partial['r150']['item']), end($partial['r101']['item']));
|
||||||
else if ($id == '150')
|
else if ($id == 'r150')
|
||||||
return self::Tb($valeur, $partial['r101']['item'][key($partial['r101']['item'])]) - self::Tb($partial['r170']['item'][key($partial['r170']['item'])], $partial['r101']['item'][key($partial['r101']['item'])]);
|
return self::Tb(end($partial['r150']['item']), end($partial['r101']['item'])) - self::Tb(end($partial['r170']['item']), end($partial['r101']['item']));
|
||||||
else if ($id == 'r170')
|
else if ($id == 'r170')
|
||||||
return self::Tb($valeur, $partial['r101']['item'][key($partial['r101']['item'])]) - self::Tb($partial['r199']['item'][key($partial['r199']['item'])], $partial['r101']['item'][key($partial['r101']['item'])]);
|
return self::Tb(end($partial['r170']['item']), end($partial['r101']['item'])) - self::Tb(end($partial['r199']['item']), end($partial['r101']['item']));
|
||||||
else if ($id == 'r199')
|
else if ($id == 'r199')
|
||||||
return self::Tb($valeur, $partial['r101']['item'][key($partial['r101']['item'])]);
|
return self::Tb(end($partial['r199']['item']), end($partial['r101']['item']));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -105,21 +107,21 @@ Class Zend_View_Helper_LineBilan extends Zend_View_Helper_Abstract
|
|||||||
* @param unknown_type $name
|
* @param unknown_type $name
|
||||||
* @param unknown_type $tb_reference
|
* @param unknown_type $tb_reference
|
||||||
*/
|
*/
|
||||||
public function LineBilan($id, $Graphdate, $partial, $reference, $url, $name, $tb_reference, &$gr)
|
public function LineBilan($id, $Graphdate, $partial, $reference, $url, $name, $tb_reference, $siren, $sig = false)
|
||||||
{
|
{
|
||||||
echo '<tr '.((self::ifIsHead($id))?'class="subhead"':'').'>';
|
echo '<tr '.((self::ifIsHead($id))?'class="subhead"':'').'>';
|
||||||
echo '<td>'.$name.'</td>';
|
echo '<td>'.$name.'</td>';
|
||||||
foreach($partial[$id]['item'] as $element) {
|
foreach($partial[$id]['item'] as $element) {
|
||||||
($element != 'NS')? $GraphLine[] = $number = $element:EOF;
|
if($element != 'NS'){ $GraphLine[] = $number = $element; }else{$number = 0; $GraphLine[] = 0;};
|
||||||
echo '<td>' . (($element != 'NS') ? number_format($element, 0, '', ' ') . ' K€':$element).'</td>';
|
echo '<td align="right">' . (($element != 'NS') ? number_format($element, 0, '', ' ') . ' K€':$element).'</td>';
|
||||||
$gr = self::specialSIG($id, $number, $partial);
|
if($sig)$gr = self::specialSIG($id, $partial);
|
||||||
if(self::createlementForGraphique($id))$gr = $number;
|
if(self::createlementForGraphique($id))$gr = $number;
|
||||||
}
|
}
|
||||||
if($id != 'r22' and $id != 'r101')
|
if($id != 'r22' and $id != 'r101')
|
||||||
echo '<td>' . self::Tb($element, (!$this->sig)?$partial[$tb_reference]['item'][key($partial[$tb_reference]['item'])]:$this->sig) . '</td>';
|
echo '<td align="right">' . self::Tb($element, (!$this->sig)?$partial[$tb_reference]['item'][key($partial[$tb_reference]['item'])]:$this->sig) . '</td>';
|
||||||
else
|
else
|
||||||
echo '<td>'.self::Tb($element, $this->sig = $element).'</td>';
|
echo '<td align="right">'.self::Tb($element, (($this->sig)?$this->sig = $element:$element)).'</td>';
|
||||||
self::GraphLineBilan($GraphLine, $id, $Graphdate);
|
self::GraphLineBilan($GraphLine, $id.'-'.$siren, $Graphdate);
|
||||||
echo '<td>';
|
echo '<td>';
|
||||||
echo '<a name="Actif Immobilisé Net" class="rTip"
|
echo '<a name="Actif Immobilisé Net" class="rTip"
|
||||||
rel="'.$url.'
|
rel="'.$url.'
|
||||||
@ -128,5 +130,6 @@ Class Zend_View_Helper_LineBilan extends Zend_View_Helper_Abstract
|
|||||||
</a>';
|
</a>';
|
||||||
echo '</td>';
|
echo '</td>';
|
||||||
echo '</tr>';
|
echo '</tr>';
|
||||||
|
return ($gr != 0)? $gr : false;
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -2,12 +2,10 @@
|
|||||||
require_once ('ChartDirector/phpchartdir.php');
|
require_once ('ChartDirector/phpchartdir.php');
|
||||||
Class Zend_View_Helper_PassifGraph extends Zend_View_Helper_Abstract
|
Class Zend_View_Helper_PassifGraph extends Zend_View_Helper_Abstract
|
||||||
{
|
{
|
||||||
public function PassifGraph($data, $siren)
|
public function PassifGraph($data, $siren, $url)
|
||||||
{
|
{
|
||||||
$filename = $siren;
|
$filename = $siren;
|
||||||
$file = $filename.'-graph-passif.png';
|
$file = $filename.'-graph-passif.png';
|
||||||
if(file_exists(APPLICATION_PATH.'/../cache/pages/imgcache/'.$file))
|
|
||||||
return;
|
|
||||||
$w = 660;
|
$w = 660;
|
||||||
$h = 243;
|
$h = 243;
|
||||||
$x = round($w/2);
|
$x = round($w/2);
|
||||||
@ -36,7 +34,9 @@ Class Zend_View_Helper_PassifGraph extends Zend_View_Helper_Abstract
|
|||||||
$c->setLabelFormat("<*block,valign=absmiddle*>{label} <*font=timesbi.ttf,size=0*>({percent|0}%)");
|
$c->setLabelFormat("<*block,valign=absmiddle*>{label} <*font=timesbi.ttf,size=0*>({percent|0}%)");
|
||||||
$c->setData($data, $labels);
|
$c->setData($data, $labels);
|
||||||
$c->set3D(20);
|
$c->set3D(20);
|
||||||
if (!$c->makeChart('../cache/pages/imgcache/'.$file))
|
$chart1URL = $c->makeSession("chart1");
|
||||||
echo 'Impossible de charger le graphique !';
|
$imageMap = $c->getHTMLImageMap("", "", "name='{label}' title='<b>{label}</b><br />{value|0} K.Euros' class='detailsgraphique'");
|
||||||
|
echo '<img src="/fichier/imgcache/'.$file.'?'.$chart1URL.'" border="1" usemap="#map2"><map name="map2">'.$imageMap.'</map>';
|
||||||
|
echo '<map name="map2">'.$imageMap.'</map>';
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -2,12 +2,10 @@
|
|||||||
require_once ('ChartDirector/phpchartdir.php');
|
require_once ('ChartDirector/phpchartdir.php');
|
||||||
Class Zend_View_Helper_SigGraph extends Zend_View_Helper_Abstract
|
Class Zend_View_Helper_SigGraph extends Zend_View_Helper_Abstract
|
||||||
{
|
{
|
||||||
public function SigGraph($data, $siren)
|
public function SigGraph($data, $siren, $url)
|
||||||
{
|
{
|
||||||
$filename = $siren;
|
$filename = $siren;
|
||||||
$file = $filename.'-graph-sig.png';
|
$file = $filename.'-graph-sig.png';
|
||||||
if(file_exists(APPLICATION_PATH.'/../cache/pages/imgcache/'.$file))
|
|
||||||
return;
|
|
||||||
$w = 660;
|
$w = 660;
|
||||||
$h = 243;
|
$h = 243;
|
||||||
$x = round($w/2);
|
$x = round($w/2);
|
||||||
@ -34,7 +32,9 @@ Class Zend_View_Helper_SigGraph extends Zend_View_Helper_Abstract
|
|||||||
$c->setLabelFormat("<*block,valign=absmiddle*>{label} <*font=timesbi.ttf,size=0*>({percent|0}%)");
|
$c->setLabelFormat("<*block,valign=absmiddle*>{label} <*font=timesbi.ttf,size=0*>({percent|0}%)");
|
||||||
$c->setData($data, $labels);
|
$c->setData($data, $labels);
|
||||||
$c->set3D(20);
|
$c->set3D(20);
|
||||||
if (!$c->makeChart('../cache/pages/imgcache/'.$file))
|
$chart1URL = $c->makeSession("chart1");
|
||||||
echo 'Impossible de charger le graphique !';
|
$imageMap = $c->getHTMLImageMap("", "", "name='{label}' title='<b>{label}</b><br />{value|0} K.Euros' class='detailsgraphique'");
|
||||||
|
echo '<img src="/fichier/imgcache/'.$file.'?'.$chart1URL.'" border="1" usemap="#map3"><map name="map3">'.$imageMap.'</map>';
|
||||||
|
echo '<map name="map3">'.$imageMap.'</map>';
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -15,11 +15,11 @@
|
|||||||
</thead>
|
</thead>
|
||||||
<?php foreach($this->referenceactif as $id => $valeur):?>
|
<?php foreach($this->referenceactif as $id => $valeur):?>
|
||||||
<?php $gr = false;?>
|
<?php $gr = false;?>
|
||||||
<?php $this->LineBilan($id, $Graphdate, $this->actif, $id, $this->url(array('controller' => 'finance',
|
<?php $gr = $this->LineBilan($id, $Graphdate, $this->actif, $id, $this->url(array('controller' => 'finance',
|
||||||
'action' => 'printgraph',
|
'action' => 'printgraph',
|
||||||
'idGraph' => $id.'.png')), $valeur, 'r22', &$gr); ?>
|
'idGraph' => $id.'-'.$this->siren.'.png')), $valeur, 'r22', $this->siren); ?>
|
||||||
<?php if($gr)$tb[] = $gr?>
|
<?php if($gr)$tb[] = $gr?>
|
||||||
<?php endforeach;?>
|
<?php endforeach;?>
|
||||||
</table>
|
</table>
|
||||||
<?php $this->actifGraph($tb, $this->siren.'-'.$this->typeBilan);?>
|
<?php $this->actifGraph($tb, $this->siren.'-'.$this->typeBilan, $this);?>
|
||||||
<img src="/fichier/imgcache/<?php echo $this->siren.'-'.$this->typeBilan.'-graph-actif.png'?>" />
|
|
||||||
|
@ -5,7 +5,8 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<th>Passif</th>
|
<th>Passif</th>
|
||||||
<?php foreach($this->date as $date):?>
|
<?php foreach($this->date as $date):?>
|
||||||
<th class="date"><?php echo $Graphdate[] = $this->dateFunction->dateT('Ymd', 'd/m/Y', $date);?><br />
|
<th class="date"><?php echo $date = $this->dateFunction->dateT('Ymd', 'd/m/Y', $date);?><br />
|
||||||
|
<?php $Graphdate[] = substr($date, 6, 9);?>
|
||||||
<?php echo $this->duree;?> Mois</th>
|
<?php echo $this->duree;?> Mois</th>
|
||||||
<?php endforeach;?>
|
<?php endforeach;?>
|
||||||
<th>% T.B.</th>
|
<th>% T.B.</th>
|
||||||
@ -13,11 +14,10 @@
|
|||||||
</thead>
|
</thead>
|
||||||
<?php foreach($this->referencepassif as $id => $valeur):?>
|
<?php foreach($this->referencepassif as $id => $valeur):?>
|
||||||
<?php $gr = false;?>
|
<?php $gr = false;?>
|
||||||
<?php $this->LineBilan($id, $Graphdate, $this->passif, $id, $this->url(array('controller' => 'finance',
|
<?php $gr = $this->LineBilan($id, $Graphdate, $this->passif, $id, $this->url(array('controller' => 'finance',
|
||||||
'action' => 'printgraph',
|
'action' => 'printgraph',
|
||||||
'idGraph' => $id.'.png')), $valeur, 'r22', &$gr); ?>
|
'idGraph' => $id.'-'.$this->siren.'.png')), $valeur, 'r22', $this->siren); ?>
|
||||||
<?php if($gr)$tb[] = $gr?>
|
<?php if($gr)$tb[] = $gr?>
|
||||||
<?php endforeach;?>
|
<?php endforeach;?>
|
||||||
</table>
|
</table>
|
||||||
<?php $this->passifGraph($tb, $this->siren.'-'.$this->typeBilan);?>
|
<?php $this->passifGraph($tb, $this->siren.'-'.$this->typeBilan, $this);?>
|
||||||
<img src="/fichier/imgcache/<?php echo $this->siren.'-'.$this->typeBilan.'-graph-passif.png'?>" />
|
|
@ -6,7 +6,8 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<th>SOLDES INTERMEDIAIRES DE GESTION</th>
|
<th>SOLDES INTERMEDIAIRES DE GESTION</th>
|
||||||
<?php foreach($this->date as $date):?>
|
<?php foreach($this->date as $date):?>
|
||||||
<th class="date"><?php echo $Graphdate[] = $this->dateFunction->dateT('Ymd', 'd/m/Y', $date);?><br />
|
<th class="date"><?php echo $date = $this->dateFunction->dateT('Ymd', 'd/m/Y', $date);?><br />
|
||||||
|
<?php $Graphdate[] = substr($date, 6, 9);?>
|
||||||
<?php echo $this->duree;?> Mois</th>
|
<?php echo $this->duree;?> Mois</th>
|
||||||
<?php endforeach;?>
|
<?php endforeach;?>
|
||||||
<th>% C.A.</th>
|
<th>% C.A.</th>
|
||||||
@ -14,11 +15,10 @@
|
|||||||
</thead>
|
</thead>
|
||||||
<?php foreach($this->referencesig as $id => $valeur):?>
|
<?php foreach($this->referencesig as $id => $valeur):?>
|
||||||
<?php $gr = false;?>
|
<?php $gr = false;?>
|
||||||
<?php $this->LineBilan($id, $Graphdate, $this->sig, $id, $this->url(array('controller' => 'finance',
|
<?php $gr = $this->LineBilan($id, $Graphdate, $this->sig, $id, $this->url(array('controller' => 'finance',
|
||||||
'action' => 'printgraph',
|
'action' => 'printgraph',
|
||||||
'idGraph' => $id.'.png')), $valeur, 'r101', &$gr); ?>
|
'idGraph' => $id.'-'.$this->siren.'.png')), $valeur, 'r101', $this->siren, true); ?>
|
||||||
<?php if($gr)$tb[] = $gr?>
|
<?php if($gr)$tb[] = $gr?>
|
||||||
<?php endforeach;?>
|
<?php endforeach;?>
|
||||||
</table>
|
</table>
|
||||||
<?php $this->sigGraph($tb, $this->siren.'-'.$this->typeBilan);?>
|
<?php $this->sigGraph($tb, $this->siren.'-'.$this->typeBilan, $this);?>
|
||||||
<img src="/fichier/imgcache/<?php echo $this->siren.'-'.$this->typeBilan.'-graph-sig.png'?>" />
|
|
@ -1 +1,135 @@
|
|||||||
<?php
|
<div id="center">
|
||||||
|
<div class="paragraph">
|
||||||
|
<h1 class="titre">INFORMATIONS BOURSIÈRES</h1>
|
||||||
|
<table>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td width="30"> </td>
|
||||||
|
<td width="200" class="StyleInfoLib">Numéro identifiant Siren</td>
|
||||||
|
<td width="350" class="StyleInfoData">662 042 449</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td width="30"> </td>
|
||||||
|
<td width="200" class="StyleInfoLib">Raison Sociale</td>
|
||||||
|
<td width="350" class="StyleInfoData">BNP PARIBAS</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td width="30"> </td>
|
||||||
|
<td width="200" class="StyleInfoLib">Code ISIN</td>
|
||||||
|
<td width="350" class="StyleInfoData">FR0000131104 <b>(ancien code Sicovam : </b>013110<b>)</b></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td width="30"> </td>
|
||||||
|
<td width="200" class="StyleInfoLib">Code Mnémo</td>
|
||||||
|
<td width="350" class="StyleInfoData">BNP</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td width="30"> </td>
|
||||||
|
<td width="200" class="StyleInfoLib">Code Bloomberg</td>
|
||||||
|
<td width="350" class="StyleInfoData">BNP FP</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td width="30"> </td>
|
||||||
|
<td width="200" class="StyleInfoLib">Code Datastream</td>
|
||||||
|
<td width="350" class="StyleInfoData">F:BNP</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td width="30"> </td>
|
||||||
|
<td width="200" class="StyleInfoLib">Code Ric</td>
|
||||||
|
<td width="350" class="StyleInfoData">BNPP.PA</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td width="30"> </td>
|
||||||
|
<td width="200" class="StyleInfoLib">Place de cotation</td>
|
||||||
|
<td width="350" class="StyleInfoData">Euronext Paris (France)</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td width="30"> </td>
|
||||||
|
<td width="200" class="StyleInfoLib">Marché</td>
|
||||||
|
<td width="350" class="StyleInfoData">Eurolist compartiment A</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td width="30"> </td>
|
||||||
|
<td width="200" class="StyleInfoLib">Nombre de titres</td>
|
||||||
|
<td width="350" class="StyleInfoData">1 198 153 534 titres</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td width="30"> </td>
|
||||||
|
<td width="200" class="StyleInfoLib">Éligible SRD / PEA</td>
|
||||||
|
<td width="350" class="StyleInfoData">Oui / Oui</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<h2>Coordonnées</h2>
|
||||||
|
<table>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td width="30"> </td>
|
||||||
|
<td width="200" class="StyleInfoLib">Raison Sociale</td>
|
||||||
|
<td width="350" class="StyleInfoData"></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td width="30"> </td>
|
||||||
|
<td width="200" class="StyleInfoLib">Adresse</td>
|
||||||
|
<td width="350" class="StyleInfoData">3 rue d''Antin, 75078 Paris Cedex 02.</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td width="30"> </td>
|
||||||
|
<td width="200" class="StyleInfoLib">Date d'introduction en bourse</td>
|
||||||
|
<td width="350" class="StyleInfoData">0000-00-00</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td width="30"> </td>
|
||||||
|
<td width="200" class="StyleInfoLib">Date dernière assemblée générale</td>
|
||||||
|
<td width="350" class="StyleInfoData"></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td width="30"> </td>
|
||||||
|
<td width="200" class="StyleInfoLib">Téléphone</td>
|
||||||
|
<td width="350" class="StyleInfoData">+33 (0)1 40 14 45 46 01 40 14 63 58</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td width="30"> </td>
|
||||||
|
<td width="200" class="StyleInfoLib">Fax</td>
|
||||||
|
<td width="350" class="StyleInfoData">
|
||||||
|
+33 (0)1 42 98 21 22 01 42 98 21 22 </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td width="30"> </td>
|
||||||
|
<td width="200" class="StyleInfoLib">Site Internet</td>
|
||||||
|
<td width="350" class="StyleInfoData"><a target="_blank" href="http://www.bnpparibas.com">http://www.bnpparibas.com</a></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td width="30"> </td>
|
||||||
|
<td width="200" class="StyleInfoLib">Courriel</td>
|
||||||
|
<td width="350" class="StyleInfoData"><a target="_blank" href="mailto:relations.actionnaires@bnpparibas.com">relations.actionnaires@bnpparibas.com</a></td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<h2>Activité(s)</h2>
|
||||||
|
<table>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td width="30"> </td>
|
||||||
|
<td width="200" class="StyleInfoLib">Activité</td>
|
||||||
|
<td width="350" class="StyleInfoData">Banque</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td width="30"> </td>
|
||||||
|
<td width="200" class="StyleInfoLib">Secteur</td>
|
||||||
|
<td width="350" class="StyleInfoData">Banques</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td width="30"> </td>
|
||||||
|
<td width="550" class="StyleInfoData" colspan="2">BNP Paribas est le 1er groupe bancaire francais. Le produit net bancaire (PNB) par activite se repartit comme suit :- banque de detail (44,7%) : activite de banque de detail en France (32,3% du PNB ; 2 245 agences ; 7,1 millions de clients a fin 2009) et en Italie (16,1% ; environ 2,7 millions de clients avec BNL). Le solde du PNB (51,6%) concerne les activites a l'international (plus de 10,1 millions de clients, dont 5 millions aux Etats-Unis avec BancWest) et les activites de prestations de services financiers specialises (credit a la consommation, credit immobilier, credit-bail, gestion de flottes automobiles, location d'actifs informatiques) ;- banque de financement et d'investissement (30,3%) : activites de conseil et de marches de capitaux (74,5% du PNB ; conseil en fusions-acquisitions, interventions sur les marches actions, de taux, de change, etc.) et de financement (25,5% ; financements d'acquisitions, de projets, du negoce de matieres premieres, etc.) ;- gestion institutionnelle et privee et assurance (25%) : activites de gestion d'actifs, de banque privee (n° 1 francais), de prestations de services immobiliers, de courtage en ligne, d'assurance et de prestations de services titres (n° 1 europeen de la conservation de titres).A fin 2009, BNP Paribas gere 604,9 MdsEUR d'encours de depots et 678,8 MdsEUR d'encours de credits.La repartition geographique du PNB est la suivante : France (34,4%), Europe (42,3%), Ameriques (14,3%), Asie et Oceanie (4,8%) et autres (4,2%).Effectif : 182 459</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<h2>Graphique journalié</h2>
|
||||||
|
<center>
|
||||||
|
<img src="http://cache.graph.boursier.com/Chart.aspx?p=bcomclassic&pla1=&pld1=&qt=area&vt=column&d=560,470&gd=74&g=qv&s1=FR0000077919,FR&xx=2010-05-16" />
|
||||||
|
</center>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- http://cache.graph.boursier.com/Chart.aspx?p=bcomclassic&pla1=&pld1=&qt=area&vt=column&d=560,470&gd=74&g=qv&s1=FR0000077919,FR&xx=2010-05-16
|
||||||
|
http://cache.graph.boursier.com/Chart.aspx?p=bcomclassic&pla1=&pld1=&qt=area&vt=column&d=560,470&gd=74&g=qv&s1=FR0000133308,FR&xx=1 -->
|
@ -1,5 +1,13 @@
|
|||||||
$(document).ready( function()
|
$(document).ready( function()
|
||||||
{
|
{
|
||||||
|
$('area.detailsgraphique').qtip({
|
||||||
|
content: $('area.detailsgraphique').title,
|
||||||
|
style: { name: 'cream', width: 170 },
|
||||||
|
position: {
|
||||||
|
corner: { target: 'bottomMiddle',
|
||||||
|
tooltip: 'topMiddle' } }
|
||||||
|
});
|
||||||
|
|
||||||
$("a.tab").click(function ()
|
$("a.tab").click(function ()
|
||||||
{
|
{
|
||||||
$(".active").removeClass("active");
|
$(".active").removeClass("active");
|
||||||
|
@ -6,11 +6,17 @@
|
|||||||
.bilans td.right {text-align:right;}
|
.bilans td.right {text-align:right;}
|
||||||
.bilans td.center {text-align: center;}
|
.bilans td.center {text-align: center;}
|
||||||
.bilans td.italique {font-style:italic;}
|
.bilans td.italique {font-style:italic;}
|
||||||
.bilans tr.subhead td {font-size:11px;padding:4px; background:#b9c9fe; border: 1px solid #000; font-weight:bold; color:#000;}
|
.bilans tr.subhead td {font-size:10px;padding:4px; background:#b9c9fe; border: 1px solid #000; font-weight:bold; color:#000;}
|
||||||
.bilans tr.darkblue td {padding:4px; background:#00008c; border: 1px solid #000; font-weight:bold; color:#fff;}
|
.bilans tr.darkblue td {padding:4px; background:#00008c; border: 1px solid #000; font-weight:bold; color:#fff;}
|
||||||
|
.bilans tr {font-size:10px};
|
||||||
.entete {margin:1px;}
|
.entete {margin:1px;}
|
||||||
.subentete {margin:2px;}
|
.subentete {margin:2px;}
|
||||||
|
|
||||||
|
#rowGraph:hover
|
||||||
|
{
|
||||||
|
background-color: silver;
|
||||||
|
}
|
||||||
|
|
||||||
#ratios tr.subhead td
|
#ratios tr.subhead td
|
||||||
{
|
{
|
||||||
background: none repeat scroll 0 0 #B9C9FE;
|
background: none repeat scroll 0 0 #B9C9FE;
|
||||||
|
Loading…
Reference in New Issue
Block a user