https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42967
Bug ID: 42967
Summary: Migrate POS register detail view to Vue.js
(pos/register.pl)
Initiative type: ---
Sponsorship ---
status:
Product: Koha
Version: Main
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Point of Sale
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
Depends on: 42962, 42963, 42966
Blocks: 42959
Target Milestone: ---
This is part of the Point of Sale to Vue migration tracked under bug 42959,
building on the application scaffold from bug 42966.
This patch replaces pos/register.pl and pos/register.tt with a Vue component
covering:
- Outstanding accountlines for the selected register, backed by bug 42962
- Date-range filtered transaction history
- Last-cashup boundary display
- Cashup trigger, backed by bug 42963
- Removal of the legacy pos/register.pl controller and pos/register.tt template
once parity is confirmed, including the relevant cash_management permission
checks moving to the API layer
- Cypress coverage for the register detail view, included as part of this
patchset
As with bug 42966, this is a rework rather than a strict port: minor UX
improvements are welcome as long as all existing actions remain possible. Any
reusable Vue component/framework improvements identified while building this
should be split into separate prerequisite bugs.
Test plan:
1. Enable EnablePointOfSale and UseCashRegisters.
2. Navigate to the new Vue-based register detail view for a register with
outstanding transactions.
3. Confirm outstanding accountlines and date-filtered history match the legacy
pos/register.pl output.
4. Trigger a cashup and confirm the register balance updates correctly.
5. Confirm relevant cash_management permissions are enforced.
6. Run the included Cypress spec.
Referenced Bugs:
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42959
[Bug 42959] Migrate staff interface functionality from CGI controller +
Template Toolkit to REST API + Vue.js
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42962
[Bug 42962] Expose cash register outstanding accountlines via REST API
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42963
[Bug 42963] Add POST endpoint for cash register cashups
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42966
[Bug 42966] Migrate POS payment screen to Vue.js (pos/pay.pl)
--
You are receiving this mail because:
You are the assignee for the bug.
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/