feat: basket timeout

This commit is contained in:
imperosol
2026-05-17 10:25:04 +02:00
parent e811aeaecd
commit 3f2908eb8d
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -10,7 +10,7 @@
<template x-for="(message, index) in $notifications.getAll()">
<div class="alert" :class="`alert-${message.tag}`" x-transition>
<span class="alert-main" x-text="message.text"></span>
<span class="clickable" @click="messages = messages.filter((item, i) => i !== index)">
<span class="clickable" @click="$store.notifications = $store.notifications.filter((item, i) => i !== index)">
<i class="fa fa-close"></i>
</span>
</div>
@@ -17,8 +17,8 @@
<div x-data='etransaction(
{{ billing_infos|tojson }},
{ id: {{ basket.id }}, timeout: new Date('{{ basket.date + settings.SITH_EBOUTIC_BASKET_TIMEOUT }}') }
)'>
{ id: {{ basket.id }}, timeout: new Date("{{ basket.date + settings.SITH_EBOUTIC_BASKET_TIMEOUT }}") }
)'>
<p>{% trans %}Basket: {% endtrans %}</p>
<table>
<thead>