07c88199365b5e41e414975e11fdf1296da50646
Replaced static customer display in the checkout/sale modal with the same interactive button functionality from the cart sidebar. Changes: - **HTML**: Replaced static div with interactive button + reset button in checkout modal - **JavaScript**: - Updated updateCustomerDisplay() to handle both locations (cart + checkout modal) - Added event listeners for checkout modal customer buttons - Both buttons now synchronized and use the same selection modal Benefits: ✅ Consistent UX across cart and checkout modal ✅ Full code reuse - same selection modal, search, and logic ✅ Both locations stay synchronized automatically ✅ Can search, select, and reset customer directly from checkout modal Implementation: - Cart sidebar button: customerSelectBtn, resetCustomerBtn - Checkout modal button: checkoutCustomerSelectBtn, checkoutResetCustomerBtn - Single updateCustomerDisplay() updates both locations - Single selectCustomer() used by all buttons 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Description
No description provided
Languages
Python
57%
HTML
32%
JavaScript
9.5%
CSS
1.1%
Shell
0.4%