本文整理匯總了PHP中invoice::getReference方法的典型用法代碼示例。如果您正苦於以下問題:PHP invoice::getReference方法的具體用法?PHP invoice::getReference怎麽用?PHP invoice::getReference使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類invoice
的用法示例。
在下文中一共展示了invoice::getReference方法的3個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: gettext
<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>
</thead>
<tbody>
<td colspan="3" class="items">
<table class="items">
示例2: gettext
<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>
示例3: invoice
$invoice = new invoice($id);
$table_card = new Table("cc_card","vat");
$result_vat = $table_card->Get_list(DbConnect(),"id=".$invoice->getCard());
$card_vat = $result_vat[0][0];
$items = $invoice->loadItems();
$smarty->display('main.tpl');
?>
<table class="invoice_table" >
<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>