';
+print '| ';
dol_print_object_info($object);
print ' | ';
diff --git a/htdocs/loan/list.php b/htdocs/loan/list.php
index 1928ba2db43..f2fa046923b 100644
--- a/htdocs/loan/list.php
+++ b/htdocs/loan/list.php
@@ -39,10 +39,11 @@ require_once DOL_DOCUMENT_ROOT.'/loan/class/loan.class.php';
// Load translation files required by the page
$langs->loadLangs(array("banks", "bills", "compta", "loan"));
-// Get parameters
+$search_all = trim(GETPOST('search_all', 'alphanohtml'));
+
$action = GETPOST('action', 'aZ09') ? GETPOST('action', 'aZ09') : 'view'; // The action 'create'/'add', 'edit'/'update', 'view', ...
$massaction = GETPOST('massaction', 'alpha'); // The bulk action (combo box choice into lists)
-$show_files = GETPOSTINT('show_files'); // Show files area generated by bulk actions ?
+$show_files = GETPOSTINT('show_files'); // Show files area generated by bulk actions?
$confirm = GETPOST('confirm', 'alpha'); // Result of a confirmation
$cancel = GETPOST('cancel', 'alpha'); // We click on a Cancel button
$toselect = GETPOST('toselect', 'array'); // Array of ids of elements selected into a list
diff --git a/htdocs/loan/note.php b/htdocs/loan/note.php
index 5fa8ce489f3..221b46a53e5 100644
--- a/htdocs/loan/note.php
+++ b/htdocs/loan/note.php
@@ -64,7 +64,7 @@ $morehtmlright = '';
/*
- * Actions
+ * Actions
*/
@@ -78,10 +78,11 @@ if (empty($reshook)) {
/*
- * View
+ * View
*/
$form = new Form($db);
+$formproject = new FormProjets($db);
$title = $langs->trans("Loan").' - '.$langs->trans("Notes");
$help_url = 'EN:Module_Loan|FR:Module_Emprunt';
@@ -90,7 +91,7 @@ llxHeader("", $title, $help_url, '', 0, 0, '', '', '', 'mod-loan page-card_note'
if ($id > 0) {
/*
- * Affichage onglets
+ * Show tabs
*/
$totalpaid = $object->getSumPayment();
@@ -114,7 +115,7 @@ if ($id > 0) {
$morehtmlref .= '';
} else {
diff --git a/htdocs/loan/schedule.php b/htdocs/loan/schedule.php
index 31aa7dddc9b..e48ff1fe773 100644
--- a/htdocs/loan/schedule.php
+++ b/htdocs/loan/schedule.php
@@ -3,7 +3,7 @@
* Copyright (C) 2018-2024 Alexandre Spangaro
* Copyright (C) 2020 Maxime DEMAREST
* Copyright (C) 2024 MDW
- * Copyright (C) 2024 Frédéric France
+ * Copyright (C) 2024 Frédéric France
*
* 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
@@ -159,7 +159,7 @@ if ($action == 'updateecheancier' && empty($pay_without_schedule) && $permission
$form = new Form($db);
$formproject = new FormProjets($db);
-$title = $langs->trans("Loan").' - '.$langs->trans("Card");
+$title = $langs->trans("Loan").' - '.$langs->trans("FinancialCommitment");
$help_url = 'EN:Module_Loan|FR:Module_Emprunt';
llxHeader("", $title, $help_url, '', 0, 0, '', '', '', 'mod-loan page-card_schedule');
@@ -185,7 +185,7 @@ if (isModEnabled('project')) {
$morehtmlref .= '';
} else {
|