mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-06 17:48:25 +01:00
New: A module can disable attachment features.
This commit is contained in:
@@ -1864,27 +1864,30 @@ else
|
|||||||
print '</div>'."\n";
|
print '</div>'."\n";
|
||||||
print '<br>';
|
print '<br>';
|
||||||
|
|
||||||
print '<table width="100%"><tr><td valign="top" width="50%">';
|
if (empty($conf->global->SOCIETE_DISABLE_BUILDDOC))
|
||||||
print '<a name="builddoc"></a>'; // ancre
|
{
|
||||||
|
print '<table width="100%"><tr><td valign="top" width="50%">';
|
||||||
|
print '<a name="builddoc"></a>'; // ancre
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Documents generes
|
* Documents generes
|
||||||
*/
|
*/
|
||||||
$filedir=$conf->societe->dir_output.'/'.$soc->id;
|
$filedir=$conf->societe->dir_output.'/'.$soc->id;
|
||||||
$urlsource=$_SERVER["PHP_SELF"]."?socid=".$soc->id;
|
$urlsource=$_SERVER["PHP_SELF"]."?socid=".$soc->id;
|
||||||
$genallowed=$user->rights->societe->creer;
|
$genallowed=$user->rights->societe->creer;
|
||||||
$delallowed=$user->rights->societe->supprimer;
|
$delallowed=$user->rights->societe->supprimer;
|
||||||
|
|
||||||
$var=true;
|
$var=true;
|
||||||
|
|
||||||
$somethingshown=$formfile->show_documents('company',$soc->id,$filedir,$urlsource,$genallowed,$delallowed,'',0,0,0,28,0,'',0,'',$soc->default_lang);
|
$somethingshown=$formfile->show_documents('company',$soc->id,$filedir,$urlsource,$genallowed,$delallowed,'',0,0,0,28,0,'',0,'',$soc->default_lang);
|
||||||
|
|
||||||
print '</td>';
|
print '</td>';
|
||||||
print '<td></td>';
|
print '<td></td>';
|
||||||
print '</tr>';
|
print '</tr>';
|
||||||
print '</table>';
|
print '</table>';
|
||||||
|
|
||||||
print '<br>';
|
print '<br>';
|
||||||
|
}
|
||||||
|
|
||||||
// Subsidiaries list
|
// Subsidiaries list
|
||||||
$result=show_subsidiaries($conf,$langs,$db,$soc);
|
$result=show_subsidiaries($conf,$langs,$db,$soc);
|
||||||
|
|||||||
Reference in New Issue
Block a user