Skip to content

Commit

Permalink
Removed the visibility of the functionality relating to applications …
Browse files Browse the repository at this point in the history
…to call managers
  • Loading branch information
mspasiano committed Dec 5, 2023
1 parent a567256 commit 3ce82fb
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -754,9 +754,9 @@ define(['jquery', 'cnr/cnr', 'i18n', 'cnr/cnr.actionbutton', 'json!common', 'han
customButtons.edit = function () {
window.location = jconon.URL.call.manage + '?call-type=' + el.objectTypeId + '&cmis:objectId=' + el.id;
};
customButtons.listApplication = function () {
customButtons.listApplication = (common.User.admin || isConcorsi() || isRdP(el['jconon_call:rdp']) || isCommissario(el['jconon_call:commissione'])) ? function () {
window.location = jconon.URL.application.list + '?cmis:objectId=' + el.id;
};
} : false;
customButtons.application = !isMacroCall &&
(isActive(el.data_inizio_invio_domande, el.data_fine_invio_domande) || el.data_fine_invio_domande === null) ? function () {
window.location = jconon.URL.application.manage + '?callId=' + el.id;
Expand Down Expand Up @@ -851,9 +851,9 @@ define(['jquery', 'cnr/cnr', 'i18n', 'cnr/cnr.actionbutton', 'json!common', 'han
manageGroup(el['jconon_call:rdp'], content);
UI.modal('Modifica RdP', content);
};
customButtons.exportApplications = function () {
customButtons.exportApplications = (common.User.admin || isConcorsi() || isRdP(el['jconon_call:rdp']) || isCommissario(el['jconon_call:commissione'])) ? function () {
modalEstraiDomande(el);
};
} : false;
if (el['jconon_call:scheda_valutazione'] === true && !isActive(el.data_inizio_invio_domande, el.data_fine_invio_domande) &&
(common.User.admin || isCommissario(el['jconon_call:commissione']) || isRdP(el['jconon_call:rdp']) || isConcorsi())) {
if (common.User.admin || isRdP(el['jconon_call:rdp']) || isConcorsi()) {
Expand Down

0 comments on commit 3ce82fb

Please sign in to comment.