https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19814

--- Comment #42 from Martin Renvoize (ashimema) 
<[email protected]> ---
Created attachment 186374
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=186374&action=edit
Bug 19814: Add batch return functionality for RFID workflows

This proof-of-concept adds batch return capability to the circulation
returns page, designed primarily for RFID pad workflows while maintaining
backward compatibility for single scan returns.

Key Features:
- Automatic RFID batch detection and processing with debouncing
- Manual batch mode toggle in checkin settings
- Single textarea element that adapts from single-line to multi-line
- Batch results display with per-item status and messages

Technical Implementation:
- Backend auto-detects batch mode via newline presence in barcode input
- Debouncing (500ms) prevents premature form submission during scanning for
multi-line input
- Textarea styling dynamically switches between single-line and multi-line
modes
- Batch processing reuses existing AddReturn() logic for consistency
- All existing circulation rules, messages, and workflows preserved

RFID Workflow:
1. RFID pad scans multiple items → deposits newline-delimited barcodes
2. Interface auto-expands to show all scanned items
3. Automatic submission after 0.5s delay
4. Batch results display with status for each item

Manual Workflow:
1. Enable "batch mode" in circulation settings
2. Input field expands to textarea for multiple barcodes
3. Submit to see comprehensive batch results

This is a proof-of-concept seeking user feedback before
full development and refinement.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to