当前位置: 首页>>代码示例>>PHP>>正文


PHP AccountLine::getNomUrl方法代码示例

本文整理汇总了PHP中AccountLine::getNomUrl方法的典型用法代码示例。如果您正苦于以下问题:PHP AccountLine::getNomUrl方法的具体用法?PHP AccountLine::getNomUrl怎么用?PHP AccountLine::getNomUrl使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在AccountLine的用法示例。


在下文中一共展示了AccountLine::getNomUrl方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: price

         if (!isset($accounts[$objp->bid])) {
             $accounts[$objp->bid] = 0;
         }
         $accounts[$objp->bid] += 1;
         print "<tr " . $bc[$var] . ">";
         print '<td align="center">' . $i . '</td>';
         print '<td align="center">' . dol_print_date($db->jdate($objp->date), 'day') . '</td>';
         // Date operation
         print '<td align="center">' . ($objp->num_chq ? $objp->num_chq : '&nbsp;') . '</td>';
         print '<td>' . dol_trunc($objp->emetteur, 24) . '</td>';
         print '<td>' . dol_trunc($objp->banque, 24) . '</td>';
         print '<td align="right">' . price($objp->amount) . '</td>';
         print '<td align="center">';
         $accountlinestatic->rowid = $objp->rowid;
         if ($accountlinestatic->rowid) {
             print $accountlinestatic->getNomUrl(1);
         } else {
             print '&nbsp;';
         }
         print '</td>';
         if ($object->statut == 0) {
             print '<td align="right"><a href="' . $_SERVER["PHP_SELF"] . '?id=' . $object->id . '&amp;action=remove&amp;lineid=' . $objp->rowid . '">' . img_delete() . '</a></td>';
         } else {
             print '<td>&nbsp;</td>';
         }
         print '</tr>';
         $var = !$var;
         $i++;
     }
     print "</table>";
 } else {
开发者ID:LionSystemsSolutions,项目名称:El-Canelo-ERP,代码行数:31,代码来源:fiche.php

示例2: price

 print "<tr>";
 print '<td>' . $langs->trans("DatePayment") . '</td><td colspan="3">';
 print dol_print_date($object->datep, 'day');
 print '</td></tr>';
 print '<tr><td>' . $langs->trans("DateValue") . '</td><td colspan="3">';
 print dol_print_date($object->datev, 'day');
 print '</td></tr>';
 print '<tr><td>' . $langs->trans("Amount") . '</td><td colspan="3">' . price($object->amount, 0, $outputlangs, 1, -1, -1, $conf->currency) . '</td></tr>';
 if (!empty($conf->banque->enabled)) {
     if ($object->fk_account > 0) {
         $bankline = new AccountLine($db);
         $bankline->fetch($object->fk_bank);
         print '<tr>';
         print '<td>' . $langs->trans('BankTransactionLine') . '</td>';
         print '<td colspan="3">';
         print $bankline->getNomUrl(1, 0, 'showall');
         print '</td>';
         print '</tr>';
     }
 }
 // Other attributes
 $parameters = array('colspan' => ' colspan="3"');
 $reshook = $hookmanager->executeHooks('formObjectOptions', $parameters, $object, $action);
 // Note that $action and $object may have been modified by hook
 print '</table>';
 dol_fiche_end();
 /*
  * Action buttons
  */
 print '<div class="tabsAction">' . "\n";
 if ($object->rappro == 0) {
开发者ID:TAASA,项目名称:Dolibarr-ERP-3.8.1,代码行数:31,代码来源:card.php

示例3: price

print '</td></tr>';
// Amount
print '<tr><td valign="top">' . $langs->trans('Amount') . '</td><td colspan="3">' . price($object->montant, '', $langs, 0, 0, -1, $conf->currency) . '</td></tr>';
// Note
print '<tr><td valign="top">' . $form->editfieldkey("Note", 'note', $object->note, $object, $user->rights->facture->paiement) . '</td><td colspan="3">';
print $form->editfieldval("Note", 'note', $object->note, $object, $user->rights->facture->paiement, 'textarea');
print '</td></tr>';
// Bank account
if (!empty($conf->banque->enabled)) {
    if ($object->bank_account) {
        $bankline = new AccountLine($db);
        $bankline->fetch($object->bank_line);
        print '<tr>';
        print '<td>' . $langs->trans('BankTransactionLine') . '</td>';
        print '<td colspan="3">';
        print $bankline->getNomUrl(1, 0, 'showconciliated');
        print '</td>';
        print '</tr>';
        print '<tr>';
        print '<td>' . $langs->trans('BankAccount') . '</td>';
        print '<td colspan="3">';
        $accountstatic = new Account($db);
        $accountstatic->id = $bankline->fk_account;
        $accountstatic->label = $bankline->bank_account_ref . ' - ' . $bankline->bank_account_label;
        print $accountstatic->getNomUrl(0);
        print '</td>';
        print '</tr>';
        if ($object->type_code == 'CHQ' && $bankline->fk_bordereau > 0) {
            dol_include_once('/compta/paiement/cheque/class/remisecheque.class.php');
            $bordereau = new RemiseCheque($db);
            $bordereau->fetch($bankline->fk_bordereau);
开发者ID:ADDAdev,项目名称:Dolibarr,代码行数:31,代码来源:card.php


注:本文中的AccountLine::getNomUrl方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。