From 0e433b6a65eddabc22b7979720a033c754ae7ea3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dar=C3=ADo=20Lodeiros?= Date: Tue, 16 Apr 2024 09:45:55 +0200 Subject: [PATCH] [IMP]pms:improve portal custom payment custom amount -incomplete- --- pms/controllers/pms_portal.py | 2 +- pms/views/folio_portal_templates.xml | 24 ++++++++++++++++-------- 2 files changed, 17 insertions(+), 9 deletions(-) diff --git a/pms/controllers/pms_portal.py b/pms/controllers/pms_portal.py index be57179ff..e47e860be 100644 --- a/pms/controllers/pms_portal.py +++ b/pms/controllers/pms_portal.py @@ -122,7 +122,7 @@ class PortalFolio(CustomerPortal): "subscription payments will be made automatically." ), }, - amount=custom_amount, + custom_amount=custom_amount, ) @http.route( diff --git a/pms/views/folio_portal_templates.xml b/pms/views/folio_portal_templates.xml index d3c5859a2..91bfd0a8f 100644 --- a/pms/views/folio_portal_templates.xml +++ b/pms/views/folio_portal_templates.xml @@ -128,7 +128,7 @@ /> Pay @@ -159,20 +159,28 @@
- Pay Now + Pay Now -
- - Pay -
+ Pay Now +