58 lines
2.7 KiB
PHP
58 lines
2.7 KiB
PHP
|
<h2><?php echo SelectTrueLabel($this->labelConfig['Section_rapportPaymentBehaviour'], 'PaymentBehaviour');?></h2>
|
||
|
<table class="PaymentBehaviourGiant" width="100%">
|
||
|
<?php if(isset($PaymentBehaviour->LiquidityAssessment) or $PaymentBehaviour->PaymentQualification){ ?>
|
||
|
<?php foreach($PaymentBehaviour as $champ => $valeur) {?>
|
||
|
<?php if (isset($PaymentBehaviour->$champ->Qualification)) {?>
|
||
|
<tr>
|
||
|
<td><b><?php echo SelectTrueLabel($this->labelConfig['Section_rapportPaymentBehaviour'], $champ);?></b></td>
|
||
|
<td><?php echo $PaymentBehaviour->$champ->Qualification;?></td>
|
||
|
</tr>
|
||
|
<?php }?>
|
||
|
<?php }?>
|
||
|
<?php }?>
|
||
|
</table>
|
||
|
<br /><br />
|
||
|
<table class="PaymentBehaviourGiant" width="100%">
|
||
|
<?php if (isset($PaymentBehaviour->AnalysisByPeriod)) {?>
|
||
|
<tr>
|
||
|
<td id="titre" colspan="2"><?php echo SelectTrueLabel($this->labelConfig['Section_rapportPaymentBehaviour'], 'AnalysisByPeriod')?></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<?php foreach($PaymentBehaviour->AnalysisByPeriod->Category[0] as $champ => $donnees) {?>
|
||
|
<?php if ($champ == 'Period'){?>
|
||
|
<td><b><?php echo SelectTrueLabel($this->labelConfig['Section_rapportPaymentBehaviour'], $champ)?></b></td>
|
||
|
<?php } elseif($champ == 'PercentageWithinTerms') {?>
|
||
|
<td><b><?php echo SelectTrueLabel($this->labelConfig['Section_rapportPaymentBehaviour'], $champ)?></b></td>
|
||
|
<?php } elseif($champ == 'DueDateExceeds') {?>
|
||
|
<?php foreach($donnees as $DueDateExceeds) {?>
|
||
|
<td><b>
|
||
|
<?php echo $DueDateExceeds->NrOfDaysExceeds->LowerLimit->_;?></b>
|
||
|
<?php echo SelectTrueLabel($this->labelConfig['Section_rapportPaymentBehaviour'], 'to');?>
|
||
|
<b><?php echo $DueDateExceeds->NrOfDaysExceeds->UpperLimit->_;?>
|
||
|
</b></td>
|
||
|
<?php }?>
|
||
|
<?php }?>
|
||
|
<?php }?>
|
||
|
</tr>
|
||
|
<?php foreach($PaymentBehaviour->AnalysisByPeriod->Category as $categorie) {?>
|
||
|
<tr> <?php foreach($categorie as $champ => $donnees) {?>
|
||
|
<?php if ($champ == 'Period'){?>
|
||
|
<td width="15%"><?php echo $donnees->StartDate->_ . ' - '.$donnees->EndDate->_;?></td>
|
||
|
<?php } elseif($champ == 'PercentageWithinTerms') {?>
|
||
|
<td align="center" width="27%"><?php echo $donnees;?> %</td>
|
||
|
<?php } elseif($champ == 'DueDateExceeds') {?>
|
||
|
<?php foreach($donnees as $DueDateExceeds) {?>
|
||
|
<td><?php echo $DueDateExceeds->Percentage;?> %</b>
|
||
|
<?php }?>
|
||
|
<?php }?>
|
||
|
<?php }?>
|
||
|
</tr>
|
||
|
<?php }?>
|
||
|
<?php }?>
|
||
|
</table>
|
||
|
<table class="PaymentBehaviourGiant" width="100%">
|
||
|
<?php if (isset($PaymentBehaviour->AnalysisByPeriod)) {?>
|
||
|
<tr>
|
||
|
<td id="titre" colspan="2"><?php echo SelectTrueLabel($this->labelConfig['Section_rapportPaymentBehaviour'], 'AnalysisByPeriod')?></td>
|
||
|
</tr>
|
||
|
</table>
|