mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
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
|
||||
/*
|
||||
$accouting_module_activated = !empty($conf->comptabilite->enabled) || !empty($conf->accounting->enabled);
|
||||
if ($accouting_module_activated && $object->statut != Project::STATUS_DRAFT) {
|
||||
$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'];
|
||||
print dolGetButtonAction('', $langs->trans('ExportAccountingReportButtonLabel'), 'default', $url, '');
|
||||
}
|
||||
|
||||
*/
|
||||
|
||||
// Modify
|
||||
if ($object->statut != Project::STATUS_CLOSED && $user->rights->projet->creer) {
|
||||
if ($userWrite > 0) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user