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

Martin Renvoize (ashimema) <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #189339|0                           |1
        is obsolete|                            |

--- Comment #30 from Martin Renvoize (ashimema) 
<[email protected]> ---
Created attachment 189359
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=189359&action=edit
Bug 40445: Implement unified "Cashup selected" functionality with checkbox
selection

This commit replaces the 'Cashup all' option on the branch registers page with
a checkbox-based
selection system that allows staff to selectively process multiple registers
using either quick
or two-phase cashup workflows.

Changes include:

1. Enhanced registers page template:
   - Added checkbox column with "Select all" functionality
   - Replaced "Cashup all" with "Cashup selected" in footer
   - Added comprehensive modal offering both workflow options
   - Implemented JavaScript for checkbox state management
   - Added indeterminate state handling for partial selections

2. Updated register.pl operation handlers:
   - Enhanced cud-cashup_start to handle comma-separated register IDs
   - Modified cud-cashup to support both single register reconciliation
     and multiple register quick cashup
   - Added comprehensive error handling for bulk operations
   - Maintained backward compatibility with single register operations

3. Unified approach:
   - Reuses existing operations instead of creating new ones
   - Supports both single and multiple register processing
   - Provides appropriate redirects based on operation scope

The implementation allows libraries to:
- Select specific registers for cashup processing
- Choose between quick cashup (immediate completion) or two-phase workflow
(start now, complete later)
- Process multiple registers efficiently while maintaining individual
reconciliation capability
- Handle mixed register states appropriately

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
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