Fix: bas tabs when socid provided into stats pages
This commit is contained in:
parent
320b24bca1
commit
84089f3e53
@ -217,11 +217,11 @@ complete_head_from_modules($conf,$langs,$object,$head,$h,'propal_stats');
|
|||||||
|
|
||||||
dol_fiche_head($head,'byyear',$langs->trans("Statistics"));
|
dol_fiche_head($head,'byyear',$langs->trans("Statistics"));
|
||||||
|
|
||||||
if (empty($socid))
|
print '<table class="notopnoleftnopadd" width="100%"><tr>';
|
||||||
{
|
print '<td align="center" valign="top">';
|
||||||
print '<table class="notopnoleftnopadd" width="100%"><tr>';
|
|
||||||
print '<td align="center" valign="top">';
|
|
||||||
|
|
||||||
|
//if (empty($socid))
|
||||||
|
//{
|
||||||
// Show filter box
|
// Show filter box
|
||||||
print '<form name="stats" method="POST" action="'.$_SERVER["PHP_SELF"].'">';
|
print '<form name="stats" method="POST" action="'.$_SERVER["PHP_SELF"].'">';
|
||||||
print '<input type="hidden" name="mode" value="'.$mode.'">';
|
print '<input type="hidden" name="mode" value="'.$mode.'">';
|
||||||
@ -246,7 +246,7 @@ if (empty($socid))
|
|||||||
print '</table>';
|
print '</table>';
|
||||||
print '</form>';
|
print '</form>';
|
||||||
print '<br><br>';
|
print '<br><br>';
|
||||||
}
|
//}
|
||||||
|
|
||||||
print '<table class="border" width="100%">';
|
print '<table class="border" width="100%">';
|
||||||
print '<tr height="24">';
|
print '<tr height="24">';
|
||||||
|
|||||||
@ -238,11 +238,11 @@ complete_head_from_modules($conf,$langs,$object,$head,$h,$type);
|
|||||||
|
|
||||||
dol_fiche_head($head,'byyear',$langs->trans("Statistics"));
|
dol_fiche_head($head,'byyear',$langs->trans("Statistics"));
|
||||||
|
|
||||||
if (empty($socid))
|
print '<table class="notopnoleftnopadd" width="100%"><tr>';
|
||||||
{
|
print '<td align="center" valign="top">';
|
||||||
print '<table class="notopnoleftnopadd" width="100%"><tr>';
|
|
||||||
print '<td align="center" valign="top">';
|
|
||||||
|
|
||||||
|
//if (empty($socid))
|
||||||
|
//{
|
||||||
// Show filter box
|
// Show filter box
|
||||||
print '<form name="stats" method="POST" action="'.$_SERVER["PHP_SELF"].'">';
|
print '<form name="stats" method="POST" action="'.$_SERVER["PHP_SELF"].'">';
|
||||||
print '<input type="hidden" name="mode" value="'.$mode.'">';
|
print '<input type="hidden" name="mode" value="'.$mode.'">';
|
||||||
@ -268,7 +268,7 @@ if (empty($socid))
|
|||||||
print '</table>';
|
print '</table>';
|
||||||
print '</form>';
|
print '</form>';
|
||||||
print '<br><br>';
|
print '<br><br>';
|
||||||
}
|
//}
|
||||||
|
|
||||||
print '<table class="border" width="100%">';
|
print '<table class="border" width="100%">';
|
||||||
print '<tr height="24">';
|
print '<tr height="24">';
|
||||||
|
|||||||
@ -214,11 +214,11 @@ complete_head_from_modules($conf,$langs,$object,$head,$h,$type);
|
|||||||
|
|
||||||
dol_fiche_head($head,'byyear',$langs->trans("Statistics"));
|
dol_fiche_head($head,'byyear',$langs->trans("Statistics"));
|
||||||
|
|
||||||
if (empty($socid))
|
print '<table class="notopnoleftnopadd" width="100%"><tr>';
|
||||||
{
|
print '<td align="center" valign="top">';
|
||||||
print '<table class="notopnoleftnopadd" width="100%"><tr>';
|
|
||||||
print '<td align="center" valign="top">';
|
|
||||||
|
|
||||||
|
//if (empty($socid))
|
||||||
|
//{
|
||||||
// Show filter box
|
// Show filter box
|
||||||
print '<form name="stats" method="POST" action="'.$_SERVER["PHP_SELF"].'">';
|
print '<form name="stats" method="POST" action="'.$_SERVER["PHP_SELF"].'">';
|
||||||
print '<input type="hidden" name="mode" value="'.$mode.'">';
|
print '<input type="hidden" name="mode" value="'.$mode.'">';
|
||||||
@ -244,7 +244,7 @@ if (empty($socid))
|
|||||||
print '</table>';
|
print '</table>';
|
||||||
print '</form>';
|
print '</form>';
|
||||||
print '<br><br>';
|
print '<br><br>';
|
||||||
}
|
//}
|
||||||
|
|
||||||
print '<table class="border" width="100%">';
|
print '<table class="border" width="100%">';
|
||||||
print '<tr height="24">';
|
print '<tr height="24">';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user