本文整理汇总了PHP中invoice::getPaidStatusDisplay方法的典型用法代码示例。如果您正苦于以下问题:PHP invoice::getPaidStatusDisplay方法的具体用法?PHP invoice::getPaidStatusDisplay怎么用?PHP invoice::getPaidStatusDisplay使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类invoice
的用法示例。
在下文中一共展示了invoice::getPaidStatusDisplay方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: gettext
</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>
示例2: gettext
<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>
<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');
示例3: gettext
<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>