Fix: Bad link
This commit is contained in:
parent
46bdd811d3
commit
c7e0c1f3cb
@ -18,11 +18,11 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
\file htdocs/compta/fiche.php
|
* \file htdocs/compta/fiche.php
|
||||||
\ingroup compta
|
* \ingroup compta
|
||||||
\brief Page de fiche compta
|
* \brief Page de fiche compta
|
||||||
\version $Id$
|
* \version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require("./pre.inc.php");
|
require("./pre.inc.php");
|
||||||
require_once(DOL_DOCUMENT_ROOT."/lib/company.lib.php");
|
require_once(DOL_DOCUMENT_ROOT."/lib/company.lib.php");
|
||||||
@ -71,7 +71,7 @@ if ($mode == 'search')
|
|||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Mode fiche
|
* View
|
||||||
*/
|
*/
|
||||||
|
|
||||||
llxHeader();
|
llxHeader();
|
||||||
@ -198,7 +198,7 @@ if ($socid > 0)
|
|||||||
|
|
||||||
print '<td valign="top" width="50%" class="notopnoleftnoright">';
|
print '<td valign="top" width="50%" class="notopnoleftnoright">';
|
||||||
|
|
||||||
// Nbre max d'<EFBFBD>l<EFBFBD>ments des petites listes
|
// Nbre max d'elements des petites listes
|
||||||
$MAXLIST=5;
|
$MAXLIST=5;
|
||||||
$tableaushown=1;
|
$tableaushown=1;
|
||||||
|
|
||||||
@ -333,7 +333,7 @@ if ($socid > 0)
|
|||||||
|
|
||||||
if ($user->societe_id == 0)
|
if ($user->societe_id == 0)
|
||||||
{
|
{
|
||||||
// Si soci<EFBFBD>t<EFBFBD> cliente ou prospect, on affiche bouton "Cr<43>er facture client"
|
// Si societe cliente ou prospect, on affiche bouton "Creer facture client"
|
||||||
if ($societe->client != 0 && $conf->facture->enabled && $user->rights->facture->creer) {
|
if ($societe->client != 0 && $conf->facture->enabled && $user->rights->facture->creer) {
|
||||||
$langs->load("bills");
|
$langs->load("bills");
|
||||||
print "<a class=\"butAction\" href=\"".DOL_URL_ROOT."/compta/facture.php?action=create&socid=$societe->id\">".$langs->trans("AddBill")."</a>";
|
print "<a class=\"butAction\" href=\"".DOL_URL_ROOT."/compta/facture.php?action=create&socid=$societe->id\">".$langs->trans("AddBill")."</a>";
|
||||||
|
|||||||
@ -238,6 +238,10 @@ function getFormeJuridiqueLabel($code)
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief Show html area for list of contacts
|
* \brief Show html area for list of contacts
|
||||||
|
* \param conf Object conf
|
||||||
|
* \param lang Object lang
|
||||||
|
* \param db Database handler
|
||||||
|
* \param objsoc Third party object
|
||||||
*/
|
*/
|
||||||
function show_contacts($conf,$langs,$db,$objsoc)
|
function show_contacts($conf,$langs,$db,$objsoc)
|
||||||
{
|
{
|
||||||
@ -295,7 +299,7 @@ function show_contacts($conf,$langs,$db,$objsoc)
|
|||||||
// Lien click to dial
|
// Lien click to dial
|
||||||
print '<td>';
|
print '<td>';
|
||||||
if ($conf->agenda->enabled && $user->rights->agenda->myactions->create)
|
if ($conf->agenda->enabled && $user->rights->agenda->myactions->create)
|
||||||
print '<a href="action/fiche.php?action=create&backtopage=1&actioncode=AC_TEL&contactid='.$obj->rowid.'&socid='.$objsoc->id.'">';
|
print '<a href="'.DOL_URL_ROOT.'/comm/action/fiche.php?action=create&backtopage=1&actioncode=AC_TEL&contactid='.$obj->rowid.'&socid='.$objsoc->id.'">';
|
||||||
print dolibarr_print_phone($obj->phone);
|
print dolibarr_print_phone($obj->phone);
|
||||||
if ($conf->agenda->enabled && $user->rights->agenda->myactions->create)
|
if ($conf->agenda->enabled && $user->rights->agenda->myactions->create)
|
||||||
print '</a>';
|
print '</a>';
|
||||||
@ -303,14 +307,14 @@ function show_contacts($conf,$langs,$db,$objsoc)
|
|||||||
print '</td>';
|
print '</td>';
|
||||||
print '<td>';
|
print '<td>';
|
||||||
if ($conf->agenda->enabled && $user->rights->agenda->myactions->create)
|
if ($conf->agenda->enabled && $user->rights->agenda->myactions->create)
|
||||||
print '<a href="action/fiche.php?action=create&backtopage=1&actioncode=AC_FAX&contactid='.$obj->rowid.'&socid='.$objsoc->id.'">';
|
print '<a href="'.DOL_URL_ROOT.'/comm/action/fiche.php?action=create&backtopage=1&actioncode=AC_FAX&contactid='.$obj->rowid.'&socid='.$objsoc->id.'">';
|
||||||
print dolibarr_print_phone($obj->fax);
|
print dolibarr_print_phone($obj->fax);
|
||||||
if ($conf->agenda->enabled && $user->rights->agenda->myactions->create)
|
if ($conf->agenda->enabled && $user->rights->agenda->myactions->create)
|
||||||
print '</a>';
|
print '</a>';
|
||||||
print ' </td>';
|
print ' </td>';
|
||||||
print '<td>';
|
print '<td>';
|
||||||
if ($conf->agenda->enabled && $user->rights->agenda->myactions->create)
|
if ($conf->agenda->enabled && $user->rights->agenda->myactions->create)
|
||||||
print '<a href="action/fiche.php?action=create&backtopage=1&actioncode=AC_EMAIL&contactid='.$obj->rowid.'&socid='.$objsoc->id.'">';
|
print '<a href="'.DOL_URL_ROOT.'/comm/action/fiche.php?action=create&backtopage=1&actioncode=AC_EMAIL&contactid='.$obj->rowid.'&socid='.$objsoc->id.'">';
|
||||||
print $obj->email;
|
print $obj->email;
|
||||||
if ($conf->agenda->enabled && $user->rights->agenda->myactions->create)
|
if ($conf->agenda->enabled && $user->rights->agenda->myactions->create)
|
||||||
print '</a>';
|
print '</a>';
|
||||||
@ -319,13 +323,13 @@ function show_contacts($conf,$langs,$db,$objsoc)
|
|||||||
print ' </td>';
|
print ' </td>';
|
||||||
|
|
||||||
print '<td align="center">';
|
print '<td align="center">';
|
||||||
print "<a href=\"../contact/fiche.php?action=edit&id=".$obj->rowid."\">";
|
print '<a href="'.DOL_URL_ROOT.'/contact/fiche.php?action=edit&id='.$obj->rowid.'">';
|
||||||
print img_edit();
|
print img_edit();
|
||||||
print '</a></td>';
|
print '</a></td>';
|
||||||
|
|
||||||
if ($conf->agenda->enabled && $user->rights->agenda->myactions->create)
|
if ($conf->agenda->enabled && $user->rights->agenda->myactions->create)
|
||||||
{
|
{
|
||||||
print '<td align="center"><a href="action/fiche.php?action=create&backtopage=1&actioncode=AC_RDV&contactid='.$obj->rowid.'&socid='.$objsoc->id.'">';
|
print '<td align="center"><a href="'.DOL_URL_ROOT.'/comm/action/fiche.php?action=create&backtopage=1&actioncode=AC_RDV&contactid='.$obj->rowid.'&socid='.$objsoc->id.'">';
|
||||||
print img_object($langs->trans("Rendez-Vous"),"action");
|
print img_object($langs->trans("Rendez-Vous"),"action");
|
||||||
print '</a></td>';
|
print '</a></td>';
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user