feat: abre modal de informações do status da order ao clicar sobre o nome do product na viewcomanda

This commit is contained in:
2025-06-27 17:14:08 -03:00
parent 1ef263d033
commit c8c3653bf8
12 changed files with 72 additions and 50 deletions

View File

@@ -177,13 +177,15 @@ function openFullscreen() {
}
function feedback(message, status, subMessage) {
function feedback(message, icon, subMessage) {
console.log(subMessage)
var feedbackMsg = Swal.fire({
title: message,
text: subMessage || '',
icon: status,
background: 'rgba(8, 9, 10, 0.75)',
confirmButtonColor: 'linear-gradient(145deg, #1E2A3B, #2C3E50)',
});
color: 'white',
title: message,
text: subMessage || '',
icon: icon || 'info',
background: 'rgb(23, 38, 54)',
confirmButtonColor: 'linear-gradient(145deg, #1E2A3B, #2C3E50)',
});
return feedbackMsg;
}