Skip to content

Commit

Permalink
FIX save call with new nuber of the Official Gazzette
Browse files Browse the repository at this point in the history
  • Loading branch information
mspasiano committed Jul 10, 2022
1 parent 5a74981 commit 5d2ddb7
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -527,15 +527,13 @@ define(['jquery', 'header', 'i18n', 'cnr/cnr', 'cnr/cnr.ui', 'cnr/cnr.bulkinfo',
if (item.name === 'numero_gu' && metadata['jconon_call:new_numero_gu']) {
var text = $('<span class="add-on active" id="new_numero_gu"></span>').append(metadata['jconon_call:new_numero_gu']);
var controls = formItem.element.find(".controls");
controls.addClass('input-append');
formItem.element.addClass('widget');
controls.addClass('input-append d-block');
text.appendTo(controls);
}
if (item.name === 'data_gu' && metadata['jconon_call:new_data_gu']) {
var date = $('<span class="add-on active" id="new_data_gu"></span>').append(moment(metadata['jconon_call:new_data_gu']).format('DD/MM/YYYY'));
var controls = formItem.element.find(".controls");
controls.addClass('input-append');
formItem.element.addClass('widget');
date.appendTo(controls);
}
}
Expand Down

0 comments on commit 5d2ddb7

Please sign in to comment.