Amélioration pour impression

This commit is contained in:
Michael RICOIS 2011-09-13 09:19:23 +00:00
parent 4b8666adc3
commit a27e9b6b92
2 changed files with 17 additions and 3 deletions

View File

@ -107,7 +107,10 @@
<?php foreach ($this->ancres as $id => $name):?>
<div id="content_<?=$id?>" class="content">
<?php if($this->champType == 'S'):?>
<div style="page-break-after: always;">
<?php echo $this->partial('finance/liassesPartials/simplifie/'.$id.'.partial.phtml', array(
'liasse' => $this->liasse,
'dateCloture' => $this->dateFunction->dateT('Ymd', 'd/m/Y', $this->dateCloture),
@ -117,8 +120,11 @@
'unite'=> $this->unite,
));?>
<br />
<?php endif;?>
<?php if($this->champType == 'N' or $this->champType == 'C'):?>
</div>
<?php elseif($this->champType == 'N' || $this->champType == 'C'):?>
<div style="page-break-after: always;">
<?php echo $this->partial('finance/liassesPartials/'.$id.'.partial.phtml', array(
'liasse' => $this->liasse,
'dateCloture' => $this->dateFunction->dateT('Ymd', 'd/m/Y', $this->dateCloture),
@ -128,7 +134,10 @@
'unite'=> $this->unite,
));?>
<br />
</div>
<?php elseif ($this->champType == 'B'):?>
<?php echo $this->partial('finance/liassesPartials/banque/'.$id.'.partial.phtml', array(
'liasse' => $this->liasse,
'dateCloture' => $this->dateFunction->dateT('Ymd', 'd/m/Y', $this->dateCloture),
@ -138,7 +147,9 @@
'unite'=> $this->unite,
));?>
<br />
<?php elseif ($this->champType == 'A'):?>
<?php echo $this->partial('finance/liassesPartials/assurance/'.$id.'.partial.phtml', array(
'liasse' => $this->liasse,
'dateCloture' => $this->dateFunction->dateT('Ymd', 'd/m/Y', $this->dateCloture),
@ -148,7 +159,9 @@
'unite'=> $this->unite,
));?>
<br />
<?php endif;?>
</div>
<?php endforeach;?>
<?php endif;?>

View File

@ -143,6 +143,7 @@
border:1px solid #FFFFFF;
background-color:#636d76;
padding:8px;
display:none;
}
ul.tabs {
margin:0px; padding:0px;