Fix: uniformize code
This commit is contained in:
parent
7b679f0776
commit
d0e98414bb
@ -1,5 +1,5 @@
|
||||
<?php
|
||||
/* Copyright (C) 2010 Regis Houssin <regis@dolibarr.fr>
|
||||
/* Copyright (C) 2010-2011 Regis Houssin <regis@dolibarr.fr>
|
||||
*
|
||||
* 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
|
||||
@ -15,7 +15,7 @@
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*
|
||||
* $Id$
|
||||
* $Id: card_create.tpl.php,v 1.9 2011/07/06 08:09:28 hregis Exp $
|
||||
*/
|
||||
?>
|
||||
|
||||
|
||||
@ -15,17 +15,17 @@
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*
|
||||
* $Id$
|
||||
* $Id: card_view.tpl.php,v 1.11 2011/07/06 08:09:28 hregis Exp $
|
||||
*/
|
||||
|
||||
$soc = $GLOBALS['objcanvas']->control->object;
|
||||
$object = $GLOBALS['objcanvas']->control->object;
|
||||
|
||||
?>
|
||||
|
||||
<!-- BEGIN PHP TEMPLATE CARD_VIEW.TPL.PHP INDIVIDUAL -->
|
||||
<?php
|
||||
|
||||
$head = societe_prepare_head($soc);
|
||||
$head = societe_prepare_head($object);
|
||||
|
||||
dol_fiche_head($head, 'card', $langs->trans("ThirdParty"),0,'company');
|
||||
|
||||
@ -223,13 +223,13 @@ $somethingshown=$formfile->show_documents('company',$socid,$filedir,$urlsource,$
|
||||
|
||||
<?php
|
||||
// Subsidiaries list
|
||||
$result=show_subsidiaries($conf,$langs,$db,$soc);
|
||||
$result=show_subsidiaries($conf,$langs,$db,$object);
|
||||
|
||||
// Contacts list
|
||||
$result=show_contacts($conf,$langs,$db,$soc);
|
||||
$result=show_contacts($conf,$langs,$db,$object);
|
||||
|
||||
// Projects list
|
||||
$result=show_projects($conf,$langs,$db,$soc);
|
||||
$result=show_projects($conf,$langs,$db,$object);
|
||||
?>
|
||||
|
||||
<!-- END PHP TEMPLATE -->
|
||||
Loading…
Reference in New Issue
Block a user