Example #1
0
		</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>
	
	<tr >
    <td colspan="2">
    	<table width="100%" cellspacing="10">
			<tr>
    <tr>
        <td colspan="2">
        <br/>
        <?php 
if ($invoice->getPaidStatus() == 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>
         &nbsp;&nbsp;<input class="form_input_button" type="button" onClick="changeStatus();" value="<?php 
echo gettext("CHANGE STATUS");
?>
"/>
        </td>
    </tr>
</table>

<?php 
// #### FOOTER SECTION
$smarty->display('footer.tpl');
Example #3
0
         <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>