Ajout bouton "créer proposition" dans l'onglet "proposition commerciale" d'un projet
This commit is contained in:
parent
64dd72aec7
commit
dd4aa17e09
@ -119,6 +119,18 @@ print '<tr><td>'.$langs->trans("Ref").'</td><td>'.$projet->ref.'</td></tr>';
|
|||||||
print '<tr><td>'.$langs->trans("Label").'</td><td>'.$projet->title.'</td></tr>';
|
print '<tr><td>'.$langs->trans("Label").'</td><td>'.$projet->title.'</td></tr>';
|
||||||
print '</table>';
|
print '</table>';
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Barre d'action
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
print '<div class="tabsAction">';
|
||||||
|
|
||||||
|
if ($conf->propal->enabled && $user->rights->propale->creer)
|
||||||
|
{
|
||||||
|
$langs->load("propal");
|
||||||
|
print '<a class="butAction" href="'.DOL_URL_ROOT.'/comm/addpropal.php?socidp='.$projet->societe->id.'&action=create">'.$langs->trans("AddProp").'</a>';
|
||||||
|
}
|
||||||
|
|
||||||
$propales = $projet->get_propal_list();
|
$propales = $projet->get_propal_list();
|
||||||
|
|
||||||
if (sizeof($propales)>0 && is_array($propales))
|
if (sizeof($propales)>0 && is_array($propales))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user