<?xml version="1.0" encoding="utf-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>SmartDukaan &#x2013; /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/receive-debit-note.vm</title><description>WebSVN RSS feed &#x2013; SmartDukaan</description><lastBuildDate>Thu, 14 May 2026 05:50:42 +0530</lastBuildDate><generator>WebSVN 2.8.6-DEV</generator><language>en</language><link>https://svn.smartdukaan.com/log.php?repname=SmartDukaan&amp;path=%2Ftrunk%2Fprofitmandi-fofo%2Fsrc%2Fmain%2Fwebapp%2FWEB-INF%2Fviews%2Fftl%2Freceive-debit-note.vm&amp;max=40&amp;</link><atom:link href="https://svn.smartdukaan.com/rss.php?path=%2Ftrunk%2Fprofitmandi-fofo%2Fsrc%2Fmain%2Fwebapp%2FWEB-INF%2Fviews%2Fftl%2Freceive-debit-note.vm&amp;repname=SmartDukaan" rel="self" type="application/rss+xml" />
<item><pubDate>Mon, 27 Apr 2026 19:57:02 +0530</pubDate><dc:creator>amit</dc:creator><title>Rev 36408 – Sale-return reversal: controller wiring + UI for cancellability gate + ...</title><description>&lt;div&gt;&lt;strong&gt;amit – 7 file(s) modified&lt;/strong&gt;&lt;br/&gt;Sale-return reversal: controller wiring + UI for cancellability gate + INV reject + date filter&lt;br /&gt;
&lt;br /&gt;
PurchaseReturnController:&lt;br /&gt;
  /return/invoice/process — autoApprove now isIrnCancellable &amp;&amp; !isShipped.&lt;br /&gt;
    !isShipped guard restored: shipped goods route through manual approval&lt;br /&gt;
    even within 24h, so the physical return goes through CN flow.&lt;br /&gt;
  /return/invoice/reject/{proId} — new endpoint for finance to reject a&lt;br /&gt;
    pending INV PRO (sale stands, no inventory/wallet/GST action).&lt;br /&gt;
  /return/invoice — date filter (fromDate/toDate query params, default&lt;br /&gt;
    last 30 days) backed by selectByWarehouseIdsAndDateRange. Limit&lt;br /&gt;
    bumped to 200 to accommodate longer ranges.&lt;br /&gt;
  receive-debit-note view — passes $requiresFinanceApproval so the&lt;br /&gt;
    template can render the finance-approval banner when DN&apos;s IRN is&lt;br /&gt;
    past the 24h window.&lt;br /&gt;
&lt;br /&gt;
invoice-return.vm:&lt;br /&gt;
  Added From/To date inputs + Apply button.&lt;br /&gt;
  Added Reject button next to Approve &amp; Refund for pending INV PROs.&lt;br /&gt;
&lt;br /&gt;
receive-debit-note.vm:&lt;br /&gt;
  Added one informational banner (#if $requiresFinanceApproval) above&lt;br /&gt;
  the receipt form. No layout / JS / submit-URL change.&lt;br /&gt;
&lt;br /&gt;
return.js:&lt;br /&gt;
  #invoice-return-date-apply handler — POSTs the selected range to&lt;br /&gt;
  /return/invoice and refreshes the table.&lt;br /&gt;
  .reject-invoice-return handler — prompts for reason, calls the new&lt;br /&gt;
  reject endpoint.&lt;br /&gt;
&lt;br /&gt;
dev/staging/prod.properties: feature flag finance.receipt.approval.email.enabled&lt;br /&gt;
(default false, flip per env when mail infra is ready).&lt;/div&gt;~ /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/PurchaseReturnController.java&lt;br /&gt;~ /trunk/profitmandi-fofo/src/main/resources/META-INF/dev.properties&lt;br /&gt;~ /trunk/profitmandi-fofo/src/main/resources/META-INF/prod.properties&lt;br /&gt;~ /trunk/profitmandi-fofo/src/main/resources/META-INF/staging.properties&lt;br /&gt;~ /trunk/profitmandi-fofo/src/main/webapp/resources/js/business/return.js&lt;br /&gt;~ /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/invoice-return.vm&lt;br /&gt;~ /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/receive-debit-note.vm&lt;br /&gt;</description><link>https://svn.smartdukaan.com/revision.php?repname=SmartDukaan&amp;path=%2Ftrunk%2Fprofitmandi-fofo%2Fsrc%2Fmain%2Fwebapp%2FWEB-INF%2Fviews%2Fftl%2Freceive-debit-note.vm&amp;rev=36408</link><guid>https://svn.smartdukaan.com/revision.php?repname=SmartDukaan&amp;path=%2Ftrunk%2Fprofitmandi-fofo%2Fsrc%2Fmain%2Fwebapp%2FWEB-INF%2Fviews%2Fftl%2Freceive-debit-note.vm&amp;rev=36408</guid></item>
<item><pubDate>Sat, 14 Mar 2026 19:31:27 +0530</pubDate><dc:creator>amit</dc:creator><title>Rev 35998 – Invoice Return: controller endpoints, UI views (receive/refund/reject/details/search), JS handlers, role-based ...</title><description>&lt;div&gt;&lt;strong&gt;amit – 9 file(s) modified&lt;/strong&gt;&lt;br/&gt;Invoice Return: controller endpoints, UI views (receive/refund/reject/details/search), JS handlers, role-based access, dashboard menu&lt;/div&gt;~ /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/PurchaseReturnController.java&lt;br /&gt;~ /trunk/profitmandi-fofo/src/main/webapp/resources/js/business/return.js&lt;br /&gt;~ /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/dashboard-readonly.vm&lt;br /&gt;+ /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/debit-note-details.vm&lt;br /&gt;~ /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/debit-notes-table.vm&lt;br /&gt;+ /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/invoice-return-results.vm&lt;br /&gt;+ /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/invoice-return.vm&lt;br /&gt;+ /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/receive-debit-note.vm&lt;br /&gt;+ /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/refund-debit-note.vm&lt;br /&gt;</description><link>https://svn.smartdukaan.com/revision.php?repname=SmartDukaan&amp;path=%2Ftrunk%2Fprofitmandi-fofo%2Fsrc%2Fmain%2Fwebapp%2FWEB-INF%2Fviews%2Fftl%2Freceive-debit-note.vm&amp;rev=35998</link><guid>https://svn.smartdukaan.com/revision.php?repname=SmartDukaan&amp;path=%2Ftrunk%2Fprofitmandi-fofo%2Fsrc%2Fmain%2Fwebapp%2FWEB-INF%2Fviews%2Fftl%2Freceive-debit-note.vm&amp;rev=35998</guid></item>
</channel></rss>