本文整理匯總了PHP中Societe::LibProspCommStatut方法的典型用法代碼示例。如果您正苦於以下問題:PHP Societe::LibProspCommStatut方法的具體用法?PHP Societe::LibProspCommStatut怎麽用?PHP Societe::LibProspCommStatut使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類Societe
的用法示例。
在下文中一共展示了Societe::LibProspCommStatut方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: foreach
$companystatic->name = $langs->trans("Supplier");
$companystatic->name_alias = '';
$s .= $companystatic->getNomUrl(0, 'supplier');
}
print $s;
print '</td>';
if (!empty($arrayfields['s.fk_prospectlevel']['checked'])) {
// Prospect level
print '<td align="center">';
print $companystatic->getLibProspLevel();
print "</td>";
}
if (!empty($arrayfields['s.fk_stcomm']['checked'])) {
// Prospect status
print '<td align="center" class="nowrap"><div class="nowrap">';
print '<div class="inline-block">' . $companystatic->LibProspCommStatut($obj->stcomm_id, 2, $prospectstatic->cacheprospectstatus[$obj->stcomm_id]['label']);
print '</div> - <div class="inline-block">';
foreach ($prospectstatic->cacheprospectstatus as $key => $val) {
$titlealt = 'default';
if (!empty($val['code']) && !in_array($val['code'], array('ST_NO', 'ST_NEVER', 'ST_TODO', 'ST_PEND', 'ST_DONE'))) {
$titlealt = $val['label'];
}
if ($obj->stcomm_id != $val['id']) {
print '<a class="pictosubstatus" href="' . $_SERVER["PHP_SELF"] . '?stcommsocid=' . $obj->rowid . '&stcomm=' . $val['code'] . '&action=setstcomm' . $param . ($page ? '&page=' . urlencode($page) : '') . '">' . img_action($titlealt, $val['code']) . '</a>';
}
}
print '</div></div></td>';
}
// Extra fields
if (is_array($extrafields->attribute_label) && count($extrafields->attribute_label)) {
foreach ($extrafields->attribute_label as $key => $val) {