fixed: timezone de orders alterado para exibição utc -3

This commit is contained in:
2025-07-02 10:29:16 -03:00
parent 09c5fd1e98
commit 7c6586bbce
8 changed files with 58 additions and 16 deletions

View File

@@ -181,8 +181,6 @@ function openFullscreen() {
var feedbackMsg = Swal.fire({
color: 'white',
title: message,
// toast: true,
// position: 'top',
text: subMessage || '',
icon: icon || 'info',
background: 'rgb(23, 38, 54)',
@@ -190,4 +188,23 @@ function openFullscreen() {
});
}
}
function toast(){
const Toast = Swal.mixin({
toast: true,
theme:"dark",
position: "top",
showConfirmButton: false,
background: 'rgb(30, 42, 58)',
color: 'white',
showCloseButton: true,
timer: 2500,
timerProgressBar: true,
didOpen: (toast) => {
toast.onmouseenter = Swal.stopTimer;
toast.onmouseleave = Swal.resumeTimer;
}
});
return Toast;
}