Skip to content

Commit

Permalink
add relevant filters
Browse files Browse the repository at this point in the history
  • Loading branch information
sombriks committed Apr 7, 2024
1 parent 1c3fa49 commit bc39122
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions web-app-vue/src/components/dashboard/controles-dashboard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
<v-row align="center">
<chip-periodo v-model:inicial="inicio" v-model:final="fim"></chip-periodo>
</v-row>
<v-row align="center">
<conta-autocomplete v-model="contaId"></conta-autocomplete>
</v-row>
<v-row align="center">
<categoria-autocomplete v-model="categoriaId"></categoria-autocomplete>
</v-row>
<v-row align="center">
<v-table>
<thead>
Expand Down Expand Up @@ -54,6 +60,13 @@
import ChipPeriodo from '@/shared/chip-periodo.vue'
import { endOfMonth, startOfMonth } from 'date-fns'
import { ref } from 'vue'
import ContaAutocomplete from '@/shared/conta-autocomplete.vue'
import CategoriaAutocomplete from '@/shared/categoria-autocomplete.vue'
const inicio = ref(startOfMonth(new Date()))
const fim = ref(endOfMonth(new Date()))
const contaId = ref()
const categoriaId = ref()
</script>

0 comments on commit bc39122

Please sign in to comment.