- Booking: added modify a booking (+ emails).

This commit is contained in:
Paolo Arena
2019-10-10 21:08:29 +02:00
parent 2b98516c46
commit 0e0b327858
6 changed files with 47 additions and 8 deletions

View File

@@ -1305,9 +1305,10 @@ export const tools = {
if (myfunc === costanti.FuncDialog.CANCEL_BOOKING) {
console.log(' ENTRATO ! CancelBookingEvent ')
CalendarStore.actions.CancelBookingEvent(par.param1).then((ris) => {
if (ris)
if (ris) {
tools.showPositiveNotif(myself.$q, myself.$t('cal.canceledbooking') + ' "' + par.param1.title + '"')
else
myself.bookEventpage.show = false
} else
tools.showNegativeNotif(myself.$q, myself.$t('cal.cancelederrorbooking'))
})
}
@@ -2077,7 +2078,7 @@ export const tools = {
return msg
},
gettextevent(myevent) {
return '"' + myevent.title + '" (' + this.getDateStr(myevent.date) + ') - ' + myevent.time
return '"' + myevent.title + '" (' + func_tools.getDateStr(myevent.date) + ') - ' + myevent.time
},
setLangAtt(mylang) {