feat: moved search inside the transaction table (#2859)

This commit is contained in:
Arc 2024-12-20 06:44:07 +00:00 committed by GitHub
parent 8d1542d982
commit 78437eaf94
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -567,12 +567,28 @@
</template>
<template id="payment-list">
<div class="row items-center no-wrap q-mb-sm">
<div class="row items-center no-wrap">
<div class="col">
<span
class="text-subtitle1 q-my-none col q-mr-sm"
v-text="$t('transactions')"
></span>
<q-input
v-if="!mobileSimple"
:label="$t('search_by_tag_memo_amount')"
dense
class="q-pr-xl"
v-model="paymentsTable.search"
>
<template v-slot:before>
<q-icon name="search"> </q-icon>
</template>
<template v-slot:append>
<q-icon
v-if="paymentsTable.search !== ''"
name="close"
@click="paymentsTable.search = ''"
class="cursor-pointer"
>
</q-icon>
</template>
</q-input>
</div>
<div class="gt-sm col-auto">
<q-btn-dropdown
@ -643,24 +659,7 @@
</q-checkbox>
</div>
</div>
<div class="row q-my-md">
<q-input
:style="
$q.screen.lt.md
? {
display: mobileSimple ? 'none !important' : ''
}
: ''
"
filled
dense
clearable
v-model="paymentsTable.search"
debounce="300"
:placeholder="$t('search_by_tag_memo_amount')"
class="col"
/>
</div>
<div class="row q-my-md"></div>
<q-table
dense
flat