From 56ef9d3d5137d57dba1c244d2e1dac37982a3239 Mon Sep 17 00:00:00 2001 From: UT from dolibit <45215329+dolibit-ut@users.noreply.github.com> Date: Fri, 14 Jan 2022 18:44:49 +0100 Subject: [PATCH] add CANCEL Button add CANCEL Button & add more space for small Touchscreens --- htdocs/fourn/facture/paiement.php | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/htdocs/fourn/facture/paiement.php b/htdocs/fourn/facture/paiement.php index 33c07c58e99..d65b3010367 100644 --- a/htdocs/fourn/facture/paiement.php +++ b/htdocs/fourn/facture/paiement.php @@ -11,6 +11,7 @@ * Copyright (C) 2017 Alexandre Spangaro * Copyright (C) 2018-2020 Frédéric France * Copyright (C) 2021 Charlene Benke + * Copyright (C) 2022 Udo Tamm * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -54,11 +55,11 @@ $day = GETPOST('day', 'int'); $month = GETPOST('month', 'int'); $year = GETPOST('year', 'int'); -$search_ref = GETPOST("search_ref", "alpha"); -$search_account = GETPOST("search_account", "int"); -$search_paymenttype = GETPOST("search_paymenttype"); -$search_amount = GETPOST("search_amount", 'alpha'); // alpha because we must be able to search on "< x" -$search_company = GETPOST("search_company", 'alpha'); +$search_ref = GETPOST('search_ref', 'alpha'); +$search_account = GETPOST('search_account', 'int'); +$search_paymenttype = GETPOST('search_paymenttype'); +$search_amount = GETPOST('search_amount', 'alpha'); // alpha because we must be able to search on "< x" +$search_company = GETPOST('search_company', 'alpha'); $search_payment_num = GETPOST('search_payment_num', 'alpha'); $limit = GETPOST('limit', 'int') ?GETPOST('limit', 'int') : $conf->liste_limit; @@ -773,10 +774,13 @@ if ($action == 'create' || $action == 'confirm_paiement' || $action == 'add_paie } } - // Save Button + // Save + Cancel Buttons if ($action != 'add_paiement') { print '
'.$langs->trans("ClosePaidInvoicesAutomatically"); - print '
'; + print '

 

'; + print '
'; + print '

 

'; + print '
'; } // Form to confirm payment