|
|
|
@ -356,7 +356,10 @@
@@ -356,7 +356,10 @@
|
|
|
|
|
<div class="row"> |
|
|
|
|
<template v-for="(ticket, ticketIndex) in tickets"> |
|
|
|
|
<div class="col-md-6"> |
|
|
|
|
<h6><span v-if="isTicketNumber(ticket.number)"></span>{{ ticket.number }}</h6> |
|
|
|
|
<!-- <h6><span v-if="isTicketNumber(ticket.number)"></span>{{ ticket.number }}</h6>--> |
|
|
|
|
<div class="form-group"> |
|
|
|
|
<input type="text" class="form-control" v-model="ticket.number" @keydown="updateStorage()" placeholder="Name"> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<div class="form-group"> |
|
|
|
|
<input type="text" class="form-control" v-model="ticket.description" @keydown="updateStorage()" placeholder="Beschreibung"> |
|
|
|
@ -502,10 +505,14 @@
@@ -502,10 +505,14 @@
|
|
|
|
|
</div> |
|
|
|
|
<template v-for="(ticket, ticketIndex) in archive"> |
|
|
|
|
<div class="col-md-6" v-if="searchQuery === '' || ticket.number.search(searchQuery) >= 0 || (ticket.description && ticket.description.search(searchQuery)) >= 0"> |
|
|
|
|
<h6><span v-if="isTicketNumber(ticket.number)"></span>{{ ticket.number }}</h6> |
|
|
|
|
<div v-if="ticket.description"> |
|
|
|
|
<p class="fst-italic">{{ ticket.description }}</p> |
|
|
|
|
<div class="form-group"> |
|
|
|
|
<input type="text" class="form-control" v-model="ticket.number" @keydown="updateStorage()" placeholder="Name"> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<div class="form-group"> |
|
|
|
|
<input type="text" class="form-control" v-model="ticket.description" @keydown="updateStorage()" placeholder="Beschreibung"> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<div class="ticket-time-info"> |
|
|
|
|
<span class="float-end">{{ getTotalTime(ticket) }}</span> |
|
|
|
|
<span class="current-ticket-info">Gesamt: </span> |
|
|
|
|