本文整理汇总了PHP中invoice::getDescription方法的典型用法代码示例。如果您正苦于以下问题:PHP invoice::getDescription方法的具体用法?PHP invoice::getDescription怎么用?PHP invoice::getDescription使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类invoice
的用法示例。
在下文中一共展示了invoice::getDescription方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: gettext
echo gettext("Total incl. VAT:");
?>
</td>
<td class="three"><div class="inctotal"><div class="inctotal inner"><?php
echo number_format(round(amount_convert($price_with_vat) * 100) / 100, 2) . " {$display_curr}";
?>
</div></div></td>
</tr>
</tbody></table>
</td>
</tr>
<tr>
<td colspan="3" class="additional-information">
<div class="invoice-description">
<?php
echo $invoice->getDescription();
?>
</div></td>
</tr>
</tbody>
<tfoot>
<tr>
<td colspan="3" class="footer">
<?php
echo $company_name . " | " . $address . ", " . $zipcode . " " . $city . " " . $country . " | VAT nr." . $vat_invoice;
?>
</td>
</tr>
</tfoot>
</table></div>
示例2: gettext
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>
<th width="10%">
</th>
<th width="35%">
</th>
<th align="right" width="17%">
<font style="font-weight:bold; " >
<?php echo gettext("PRICE EXCL. VAT"); ?>