diff --git a/htdocs/compta/sociales/charges.php b/htdocs/compta/sociales/charges.php index abcb5e0ad061a4d0768111e33df499b8f41cb808..b3e5d21ffdc3a3fba2d0ac2cb238aaa7743dee4d 100644 --- a/htdocs/compta/sociales/charges.php +++ b/htdocs/compta/sociales/charges.php @@ -1,5 +1,5 @@ <?php -/* Copyright (C) 2004-2015 Laurent Destailleur <eldy@users.sourceforge.net> +/* Copyright (C) 2004-2016 Laurent Destailleur <eldy@users.sourceforge.net> * Copyright (C) 2005-2013 Regis Houssin <regis.houssin@capnetworks.com> * * This program is free software; you can redistribute it and/or modify @@ -325,8 +325,6 @@ if ($id > 0) { $head=tax_prepare_head($object); - dol_fiche_head($head, 'card', $langs->trans("SocialContribution"),0,'bill'); - // Clone confirmation if ($action === 'clone') { @@ -357,10 +355,13 @@ if ($id > 0) print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">'; } + + dol_fiche_head($head, 'card', $langs->trans("SocialContribution"),0,'bill'); + print '<table class="border" width="100%">'; // Ref - print '<tr><td width="25%">'.$langs->trans("Ref").'</td><td colspan="2">'; + print '<tr><td class="fieldtitle">'.$langs->trans("Ref").'</td><td colspan="2">'; print $form->showrefnav($object,'id'); print "</td></tr>"; @@ -488,9 +489,12 @@ if ($id > 0) print '</table>'; + dol_fiche_end(); + + if ($action == 'edit') { - print '<br><div align="center">'; + print '<div align="center">'; print '<input type="submit" class="button" name="save" value="'.$langs->trans("Save").'">'; print ' '; print '<input type="submit" class="button" name="cancel" value="'.$langs->trans("Cancel").'">'; @@ -499,7 +503,6 @@ if ($id > 0) if ($action == 'edit') print "</form>\n"; - dol_fiche_end(); /*