feat: portal reopen, reports, templates and remote access
This commit is contained in:
parent
6a75a0a9ed
commit
52c03ff1cf
16 changed files with 1387 additions and 16 deletions
|
|
@ -198,6 +198,12 @@ function computeRange(period: AgendaPeriod, pivot: Date) {
|
|||
}
|
||||
|
||||
function deriveScheduleWindow(ticket: Ticket) {
|
||||
if (isVisitTicket(ticket) && ticket.dueAt) {
|
||||
const startAt = ticket.dueAt
|
||||
const endAt = addMinutes(startAt, DEFAULT_EVENT_DURATION_MINUTES)
|
||||
return { startAt, endAt }
|
||||
}
|
||||
|
||||
const due = getSlaDueDate(ticket, "solution")
|
||||
if (!due) {
|
||||
return { startAt: null, endAt: null }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue