本文整理汇总了PHP中FormOther::select_salesrepresentatives方法的典型用法代码示例。如果您正苦于以下问题:PHP FormOther::select_salesrepresentatives方法的具体用法?PHP FormOther::select_salesrepresentatives怎么用?PHP FormOther::select_salesrepresentatives使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类FormOther
的用法示例。
在下文中一共展示了FormOther::select_salesrepresentatives方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
$param .= '&search_montant_ht=' . $search_montant_ht;
}
if ($search_author) {
$param .= '&search_author=' . $search_author;
}
print_barre_liste($langs->trans('ListOfAskPriceSupplier') . ' ' . ($socid ? '- ' . $soc->name : ''), $page, $_SERVER["PHP_SELF"], $param, $sortfield, $sortorder, '', $num, $nbtotalofrecords);
// Lignes des champs de filtre
print '<form method="GET" action="' . $_SERVER["PHP_SELF"] . '">';
$i = 0;
print '<table class="liste" width="100%">';
$moreforfilter = '';
// If the user can view prospects other than his'
if ($user->rights->societe->client->voir || $socid) {
$langs->load("commercial");
$moreforfilter .= $langs->trans('ThirdPartiesOfSaleRepresentative') . ': ';
$moreforfilter .= $formother->select_salesrepresentatives($search_sale, 'search_sale', $user);
$moreforfilter .= ' ';
}
// If the user can view prospects other than his'
if ($user->rights->societe->client->voir || $socid) {
$moreforfilter .= $langs->trans('LinkedToSpecificUsers') . ': ';
$moreforfilter .= $form->select_dolusers($search_user, 'search_user', 1);
}
if (!empty($moreforfilter)) {
print '<tr class="liste_titre">';
print '<td class="liste_titre" colspan="10">';
print $moreforfilter;
print '</td></tr>';
}
print '<tr class="liste_titre">';
print_liste_field_titre($langs->trans('Ref'), $_SERVER["PHP_SELF"], 'p.ref', '', $param, '', $sortfield, $sortorder);
示例2:
print_liste_field_titre($langs->trans("LeadCommercial"), $_SERVEUR['PHP_SELF'], "usr.lastname", "", $option, '', $sortfield, $sortorder);
print_liste_field_titre($langs->trans("LeadStatus"), $_SERVEUR['PHP_SELF'], "leadsta.label", "", $option, '', $sortfield, $sortorder);
print_liste_field_titre($langs->trans("LeadType"), $_SERVEUR['PHP_SELF'], "leadtype.label", "", $option, '', $sortfield, $sortorder);
print_liste_field_titre($langs->trans("LeadAmountGuess"), $_SERVEUR['PHP_SELF'], "t.amount_prosp", "", $option, 'align="right"', $sortfield, $sortorder);
print_liste_field_titre($langs->trans("LeadRealAmount"), $_SERVEUR['PHP_SELF'], "", "", $option, 'align="right"', $sortfield, $sortorder);
print_liste_field_titre($langs->trans("LeadDeadLine"), $_SERVEUR['PHP_SELF'], "t.date_closure", "", $option, 'align="right"', $sortfield, $sortorder);
print '<td align="center"></td>';
print "</tr>\n";
print '<tr class="liste_titre">';
print '<td><input type="text" class="flat" name="search_ref" value="' . $search_ref . '" size="5"></td>';
print '<td><input type="text" class="flat" name="search_ref_int" value="' . $search_ref_int . '" size="5"></td>';
print '<td class="liste_titre">';
print '<input type="text" class="flat" name="search_soc" value="' . $search_soc . '" size="20">';
print '</td>';
print '<td class="liste_titre">';
print $formother->select_salesrepresentatives($search_commercial, 'search_commercial', $user);
print '</td>';
print '<td class="liste_titre">';
print $formlead->select_lead_status($search_status, 'search_status', 1);
print '</td>';
print '<td class="liste_titre">';
print $formlead->select_lead_type($search_type, 'search_type', 1);
print '</td>';
// amount guess
print '<td id="totalamountguess" align="right"></td>';
// amount real
print '<td id="totalamountreal" align="right"></td>';
// dt closure
print '<td></td>';
// edit button
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")) . '">';