本文整理匯總了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"); ?>