0
0
Fork 0

refactor: refs #7553 adjust ticket notes view in summary

This commit is contained in:
Jon Elias 2024-09-20 14:33:59 +02:00
parent 2c15f79a2d
commit edea17340d
2 changed files with 5 additions and 2 deletions

View File

@ -281,6 +281,7 @@ function toTicketUrl(section) {
type="textarea" type="textarea"
class="notes" class="notes"
readonly readonly
autogrow
/> />
</template> </template>
</VnLv> </VnLv>
@ -377,7 +378,7 @@ function toTicketUrl(section) {
</QTooltip> </QTooltip>
</QIcon> </QIcon>
<QIcon <QIcon
name="vn:reserva" name="vn:reserved"
v-show="props.row.reserved" v-show="props.row.reserved"
color="primary" color="primary"
size="xs" size="xs"
@ -576,7 +577,7 @@ function toTicketUrl(section) {
</template> </template>
<style lang="scss" scoped> <style lang="scss" scoped>
.notes { .notes {
width: max-content; width: fit-content;
} }
.q-card.q-card--dark.q-dark.vn-one { .q-card.q-card--dark.q-dark.vn-one {

View File

@ -36,6 +36,7 @@ const selectedClient = ref();
const stateStore = useStateStore(); const stateStore = useStateStore();
const from = Date.vnNew(); const from = Date.vnNew();
from.setHours(0, 0, 0, 0); from.setHours(0, 0, 0, 0);
from.setDate(from.getDate() - 7);
const to = Date.vnNew(); const to = Date.vnNew();
to.setHours(23, 59, 0, 0); to.setHours(23, 59, 0, 0);
to.setDate(to.getDate() + 1); to.setDate(to.getDate() + 1);
@ -68,6 +69,7 @@ const columns = computed(() => [
name: 'statusIcons', name: 'statusIcons',
hidden: true, hidden: true,
format: () => '', format: () => '',
columnClass: 'expand',
}, },
{ {
align: 'left', align: 'left',