本文整理匯總了PHP中Facture::getNomURl方法的典型用法代碼示例。如果您正苦於以下問題:PHP Facture::getNomURl方法的具體用法?PHP Facture::getNomURl怎麽用?PHP Facture::getNomURl使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類Facture
的用法示例。
在下文中一共展示了Facture::getNomURl方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: while
print '<td width="50"> </td>';
print '</tr>';
$var = true;
$i = 0;
$num = $db->num_rows($resql);
while ($i < $num) {
$obj = $db->fetch_object($resql);
$var = !$var;
print "<tr " . $bc[$var] . ">";
print '<td>' . dol_print_date($db->jdate($obj->dc), 'dayhour') . '</td>';
if ($obj->description == '(CREDIT_NOTE)') {
print '<td class="nowrap">';
$facturestatic->id = $obj->fk_facture_source;
$facturestatic->ref = $obj->ref;
$facturestatic->type = $obj->type;
print $langs->trans("CreditNote") . ' ' . $facturestatic->getNomURl(1);
print '</td>';
} elseif ($obj->description == '(DEPOSIT)') {
print '<td class="nowrap">';
$facturestatic->id = $obj->fk_facture_source;
$facturestatic->ref = $obj->ref;
$facturestatic->type = $obj->type;
print $langs->trans("InvoiceDeposit") . ' ' . $facturestatic->getNomURl(1);
print '</td>';
} else {
print '<td>';
print $obj->description;
print '</td>';
}
print '<td class="nowrap">' . $langs->trans("NotConsumed") . '</td>';
print '<td align="right">' . price($obj->amount_ht) . '</td>';