Skip to content
Snippets Groups Projects
Commit 837ca4f9 authored by Regis Houssin's avatar Regis Houssin
Browse files

Test: removal of the tab "accountancy card"

parent 8a8a7d3c
No related branches found
No related tags found
No related merge requests found
......@@ -1506,7 +1506,7 @@ if ($id > 0 || ! empty($ref))
}
// Delete
if ($propal->statut < 4 && $user->rights->propale->supprimer)
if ($user->rights->propale->supprimer)
{
print '<a class="butActionDelete" href="'.$_SERVER["PHP_SELF"].'?id='.$propal->id.'&amp;action=delete"';
print '>'.$langs->trans('Delete').'</a>';
......
......@@ -41,7 +41,7 @@ for ($i = 0 ; $i < $num ; $i++)
$var=!$var;
?>
<tr <?php echo $bc[$var]; ?> ><td>
<a href="<?php echo DOL_URL_ROOT.'/compta/propal.php?id='.$linkedObjectBlock->id ?>"><?php echo img_object($langs->trans("ShowPropal"),"propal").' '.$linkedObjectBlock->ref; ?></a></td>
<a href="<?php echo DOL_URL_ROOT.'/comm/propal.php?id='.$linkedObjectBlock->id ?>"><?php echo img_object($langs->trans("ShowPropal"),"propal").' '.$linkedObjectBlock->ref; ?></a></td>
<td><?php echo $linkedObjectBlock->ref_client; ?></td>
<td align="center"><?php echo dol_print_date($linkedObjectBlock->date,'day'); ?></td>
<td align="right"><?php echo price($linkedObjectBlock->total_ht); ?></td>
......
......@@ -53,12 +53,12 @@ function propal_prepare_head($propal)
$head[$h][2] = 'shipping';
$h++;
}
/*
$head[$h][0] = DOL_URL_ROOT.'/compta/propal.php?id='.$propal->id;
$head[$h][1] = $langs->trans('AccountancyCard');
$head[$h][2] = 'compta';
$h++;
*/
if ($conf->use_preview_tabs)
{
$head[$h][0] = DOL_URL_ROOT.'/comm/propal/apercu.php?id='.$propal->id;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment