Skip to content

feat(reports): filter price exceptions by cash shift - #1305

Merged
itsbkm merged 1 commit into
mainfrom
feat/price-exceptions-shift-filter
Oct 22, 2026
Merged

itsbkm merged 1 commit into
mainfrom
feat/price-exceptions-shift-filter

Conversation

@itsbkm

@itsbkm itsbkm commented Oct 22, 2026

Copy link
Copy Markdown
Contributor

Adds an optional shift_id to GET /api/reports/price-exceptions that narrows the list to that cash shift's open-to-close window (404 for an unknown shift). The response also lists up to 20 shifts overlapping the range, and the dashboard card gets a shift selector.

The report test now uses a one-day margin around today so it no longer fails when the local date differs from the UTC date.

Verified: npm run test:item-price-override (55/55), lint, tsc, i18n:check, docs:check.

🤖 Generated with Claude Code

@coderabbitai

coderabbitai Bot commented Oct 22, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@itsbkm
itsbkm enabled auto-merge (squash) October 22, 2026 19:00
@itsbkm
itsbkm merged commit 126e176 into main Oct 22, 2026
23 checks passed
@itsbkm
itsbkm deleted the feat/price-exceptions-shift-filter branch October 22, 2026 19:06
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