- Email Ordine da template HTML

- Corretto altro
This commit is contained in:
Surya Paolo
2023-12-28 15:53:16 +01:00
parent d90b46c206
commit 196b19ac66
11 changed files with 21 additions and 27 deletions

View File

@@ -2738,19 +2738,19 @@ export const tools = {
})
},
showPositiveNotif(q: any, msg: string, time?: number) {
this.showNotif(q, msg, { color: 'positive', icon: 'notifications' }, time)
showPositiveNotif(q: any, msg: string, time?: number, group?: any) {
this.showNotif(q, msg, { color: 'positive', icon: 'notifications' }, time, group)
},
showNegativeNotif(q: any, msg: string, time = 5000) {
this.showNotif(q, msg, { color: 'negative', icon: 'notifications' }, time)
showNegativeNotif(q: any, msg: string, time = 5000, group?: any) {
this.showNotif(q, msg, { color: 'negative', icon: 'notifications' }, time, group)
},
showNeutralNotif(q: any, msg: string, time = 10000) {
this.showNotif(q, msg, { color: 'info', icon: 'notifications' }, time)
},
showNotif(q: any, msg: string, data?: INotify | null, time?: number) {
showNotif(q: any, msg: string, data?: INotify | null, time?: number, group?: any) {
let myicon = data ? data.icon : 'ion-add'
if (!myicon) {
myicon = 'ion-add'
@@ -2760,7 +2760,7 @@ export const tools = {
mycolor = 'primary'
}
q.notify({
// group: '',
group: group ?? '',
message: msg,
icon: myicon,
classes: 'my-notif-class',