fix: ADP portal payment uses client portion instead of full order total

When customers pay for ADP quotations through the portal, the system
was charging the full order amount (ADP + client portions combined).
Now correctly charges only the client portion (25% for REG clients).

Changes:
- Override _get_prepayment_required_amount() to return client portion
- Override _has_to_be_paid() to skip payment for 100% ADP-funded orders
- Add portal controller to cap payment amount at client portion
- Add portal template showing ADP funding breakdown to customer
This commit is contained in:
Nexa Agent
2026-03-09 21:11:19 +00:00
parent 3b3c57205a
commit 35399170b3
6 changed files with 698 additions and 296 deletions

View File

@@ -0,0 +1,2 @@
# -*- coding: utf-8 -*-
from . import portal