Because button are reserved for action on workflow, i comment this to not break consistency of position of feature. I will think to a better place...
This commit is contained in:
parent
1e1be459b3
commit
2ffdb19bdf
@ -1281,6 +1281,7 @@ if ($action == 'create' && $user->rights->projet->creer) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Accounting Report
|
// Accounting Report
|
||||||
|
/*
|
||||||
$accouting_module_activated = !empty($conf->comptabilite->enabled) || !empty($conf->accounting->enabled);
|
$accouting_module_activated = !empty($conf->comptabilite->enabled) || !empty($conf->accounting->enabled);
|
||||||
if ($accouting_module_activated && $object->statut != Project::STATUS_DRAFT) {
|
if ($accouting_module_activated && $object->statut != Project::STATUS_DRAFT) {
|
||||||
$start = dol_getdate((int) $object->date_start);
|
$start = dol_getdate((int) $object->date_start);
|
||||||
@ -1290,7 +1291,8 @@ if ($action == 'create' && $user->rights->projet->creer) {
|
|||||||
if (!empty($object->date_end)) $url .= '&date_stopday='.$end['mday'].'&date_stopmonth='.$end['mon'].'&date_stopyear='.$end['year'];
|
if (!empty($object->date_end)) $url .= '&date_stopday='.$end['mday'].'&date_stopmonth='.$end['mon'].'&date_stopyear='.$end['year'];
|
||||||
print dolGetButtonAction('', $langs->trans('ExportAccountingReportButtonLabel'), 'default', $url, '');
|
print dolGetButtonAction('', $langs->trans('ExportAccountingReportButtonLabel'), 'default', $url, '');
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
// Modify
|
// Modify
|
||||||
if ($object->statut != Project::STATUS_CLOSED && $user->rights->projet->creer) {
|
if ($object->statut != Project::STATUS_CLOSED && $user->rights->projet->creer) {
|
||||||
if ($userWrite > 0) {
|
if ($userWrite > 0) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user