Skip to content
Snippets Groups Projects
Commit a5d7c303 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

FIX Button must be out of tabs

parent ebd8f2cf
No related branches found
No related tags found
No related merge requests found
<?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 ' &nbsp; ';
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();
/*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment