Subversion Repositories SmartDukaan

Rev

Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
36408 16 d 6 h amit /trunk/profitmandi-fofo/src/main/ Sale-return reversal: controller wiring + UI for cancellability gate + INV reject + date filter

PurchaseReturnController:
/return/invoice/process — autoApprove now isIrnCancellable && !isShipped.
!isShipped guard restored: shipped goods route through manual approval
even within 24h, so the physical return goes through CN flow.
/return/invoice/reject/{proId} — new endpoint for finance to reject a
pending INV PRO (sale stands, no inventory/wallet/GST action).
/return/invoice — date filter (fromDate/toDate query params, default
last 30 days) backed by selectByWarehouseIdsAndDateRange. Limit
bumped to 200 to accommodate longer ranges.
receive-debit-note view — passes $requiresFinanceApproval so the
template can render the finance-approval banner when DN's IRN is
past the 24h window.

invoice-return.vm:
Added From/To date inputs + Apply button.
Added Reject button next to Approve & Refund for pending INV PROs.

receive-debit-note.vm:
Added one informational banner (#if $requiresFinanceApproval) above
the receipt form. No layout / JS / submit-URL change.

return.js:
#invoice-return-date-apply handler — POSTs the selected range to
/return/invoice and refreshes the table.
.reject-invoice-return handler — prompts for reason, calls the new
reject endpoint.

dev/staging/prod.properties: feature flag finance.receipt.approval.email.enabled
(default false, flip per env when mail infra is ready).
 
36369 20 d 6 h vikas /trunk/profitmandi-fofo/src/main/ Fix: Sale purchase invoice item quantity calculation  
35879 75 d 7 h ranu /trunk/profitmandi-fofo/ code commit for agent live status 2.0  
35868 75 d 11 h ranu /trunk/profitmandi-fofo/src/main/ code commit for agent live status roll back  
35867 75 d 12 h ranu /trunk/ code commit for agent live status  
35832 79 d 10 h amit /trunk/ Unify property loading: all modules use runtime profile with shared properties from dao, remove duplicated DB/Hibernate/HikariCP/integration keys from module files  
35633 102 d 12 h amit /trunk/ Add hikari.keepaliveTime property to all environment configs  
35597 106 d 4 h amit /trunk/profitmandi-fofo/src/main/resources/META-INF/ Migrate from C3P0 to HikariCP connection pooling

- Replace C3P0 properties with HikariCP settings
- New settings: maximumPoolSize=20, minimumIdle=2, idleTimeout=30s, maxLifetime=30min
 
35450 145 d 2 h amit /trunk/profitmandi-fofo/src/main/resources/META-INF/ Fixed  
35441 145 d 6 h amit /trunk/profitmandi-fofo/src/main/resources/META-INF/ Remove duplicate properties - now inherited from shared-*.properties in profitmandi-dao

🤖 Generated with Claude Code
 
34546 365 d 9 h vikas.jangra /trunk/profitmandi-fofo/src/main/ Liquidation/Bidding push notification and Publish  
33498 684 d 13 h amit.gupta /trunk/profitmandi-fofo/src/main/resources/META-INF/ Fixed properties file  
33481 687 d 12 h amit.gupta /trunk/profitmandi-fofo/src/main/resources/META-INF/ Prod properties  
33480 687 d 12 h amit.gupta /trunk/profitmandi-fofo/src/main/resources/META-INF/ Production removed  
33478 687 d 16 h amit.gupta /trunk/profitmandi-fofo/src/main/resources/META-INF/ Changed db  
33463 691 d 14 h amit.gupta /trunk/profitmandi-fofo/src/main/ Fixed machine  
33040 802 d 21 h amit.gupta /trunk/profitmandi-fofo/src/main/resources/META-INF/ Invoice contr  
32625 915 d 15 h amit.gupta /trunk/profitmandi-fofo/src/main/resources/META-INF/ removed tr  
32619 916 d 7 h amit.gupta /trunk/profitmandi-fofo/src/main/resources/META-INF/ removed tr  
31424 1218 d 5 h amit.gupta /trunk/profitmandi-fofo/src/main/resources/META-INF/ F  

Show All