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


PHP CommandeFournisseur::load_board方法代码示例

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


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

示例1: ActionComm

if (!empty($conf->agenda->enabled) && $user->rights->agenda->myactions->read) {
    include_once DOL_DOCUMENT_ROOT . '/comm/action/class/actioncomm.class.php';
    $board = new ActionComm($db);
    $dashboardlines[] = $board->load_board($user);
}
// Number of customer orders a deal
if (!empty($conf->commande->enabled) && $user->rights->commande->lire) {
    include_once DOL_DOCUMENT_ROOT . '/commande/class/commande.class.php';
    $board = new Commande($db);
    $dashboardlines[] = $board->load_board($user);
}
// Number of suppliers orders a deal
if (!empty($conf->fournisseur->enabled) && $user->rights->fournisseur->commande->lire) {
    include_once DOL_DOCUMENT_ROOT . '/fourn/class/fournisseur.commande.class.php';
    $board = new CommandeFournisseur($db);
    $dashboardlines[] = $board->load_board($user);
}
// Number of commercial proposals opened (expired)
if (!empty($conf->propal->enabled) && $user->rights->propale->lire) {
    include_once DOL_DOCUMENT_ROOT . '/comm/propal/class/propal.class.php';
    $board = new Propal($db);
    $dashboardlines[] = $board->load_board($user, "opened");
    // Number of commercial proposals CLOSED signed (billed)
    $dashboardlines[] = $board->load_board($user, "signed");
}
// Number of services enabled (delayed)
if (!empty($conf->contrat->enabled) && $user->rights->contrat->lire) {
    include_once DOL_DOCUMENT_ROOT . '/contrat/class/contrat.class.php';
    $board = new Contrat($db);
    $dashboardlines[] = $board->load_board($user, "inactives");
    // Number of active services (expired)
开发者ID:TAASA,项目名称:Dolibarr-ERP-3.8.1,代码行数:31,代码来源:index.php

示例2: Commande

if (!empty($conf->commande->enabled) && $user->rights->commande->lire) {
    include_once DOL_DOCUMENT_ROOT . '/commande/class/commande.class.php';
    $board = new Commande($db);
    $board->load_board($user);
    $board->warning_delay = $conf->commande->client->warning_delay / 60 / 60 / 24;
    $board->label = $langs->trans("OrdersToProcess");
    $board->url = DOL_URL_ROOT . '/commande/list.php?viewstatut=-3';
    $board->img = img_object($langs->trans("Orders"), "order");
    $rowspan++;
    $dashboardlines[] = $board;
}
// Number of suppliers orders a deal
if (!empty($conf->fournisseur->enabled) && $user->rights->fournisseur->commande->lire) {
    include_once DOL_DOCUMENT_ROOT . '/fourn/class/fournisseur.commande.class.php';
    $board = new CommandeFournisseur($db);
    $board->load_board($user);
    $board->warning_delay = $conf->commande->fournisseur->warning_delay / 60 / 60 / 24;
    $board->label = $langs->trans("SuppliersOrdersToProcess");
    $board->url = DOL_URL_ROOT . '/fourn/commande/index.php';
    $board->img = img_object($langs->trans("Orders"), "order");
    $rowspan++;
    $dashboardlines[] = $board;
}
// Number of commercial proposals opened (expired)
if (!empty($conf->propal->enabled) && $user->rights->propale->lire) {
    $langs->load("propal");
    include_once DOL_DOCUMENT_ROOT . '/comm/propal/class/propal.class.php';
    $board = new Propal($db);
    $board->load_board($user, "opened");
    $board->warning_delay = $conf->propal->cloture->warning_delay / 60 / 60 / 24;
    $board->label = $langs->trans("PropalsToClose");
开发者ID:ADDAdev,项目名称:Dolibarr,代码行数:31,代码来源:index.php


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