extranet/www/pages/giant/RapportGiantShow.php
Damien LASSERRE 477e8c36af
2011-04-06 13:22:22 +00:00

37 lines
1.8 KiB
PHP

<?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();
$structure->_CompanyIdentitie($config, $configNace['Section_NaceCode']);
?>
<div id="center">
<h1><?php echo SelectTrueLabel($config['Section_rapportTitre'], 'IdentiteDeLentreprise');?></h1>
<table style="margin-left:30px">
<?php
foreach($rapport->Company as $objs => $valeur) {
if ($objs != 'AnnualAccounts' && $objs != 'Bank' && $objs != 'Position' && $objs != 'Associated'&& $objs != 'PaymentBehaviour')
$structure->CompanyIdentitie->_selectFunction($objs, $valeur);
}?>
<?php //echo '<pre>'; print_r($c->PaymentBehaviour);?>
<?php $structure->CompanyIdentitie->_ConstructIdentite();?>
</table>
<h1><?php echo SelectTrueLabel($config['Section_rapportTitre'], 'Dirigeants');?></h1>
<?php $structure->CompanyIdentitie->_selectFunction('Position', $rapport->Company->Position); ?>
<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('PaymentBehaviour', $rapport->Company->PaymentBehaviour); ?>
</div>