Skip to content

Commit

Permalink
In caso di aggiornamento dei prodotti scelti non controlla se il band…
Browse files Browse the repository at this point in the history
…o è in corso oppure no
  • Loading branch information
mspasiano committed Oct 24, 2024
1 parent a20160f commit 6611873
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -561,8 +561,7 @@ define(['jquery', 'header', 'json!common', 'cnr/cnr.bulkinfo', 'cnr/cnr.search',
};
}
if (callData['cmis:secondaryObjectTypeIds'].indexOf('P:jconon_call:selected_products_after_commission') !== -1) {
if (!bandoInCorso &&
((new Date(callData['jconon_call:selected_products_start_date']) < new Date(common.now) &&
if (((new Date(callData['jconon_call:selected_products_start_date']) < new Date(common.now) &&
new Date(callData['jconon_call:selected_products_end_date']) > new Date(common.now))) &&
el['jconon_application:esclusione_rinuncia'] === null &&
(common.User.admin || Call.isConcorsi() || common.User.id === el['jconon_application:user']) &&
Expand Down

0 comments on commit 6611873

Please sign in to comment.