Skip to content

fix: align stock detail report columns with PR_StockDetail - #181

Merged
snehar-nd merged 1 commit into
release-3.9.0from
fix/stockdetail-report-columns
Sep 25, 2026
Merged

snehar-nd merged 1 commit into
release-3.9.0from
fix/stockdetail-report-columns

Conversation

@snehar-nd

Copy link
Copy Markdown
Contributor

Summary

Daily Stock Details, Monthly and Yearly Excel exports now follow the PR_StockDetail column order and header names:

Sl No, Date (Month/Year for monthly and yearly), EntryType, Facility Name, item form, Item Name, item strength, UOM, Item Category, Batch No, Unit Cost Price, Expiry Date, Total Quantity Received(Batch wise), Opening Stock, Dispensed Quantity, Adjustment Receipt, Adjustment Issue, Closing Stock, Item Entered Date

  • New columns: EntryType and item form; Item Entered Date on yearly.
  • Total Quantity Received now comes before Opening Stock.
  • Headers come from an explicit label map; row values are still read by the API field names.

Depends on PSMRI/Inventory-API#137, which adds entryType and itemForm to the responses. Without it those two columns are empty.

Testing

tsc --noEmit and Prettier pass. Not tested in a running app.

🤖 Generated with Claude Code

Daily stock details, monthly and yearly Excel exports now follow the
PR_StockDetail column order and headers, and add EntryType, item form
and (yearly) Item Entered Date.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Sep 25, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

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

Configuration used: Organization UI

Review profile: CHILL

Plan: Advanced

Run ID: 1414915c-3f1c-4479-960a-9774ca8e3f4b

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

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.

@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
100.0% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube Cloud

@snehar-nd
snehar-nd merged commit d5db584 into release-3.9.0 Sep 25, 2026
3 of 4 checks passed
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.

2 participants