Ejemplo n.º 1
0
		</td>
	</tr>
	<tr>
		<td >
		 <font style="font-weight:bold; " ><?php echo gettext("FOR : "); ?></font>  <?php echo $invoice->getUsernames();  ?>

		</td>
		<td>
		<font style="font-weight:bold; " ><?php echo gettext("DATE : "); ?></font>  <?php echo $invoice->getDate();  ?>
		</td>
	</tr>
	<tr>
		<td>
		 <?php if($invoice->getStatusDisplay()==0) $color="color:#5FA631;";
		 	   else $color="color:#EE6564;"    ?>
		 <font style="font-weight:bold;" ><?php echo gettext("STATUS : "); ?></font> <font style="<?php echo $color; ?>" >  <?php echo $invoice->getStatusDisplay($invoice->getStatus());  ?> </font>
		 </td>
	</tr>
	<tr>
		<td colspan="2">
		<?php if($invoice->getPaidStatusDisplay()==0) $color="color:#EE6564;";
		 	   else $color="color:#5FA631;"    ?>
		 <font style="font-weight:bold;" ><?php echo gettext("PAID STATUS : "); ?></font> <font style="<?php echo $color; ?>" > <?php echo $invoice->getPaidStatusDisplay($invoice->getPaidStatus());  ?> </font>

		</td>
	</tr>
	<tr>
		<td colspan="2">
		<br/>
		<font style="font-weight:bold; " ><?php echo gettext("DESCRIPTION : "); ?></font>  <br/> <?php echo $invoice->getDescription();  ?></td>
	</tr>
Ejemplo n.º 2
0
        <td>
         <?php 
if ($invoice->getStatusDisplay() == 0) {
    $color = "color:#5FA631;";
} else {
    $color = "color:#EE6564;";
}
?>
         <font style="font-weight:bold;" ><?php 
echo gettext("STATUS : ");
?>
</font> <font style="<?php 
echo $color;
?>
" >  <?php 
echo $invoice->getStatusDisplay($invoice->getStatus());
?>
 </font>
         </td>
    </tr>
    <tr>
        <td colspan="2">
        <?php 
if ($invoice->getPaidStatusDisplay() == 0) {
    $color = "color:#EE6564;";
} else {
    $color = "color:#5FA631;";
}
?>
         <font style="font-weight:bold;" ><?php 
echo gettext("PAID STATUS : ");