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();
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 . ' </td>'; print '<td align="left">' . $obj->code_compta_fournisseur . ' </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();
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);
$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); }
} if (!empty($conf->fournisseur->enabled) && $obj->fournisseur) { if ($s) { $s .= " / "; } $companystatic->name = $langs->trans("Supplier"); $s .= $companystatic->getNomUrl(0, 'supplier'); } print $s; print '</td>'; $parameters = array('obj' => $obj); $reshook = $hookmanager->executeHooks('printFieldListValue', $parameters); // Note that $action and $object may have been modified by hook print $hookmanager->resPrint; // Status print '<td align="right">' . $companystatic->getLibStatut(5) . '</td>'; print '<td></td>'; print '</tr>' . "\n"; $i++; } $db->free($resql); $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>"; print '</form>'; } else { dol_print_error($db); } llxFooter();