*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
// Protection to avoid direct call of template
if (empty($conf) || !is_object($conf)) {
print "Error, template page can't be called as URL";
exit;
}
$object = $GLOBALS['objcanvas']->control->object;
print "\n";
$head = societe_prepare_head($object);
print dol_get_fiche_head($head, 'card', $langs->trans("ThirdParty"), 0, 'company');
if ($this->control->tpl['error']) {
echo $this->control->tpl['error'];
}
if ($this->control->tpl['action_delete']) {
echo $this->control->tpl['action_delete'];
} ?>
| trans('Name'); ?> |
control->tpl['showrefnav']; ?> |
global->SOCIETE_USEPREFIX)) { ?>
| trans('Prefix'); ?> |
control->tpl['prefix_comm']; ?> |
control->tpl['client']) { ?>
| trans('CustomerCode'); ?> |
control->tpl['code_client']; ?>
control->tpl['checkcustomercode'] <> 0) { ?>
(trans("WrongCustomerCode"); ?>)
|
control->tpl['fournisseur']) { ?>
| trans('SupplierCode'); ?> |
control->tpl['code_fournisseur']; ?>
control->tpl['checksuppliercode'] <> 0) { ?>
(trans("WrongSupplierCode"); ?>)
|
| trans('Gencod'); ?> |
control->tpl['barcode']; ?> |
| trans('Address'); ?> |
control->tpl['address']; ?> |
| trans('Zip'); ?> |
control->tpl['zip']; ?> |
trans('Town'); ?> |
control->tpl['town']; ?> |
| trans("Country"); ?> |
control->tpl['country']; ?> |
| trans('State'); ?> |
control->tpl['departement']; ?> |
| trans('Phone'); ?> |
control->tpl['phone']; ?> |
trans('Fax'); ?> |
control->tpl['fax']; ?> |
| trans('EMail'); ?> |
control->tpl['email']; ?> |
trans('Web'); ?> |
control->tpl['url']; ?> |
| trans('VATIsUsed'); ?> |
control->tpl['tva_assuj']; ?> |
control->tpl['localtax'])) {
echo $this->control->tpl['localtax'];
} ?>
| trans("Type"); ?> |
control->tpl['typent']; ?> |
| trans("DefaultLang"); ?> |
control->tpl['default_lang']; ?> |
|
|
control->tpl['display_rib']; ?> |
|
|
control->tpl['sales_representatives']; ?> |
| trans("LinkedToDolibarrMember"); ?> |
control->tpl['linked_member']; ?> |
|
societe->multidir_output[$this->control->tpl['entity']].'/'.$socid;
$urlsource = $_SERVER["PHP_SELF"]."?socid=".$socid;
$genallowed = $user->hasRight('societe', 'lire');
$delallowed = $user->rights->societe->creer;
print $formfile->showdocuments('company', $socid, $filedir, $urlsource, $genallowed, $delallowed, '', 0, 0, 0, 28, 0, '', 0, '', $objcanvas->control->object->default_lang);
?>
|
|