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


PHP Societe::getLibStatut方法代码示例

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


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

示例1:

                print $thirdparty_static->getNomUrl(0, 'prospect', 0, 1);
            }
            if (!empty($conf->fournisseur->enabled) && $thirdparty_static->fournisseur) {
                if ($thirdparty_static->client) {
                    print " / ";
                }
                $thirdparty_static->name = $langs->trans("Supplier");
                print $thirdparty_static->getNomUrl(0, 'supplier', 0, 1);
            }
            print '</td>';
            // Last modified date
            print '<td align="right">';
            print dol_print_date($thirdparty_static->datem, 'day');
            print "</td>";
            print '<td align="right" class="nowrap">';
            print $thirdparty_static->getLibStatut(3);
            print "</td>";
            print "</tr>\n";
            $i++;
        }
        $db->free();
        print "</table>\n";
        print "<!-- End last thirdparties modified -->\n";
    }
} else {
    dol_print_error($db);
}
//print '</td></tr></table>';
print '</div></div></div>';
llxFooter();
$db->close();
开发者ID:Samara94,项目名称:dolibarr,代码行数:31,代码来源:index.php

示例2: while

    print '</td>';
    print '<td class="liste_titre" align="right"><input class="liste_titre" type="image" src="' . DOL_URL_ROOT . '/theme/' . $conf->theme . '/img/search.png" value="' . dol_escape_htmltag($langs->trans("Search")) . '" title="' . dol_escape_htmltag($langs->trans("Search")) . '"></td>';
    print '</tr>';
    $var = True;
    while ($i < min($num, $conf->liste_limit)) {
        $obj = $db->fetch_object($resql);
        $var = !$var;
        $thirdpartystatic->id = $obj->socid;
        $thirdpartystatic->nom = $obj->nom;
        $thirdpartystatic->status = $obj->status;
        print "<tr " . $bc[$var] . ">";
        print '<td>';
        print $thirdpartystatic->getNomUrl(1, 'supplier');
        print "</td>\n";
        print "<td>" . $obj->ville . "</td>\n";
        print '<td align="left">' . $obj->code_fournisseur . '&nbsp;</td>';
        print '<td align="left">' . $obj->code_compta_fournisseur . '&nbsp;</td>';
        print '<td align="right">';
        print dol_print_date($db->jdate($obj->datec), 'day') . '</td>';
        print '<td align="right">' . $thirdpartystatic->getLibStatut(3) . '</td>';
        print "</tr>\n";
        $i++;
    }
    print "</table>\n";
    print "</form>\n";
    $db->free($resql);
} else {
    dol_print_error($db);
}
$db->close();
llxFooter();
开发者ID:nrjacker4,项目名称:crm-php,代码行数:31,代码来源:liste.php

示例3: array

        print $hookmanager->resPrint;
        // Date creation
        if (!empty($arrayfields['s.datec']['checked'])) {
            print '<td align="center" class="nowrap">';
            print dol_print_date($db->jdate($obj->date_creation), 'dayhour');
            print '</td>';
        }
        // Date modification
        if (!empty($arrayfields['s.tms']['checked'])) {
            print '<td align="center" class="nowrap">';
            print dol_print_date($db->jdate($obj->date_update), 'dayhour');
            print '</td>';
        }
        // Status
        if (!empty($arrayfields['s.status']['checked'])) {
            print '<td align="center" class="nowrap">' . $companystatic->getLibStatut(3) . '</td>';
        }
        // Action column
        print '<td></td>';
        print '</tr>' . "\n";
        $i++;
    }
    $db->free($resql);
    $parameters = array('arrayfields' => $arrayfields, 'sql' => $sql);
    $reshook = $hookmanager->executeHooks('printFieldListFooter', $parameters);
    // Note that $action and $object may have been modified by hook
    print $hookmanager->resPrint;
    print "</table>";
    print '</form>';
} else {
    dol_print_error($db);
开发者ID:Albertopf,项目名称:prueba,代码行数:31,代码来源:list.php

示例4: array

        $thirdpartystatic->code_client = $obj->code_client;
        $thirdpartystatic->canvas = $obj->canvas;
        $thirdpartystatic->status = $obj->status;
        $thirdpartystatic->name_alias = $obj->name_alias;
        print $thirdpartystatic->getNomUrl(1);
        print '</td>';
        print '<td>' . $obj->zip . '</td>';
        print '<td>' . $obj->town . '</td>';
        print '<td>' . $obj->code_client . '</td>';
        print '<td>' . $obj->code_compta . '</td>';
        print '<td align="right">' . dol_print_date($db->jdate($obj->datec), 'day') . '</td>';
        $parameters = array('obj' => $obj);
        $reshook = $hookmanager->executeHooks('printFieldListValue', $parameters);
        // Note that $action and $object may have been modified by hook
        print $hookmanager->resPrint;
        print '<td align="center">' . $thirdpartystatic->getLibStatut(3);
        print '</td>';
        print '<td></td>';
        print "</tr>\n";
        $i++;
    }
    $db->free($result);
    $parameters = array('sql' => $sql);
    $reshook = $hookmanager->executeHooks('printFieldListFooter', $parameters);
    // Note that $action and $object may have been modified by hook
    print $hookmanager->resPrint;
    print "</table>\n";
    print "</form>\n";
} else {
    dol_print_error($db);
}
开发者ID:TAASA,项目名称:Dolibarr-ERP-3.8.1,代码行数:31,代码来源:list.php


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