Skip to content

feat: nfse invoices native listing state#98

Merged
vitormattos merged 25 commits intomainfrom
feat/nfse-invoices-native-listing-state
Apr 3, 2026
Merged

feat: nfse invoices native listing state#98
vitormattos merged 25 commits intomainfrom
feat/nfse-invoices-native-listing-state

Conversation

@vitormattos
Copy link
Copy Markdown
Member

No description provided.

…onent

Use Akaunting's x-pagination Blade component on the NFS-e invoice
listing page instead of the raw $paginator->links() call. This renders
the full native paginator footer: items-per-page dropdown (limit param),
showing N–M of total records, and page navigation controls.

Also removes the redundant per-page text badge that was previously shown
inside the mini-dashboard overview card header.

Signed-off-by: Vitor Mattos <vitor@php.rio>
…ding redirect tests

Signed-off-by: Vitor Mattos <vitor@php.rio>
…ding

The x-search-string component already includes a built-in close button
that clears the filter. The separate 'Limpar filtros' anchor and the
'Filtros rápidos' section heading are redundant and inconsistent with
the native Akaunting pattern.

Signed-off-by: Vitor Mattos <vitor@php.rio>
…and heading

Signed-off-by: Vitor Mattos <vitor@php.rio>
Add 'data_emissao' with type 'date' to the searchStringFilters array,
enabling the native Akaunting flatpickr datepicker flow:
click → Data de emissão → operator (= / != / range) → date picker → Select

Signed-off-by: Vitor Mattos <vitor@php.rio>
Parse three URL formats produced by AkauntingSearch.vue for date fields:
- equal:     data_emissao:YYYY-MM-DD
- not equal: not data_emissao:YYYY-MM-DD
- range:     data_emissao>=YYYY-MM-DD data_emissao<=YYYY-MM-DD

Strip all date tokens from the free-text search term so they never leak
into the LIKE query. Apply whereDate / whereDate BETWEEN on NfseReceipt
inside receiptsForIndex().

Signed-off-by: Vitor Mattos <vitor@php.rio>
Cover equal, not-equal, range operators, and token stripping from
free-text search. Also update all existing receiptsForIndex overrides to
match the new optional fourth parameter.

Signed-off-by: Vitor Mattos <vitor@php.rio>
Signed-off-by: Vitor Mattos <vitor@php.rio>
Signed-off-by: Vitor Mattos <vitor@php.rio>
Signed-off-by: Vitor Mattos <vitor@php.rio>
Signed-off-by: Vitor Mattos <vitor@php.rio>
Signed-off-by: Vitor Mattos <vitor@php.rio>
Signed-off-by: Vitor Mattos <vitor@php.rio>
Signed-off-by: Vitor Mattos <vitor@php.rio>
Signed-off-by: Vitor Mattos <vitor@php.rio>
Signed-off-by: Vitor Mattos <vitor@php.rio>
Signed-off-by: Vitor Mattos <vitor@php.rio>
Signed-off-by: Vitor Mattos <vitor@php.rio>
Signed-off-by: Vitor Mattos <vitor@php.rio>
@vitormattos vitormattos self-assigned this Apr 3, 2026
@vitormattos vitormattos changed the title Feat/nfse invoices native listing state feat: nfse invoices native listing state Apr 3, 2026
Signed-off-by: Vitor Mattos <vitor@php.rio>
@vitormattos vitormattos merged commit 27e09d4 into main Apr 3, 2026
9 checks passed
@vitormattos vitormattos deleted the feat/nfse-invoices-native-listing-state branch April 3, 2026 22:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant