src/main/resources/static/js/viewController.js
/**
 * - MODAL SHOW WHEN ITEM IS SELECTED
 * @param {String} itemCardapioId 
 */
- MODAL SHOW WHEN ITEM IS SELECTED
@param {String} itemCardapioId
- MODAL SHOW WHEN ITEM IS SELECTED @param { String } itemCardapioId
function openModalProduct(itemCardapioId)
{
    const form = document.getElementById("formItensCardapio");
    form.getElementsByClassName("itemCardapioId")[0].value = itemCardapioId;
    form.submit();
}
function openModalProduct ( itemCardapioId ) { const form = document . getElementById ( "formItensCardapio" ) ; form . getElementsByClassName ( "itemCardapioId" ) [ 0 ] . value = itemCardapioId ; form . submit ( ) ; }
- MODAL SHOW WHEN ITEM IS SELECTED
 @param {String} itemCardapioId
- MODAL SHOW WHEN ITEM IS SELECTED @param { String } itemCardapioId