Skip to content

Merge to main release 3.12.0 - #139

Merged
drtechie merged 4 commits into
mainfrom
merge_to_main_release-3.12.0
Nov 2, 2026
Merged

drtechie merged 4 commits into
mainfrom
merge_to_main_release-3.12.0

Conversation

@sehjotsinghunthinkable

Copy link
Copy Markdown
Contributor

Merhing release-3.12.0 branch to main branch

vanitha1822 and others added 4 commits September 25, 2026 13:20
PR_StockDetail returns EntryType and item form, but the daily stock
details, monthly and yearly reports dropped them. Map both into all
three reports, and add Item Entered Date to the yearly report.

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…mp stock batches (#138)

* feat(AMM-2491): low stock and out of stock report for a store

POST /crmReportController/getLowStockReport {facilityID}: items mapped to
the store whose usable (not expired) stock is 0, or at/below the item's
Min_Stock. Reads live stock from db_iemr, not the reporting copy.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* feat(AMM-2491): StopTB laptop uploads a batch again when its stock changes

On StopTB camp laptops (stoptb.enforce.vanid=true) a batch whose
QuantityInHand changes (stock adjustment, stock exit/dispense, patient return,
indent issue) is marked Processed='N', so the next upload sends its current
stock and central's camp-stock reports match the camp. Other deployments
unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* chore: set version to 3.12.0

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Nov 2, 2026

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 4916f77e-389b-481f-b0cc-9ec1e4410ed8
  • 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

@sonarqubecloud

sonarqubecloud Bot commented Nov 2, 2026

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
8.5% Duplication on New Code (required ≤ 3%)
B Security Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@RequestMapping(value = "/getLowStockReport", headers = "Authorization", method = {
RequestMethod.POST }, produces = { "application/json" })
public String getLowStockReport(@RequestBody String request) {
logger.info("getLowStockReport request " + request.toString());
@drtechie
drtechie merged commit cbb502b into main Nov 2, 2026
6 of 8 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.

6 participants