=== Waiter API Charges & Taxes Calculation Test === 1. Logging in... ✓ Login successful 2. Getting waiter app settings... ✓ Found 1 charges and 1 taxes ✓ Tax mode: order Available Charges: - ID 2: Service Charge (percent: 5.00) Available Taxes: - ID 5: VAT (5%) 3. Getting available table... ✓ Found table ID: 61 4. Getting menu items... ✓ Using menu item: Peach Ice Tea (ID: 256, Price: 1.5) 5. Creating order with charges and taxes... → Adding charge ID: 2 → Adding tax ID: 5 ✓ Order created: ID 8039 → Subtotal: 3.0000 → Total: 3.3000 6. Getting order details and verifying calculation... Order Breakdown: - Subtotal: 3 - Discount: 0 - Discounted Total: 3 - Taxes: * VAT: 0.15 (5%) - Charges: * Service Charge: 0.15 (percent: 5.00) - Delivery Fee: 0 - Tip: 0 Calculated Total: 3.3 API Total Amount: 3.3 7. Verification: ✓ Total calculation is CORRECT (difference: 0) 8. Checking for duplicate charges... ✓ No duplicate charges found === Test Summary === Order ID: 8039 Subtotal: 3 Taxes: 0.15 Charges: 0.15 Delivery Fee: 0 Tip: 0 Total: 3.3 Calculation Match: ✓ PASS No Duplicates: ✓ PASS ✅ ALL TESTS PASSED