本文整理汇总了PHP中invoice::getDate方法的典型用法代码示例。如果您正苦于以下问题:PHP invoice::getDate方法的具体用法?PHP invoice::getDate怎么用?PHP invoice::getDate使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类invoice
的用法示例。
在下文中一共展示了invoice::getDate方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: if
<div class="web"><?php echo $web ?></div>
<?php if(!empty($vat_invoice)){ ?>
<div class="vat-number"><?php echo gettext("VAT nr.")." : ".$vat_invoice; ?></div>
<?php } ?>
<pre><div class="comments"><?php echo $comments ?></div></pre>
</div>
</td>
</tr>
<tr class="two">
<td colspan="3" class="invoice-details">
<br/>
<table class="invoice-details">
<tbody><tr>
<td class="one">
<strong><?php echo gettext("Date"); ?></strong>
<div><?php echo $invoice->getDate() ?></div>
</td>
<td class="two">
<strong><?php echo gettext("Invoice number"); ?></strong>
<div><?php echo $invoice->getReference() ?></div>
</td>
<?php if($display_account==1){ ?>
<td class="three">
<strong><?php echo gettext("Client Account Number"); ?></strong>
<div><?php echo $card['username'] ?></div>
</td>
<?php } ?>
</tr>
</tbody></table>
</td>
</tr>
示例2: gettext
</div>
</div>
</td>
</tr>
<tr class="two">
<td colspan="3" class="invoice-details">
<br/>
<table class="invoice-details">
<tbody><tr>
<td class="one">
<strong><?php
echo gettext("Date");
?>
</strong>
<div><?php
echo $invoice->getDate();
?>
</div>
</td>
<td class="two">
<strong><?php
echo gettext("Invoice number");
?>
</strong>
<div><?php
echo $invoice->getReference();
?>
</div>
</td>
<?php
if ($display_account == 1) {
示例3: gettext
<tr class="form_invoice_head">
<td width="75%"><font color="#FFFFFF"><?php echo gettext("INVOICE: "); ?></font><font color="#FFFFFF"><b><?php echo $invoice->getTitle(); ?></b></font></td>
<td width="25%"><font color="#FFFFFF"><?php echo gettext("REF: "); ?> </font><font color="#EE6564"> <?php echo $invoice->getReference(); ?></font></td>
</tr>
<tr>
<td>
</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>