* * 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; } $soc = $GLOBALS['objcanvas']->control->object; print "\n"; $head = societe_prepare_head($soc); print dol_get_fiche_head($head, 'card', $langs->trans("ThirdParty"), 0, 'company'); ?> control->tpl['error']) { echo $this->control->tpl['error']; } ?> control->tpl['action_delete']) { echo $this->control->tpl['action_delete']; } ?> control->tpl['js_checkVatPopup']) { echo $this->control->tpl['js_checkVatPopup']; } ?> global->SOCIETE_USEPREFIX)) { ?> control->tpl['client']) { ?> control->tpl['fournisseur']) { ?> control->tpl['langprofid'.$i] != '-') { if ($i == 1 || $i == 3) { echo ''; } echo ''; echo ''; if ($i == 2 || $i == 4) { echo ''; } } else { if ($i == 1 || $i == 3) { echo ''; } echo ''; echo ''; if ($i == 2 || $i == 4) { echo ''; } } } ?> control->tpl['localtax'])) { echo $this->control->tpl['localtax']; } ?>
trans('ThirdPartyName'); ?> control->tpl['showrefnav']; ?>
trans('Prefix'); ?> control->tpl['prefix_comm']; ?>
trans('CustomerCode'); ?> control->tpl['code_client']; ?> control->tpl['checkcustomercode'] <> 0) { ?> (trans("WrongCustomerCode"); ?>)
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']; ?>
'.$this->control->tpl['langprofid'.$i].''.$this->control->tpl['profid'.$i]; if ($this->control->tpl['profid'.$i]) { if ($this->control->tpl['checkprofid'.$i] > 0) { echo '   '.$this->control->tpl['urlprofid'.$i]; } else { echo ' ('.$langs->trans("ErrorWrongValue").')'; } } echo '
  
trans('VATIsUsed'); ?> control->tpl['tva_assuj']; ?> trans('VATIntra'); ?> control->tpl['tva_intra']; ?>
trans('Capital'); ?> control->tpl['capital']) { echo $this->control->tpl['capital'].' '.$langs->trans("Currency".$conf->currency); } else { echo ' '; } ?>
trans('JuridicalStatus'); ?> control->tpl['forme_juridique']; ?>
trans("ThirdPartyType"); ?> control->tpl['typent']; ?> trans("Staff"); ?> control->tpl['effectif']; ?>
trans("DefaultLang"); ?> control->tpl['default_lang']; ?>
trans('RIB'); ?> rights->societe->creer) { ?> control->tpl['image_edit']; ?>  
control->tpl['display_rib']; ?>
trans('ParentCompany'); ?>  
control->tpl['parent_company']; ?>
trans('SalesRepresentatives'); ?> rights->societe->creer) { ?> control->tpl['image_edit']; ?>  
control->tpl['sales_representatives']; ?>
trans("LinkedToDolibarrMember"); ?> control->tpl['linked_member']; ?>
rights->societe->creer) { ?> ">trans("Modify"); ?> hasRight('societe', 'supprimer')) { ?> use_javascript_ajax) { ?> trans('Delete'); ?> ">trans('Delete'); ?>

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); ?>