Skip to content

Dev#9

Merged
KaduSR merged 3 commits into
mainfrom
DEV
Apr 1, 2026
Merged

Dev#9
KaduSR merged 3 commits into
mainfrom
DEV

Conversation

@KaduSR

@KaduSR KaduSR commented Apr 1, 2026

Copy link
Copy Markdown
Owner

No description provided.

@vercel

vercel Bot commented Apr 1, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
fiber-net-telecom-web Ready Ready Preview, Comment Apr 1, 2026 4:05pm

@KaduSR KaduSR merged commit 17079ec into main Apr 1, 2026
4 checks passed

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 93bd729ba2

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

// problemas de fuso horário ao comparar apenas a data.
const dataSegura = dateStr.includes("T")
? dateStr
: dateStr.replace(/(\d{2})\/(\d{2})\/(\d{4})/, "$3-$2-$1") + "T12:00:00";

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Handle DD-MM-YYYY due dates before comparison

This normalization only rewrites DD/MM/YYYY; if data_vencimento arrives as hyphenated day-first (for example 10-04-2026, a format the previous logic explicitly parsed), dataSegura becomes 10-04-2026T12:00:00, which produces Invalid Date, and the filter silently drops that invoice because venc < now is false. In those payloads, overdue invoices are omitted from totalGeralDivida, so the debt alert banner can disappear even when there is pending debt.

Useful? React with 👍 / 👎.

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