2011-03-30 14:04:17 +00:00
|
|
|
<?php
|
|
|
|
require_once ('Config/config.php');
|
|
|
|
require_once ('../includes/giant/modulesGiants/Functions.php');
|
|
|
|
require_once ('../includes/giant/modulesGiants/Class/Rapport.Class.php');
|
|
|
|
require_once ('../includes/giant/RapportGiant.php');
|
|
|
|
|
|
|
|
$commande_id = $_GET['OrderId'];
|
|
|
|
abstract class AccountItem { }
|
|
|
|
class AmountAccountItem extends AccountItem { }
|
|
|
|
class AccountItemGroup extends AccountItem { }
|
|
|
|
class AmountType { }
|
|
|
|
$c = $rapport->Company;
|
|
|
|
$structure = new RapportFormat();
|
2011-04-05 14:08:03 +00:00
|
|
|
$structure->_CompanyIdentitie($config, $configNace['Section_NaceCode']);
|
2011-03-30 14:04:17 +00:00
|
|
|
?>
|
|
|
|
<div id="center">
|
2011-04-05 14:08:03 +00:00
|
|
|
<h1><?php echo SelectTrueLabel($config['Section_rapportTitre'], 'IdentiteDeLentreprise');?></h1>
|
|
|
|
<table style="margin-left:30px">
|
|
|
|
<?php
|
2011-04-13 12:48:49 +00:00
|
|
|
echo $number = numberOfCompany($rapport->Company->Branch);
|
2011-04-05 14:08:03 +00:00
|
|
|
foreach($rapport->Company as $objs => $valeur) {
|
2011-04-06 15:35:10 +00:00
|
|
|
if ($objs != 'AnnualAccounts' && $objs != 'Bank'
|
|
|
|
&& $objs != 'Position' && $objs != 'Associated'
|
2011-04-08 15:40:51 +00:00
|
|
|
&& $objs != 'PaymentBehaviour' && $objs != 'CreditRecommendation'
|
2011-04-13 12:48:49 +00:00
|
|
|
&& $objs != 'FinancialSummary' && $objs != 'Event' && $objs != 'PeerGroup'
|
|
|
|
&& $objs != 'Auditor')
|
2011-04-05 14:08:03 +00:00
|
|
|
$structure->CompanyIdentitie->_selectFunction($objs, $valeur);
|
|
|
|
}?>
|
|
|
|
|
|
|
|
<?php $structure->CompanyIdentitie->_ConstructIdentite();?>
|
|
|
|
</table>
|
2011-04-14 14:24:35 +00:00
|
|
|
|
|
|
|
<?php if (isset($rapport->Company->CreditRecommendation)) {?>
|
|
|
|
<h1>
|
|
|
|
<?php echo SelectTrueLabel($config['Section_rapportCreditRecommendation'], 'CreditRecommendation');?>
|
|
|
|
</h1>
|
|
|
|
<?php }?>
|
2011-04-06 15:35:10 +00:00
|
|
|
<?php $structure->CompanyIdentitie->_selectFunction('CreditRecommendation', $rapport->Company->CreditRecommendation); ?>
|
2011-04-14 14:24:35 +00:00
|
|
|
|
|
|
|
<?php if (isset($rapport->Company->Position) or isset($rapport->Company->Auditor)) {?>
|
|
|
|
<h1><?php echo SelectTrueLabel($config['Section_rapportTitre'], 'Dirigeants');?></h1>
|
|
|
|
<?php }?>
|
2011-04-06 13:13:14 +00:00
|
|
|
<?php $structure->CompanyIdentitie->_selectFunction('Position', $rapport->Company->Position); ?>
|
2011-04-13 12:48:49 +00:00
|
|
|
<?php $structure->CompanyIdentitie->_selectFunction('Auditor', $rapport->Company->Auditor); ?>
|
|
|
|
<a name="Branch"></a>
|
|
|
|
<?php $structure->CompanyIdentitie->_selectFunction('BranchShow', $rapport->Company->Branch); ?>
|
2011-04-14 14:24:35 +00:00
|
|
|
<?php if($_GET['type'] == 'Full') { ?>
|
|
|
|
<h1><?php echo SelectTrueLabel($config['Section_rapportTitre'], 'ElementsFinancies');?></h1>
|
|
|
|
<?php $structure->CompanyIdentitie->_selectFunction('AnnualAccounts', $rapport->Company->AnnualAccounts); ?>
|
|
|
|
<?php $structure->CompanyIdentitie->_selectFunction('Bank', $rapport->Company->Bank); ?>
|
|
|
|
<?php $structure->CompanyIdentitie->_selectFunction('Associated', $rapport->Company->Associated); ?>
|
|
|
|
<?php $structure->CompanyIdentitie->_selectFunction('FinancialSummary', $rapport->Company->FinancialSummary); ?>
|
|
|
|
<?php $structure->CompanyIdentitie->_selectFunction('PaymentBehaviour', $rapport->Company->PaymentBehaviour); ?>
|
|
|
|
<?php $structure->CompanyIdentitie->_selectFunction('PeerGroup', $rapport->Company->PeerGroup); ?>
|
|
|
|
<?php $structure->CompanyIdentitie->_selectFunction('Event', $rapport->Company->Event); ?>
|
|
|
|
<?php }?>
|
2011-03-30 14:04:17 +00:00
|
|
|
</div>
|