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

--- Comment #114 from Martin Renvoize (ashimema) 
<[email protected]> ---
Created attachment 193127
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=193127&action=edit
Bug 40445: Add cashup summary preview for in-progress cashups

In two-phase workflow, staff start cashup then count cash while
continuing transactions. This adds preview capability to see what
will be included before completion.

Features:
- "Preview cashup summary" link in cashup progress alert
- Modal shows expected amounts with "(preview)" indicator
- Alert explains this is preview and reconciliation may be added
- API endpoint supports preview by accepting CASHUP_START action IDs
- All strings properly wrapped for translation

Test plan:
1. Start two-phase cashup on register
2. Verify "Cashup in progress" alert appears
3. Click "Preview cashup summary" link
4. Verify modal shows:
   - Title: "Cashup summary preview"
   - Info alert explaining preview status
   - Correct period dates
   - Current transaction totals
5. Add new cash transaction
6. Re-open preview - verify totals updated
7. Complete cashup normally
8. View completed cashup summary
9. Verify no preview notice, normal title shown
10. Check translations: Verify all strings wrapped with __() or t()/tx()

Sponsored-by: OpenFifth <https://openfifth.co.uk/>
Signed-off-by: Jackie Usher <[email protected]>

-- 
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