25 require
'../../main.inc.php';
26 require_once DOL_DOCUMENT_ROOT.
'/core/lib/company.lib.php';
27 require_once DOL_DOCUMENT_ROOT.
'/compta/facture/class/facture.class.php';
30 $langs->loadLangs(array(
'companies',
'other'));
31 if (!empty($conf->facture->enabled)) $langs->load(
"bills");
34 $socid = $_GET[
"socid"];
38 $socid = $user->socid;
52 $societe->fetch($socid);
62 print "<table width=\"100%\">\n";
63 print
'<tr><td valign="top" width="50%">';
65 print
'<table class="border centpercent">';
68 print
'<tr><td width="20%">'.$langs->trans(
"Thirdpary").
'</td><td width="80%" colspan="3">'.$societe->getNomUrl(1).
'</td></tr>';
71 if (!empty($conf->global->SOCIETE_USEPREFIX))
73 print
'<tr><td>'.$langs->trans(
"Prefix").
'</td><td colspan="3">';
74 print ($societe->prefix_comm ? $societe->prefix_comm :
' ');
80 print
"</td></tr></table>\n";
85 print $langs->trans(
"FeatureNotYetAvailable");
Class to manage third parties objects (customers, suppliers, prospects...)
societe_prepare_head(Societe $object)
Return array of tabs to used on pages for third parties cards.
dol_get_fiche_head($links=array(), $active= '', $title= '', $notab=0, $picto= '', $pictoisfullpath=0, $morehtmlright= '', $morecss= '', $limittoshow=0, $moretabssuffix= '')
Show tabs of a record.
print
Draft customers invoices.
dol_print_error($db= '', $error= '', $errors=null)
Displays error message system with all the information to facilitate the diagnosis and the escalation...