From aad1ace2a85b94fd6a6ee87399aa856a639832da Mon Sep 17 00:00:00 2001 From: sparkyx Date: Sat, 27 Dec 2025 11:38:58 +0100 Subject: [PATCH] Cosmetic : Order number and bank message in confirm operation (sale - purcharse) --- html/css/style-classic7.css | 10 +++++++++- include/class/acc_ledger.class.php | 2 -- include/class/acc_ledger_purchase.class.php | 5 +++-- include/template/acc_ledger-input_extra_info.php | 11 ++++++----- 4 files changed, 18 insertions(+), 10 deletions(-) diff --git a/html/css/style-classic7.css b/html/css/style-classic7.css index fecde1ce2..28f84d4f2 100644 --- a/html/css/style-classic7.css +++ b/html/css/style-classic7.css @@ -4238,4 +4238,12 @@ span.nb-round { background-color: var(--bg-inner-box); margin-left: 2px; color:navy; -} \ No newline at end of file +} +/* + * Tab : when show the operation to confirm + */ + #document_div_id { + height:185px; + height:10rem; + + } \ No newline at end of file diff --git a/include/class/acc_ledger.class.php b/include/class/acc_ledger.class.php index 5017ddda2..37975eb69 100644 --- a/include/class/acc_ledger.class.php +++ b/include/class/acc_ledger.class.php @@ -3685,10 +3685,8 @@ EOF; $supplemental_doc->setAlertOnSize(true); $supplemental_doc->set_multiple(true); $r=""; - $r.='

'; $r.= _("Ajoutez des documents additionnels"); $r.=$supplemental_doc->input(); - $r.='

'; return $r; } /** diff --git a/include/class/acc_ledger_purchase.class.php b/include/class/acc_ledger_purchase.class.php index ab8e09b63..2ba56b493 100644 --- a/include/class/acc_ledger_purchase.class.php +++ b/include/class/acc_ledger_purchase.class.php @@ -2119,7 +2119,7 @@ EOF; public function extra_info() { $r=""; - $r = '
'; + $r = '
'; $r.='

'; // check for upload piece $file=new IFile(); @@ -2140,8 +2140,9 @@ EOF; " from document_modele where md_affect='ACH' order by 2"); $r.=$doc_gen->input().'
'; } + $r.='

'; $r.=$this->input_supplemental_document(); - $r.='
'; + $r.='

'; $obj=new IText(); $r.=_('Numero de bon de commande : ').$obj->input('bon_comm').'
'; $r.=_('Autre information : ').$obj->input('other_info').'
'; diff --git a/include/template/acc_ledger-input_extra_info.php b/include/template/acc_ledger-input_extra_info.php index 446829dab..e0bfc9cd2 100644 --- a/include/template/acc_ledger-input_extra_info.php +++ b/include/template/acc_ledger-input_extra_info.php @@ -100,7 +100,8 @@ if ( in_array("document",$a_show)) { throw new Exception("ACC_LEDGER_INPUT100 : document and invoice available in same time"); } ?> -