forked from Dolibarr/dolibarr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'Dolibarr:develop' into patch-delivery-sn
- Loading branch information
Showing
272 changed files
with
2,184 additions
and
1,527 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
<?php | ||
/* Copyright (C) 2017-2024 Alexandre Spangaro <[email protected]> | ||
* Copyright (C) 2024 MDW <[email protected]> | ||
* Copyright (C) 2024 Frédéric France <[email protected]> | ||
* | ||
* 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 | ||
|
@@ -494,7 +495,7 @@ | |
// There is several pages | ||
if ($num > $listlimit) { | ||
print '<tr class="none"><td class="right" colspan="'.(3 + count($fieldlist)).'">'; | ||
print_fleche_navigation($page, $_SERVER["PHP_SELF"], $paramwithsearch, ($num > $listlimit), '<li class="pagination"><span>'.$langs->trans("Page").' '.($page + 1).'</span></li>'); | ||
print_fleche_navigation($page, $_SERVER["PHP_SELF"], $paramwithsearch, ($num > $listlimit ? 1 : 0), '<li class="pagination"><span>'.$langs->trans("Page").' '.($page + 1).'</span></li>'); | ||
print '</td></tr>'; | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ | |
* Copyright (C) 2022 Lionel Vessiller <[email protected]> | ||
* Copyright (C) 2013-2017 Olivier Geffroy <[email protected]> | ||
* Copyright (C) 2017 Elarifr. Ari Elbaz <[email protected]> | ||
* Copyright (C) 2017-2019 Frédéric France <frederic.france@netlogic.fr> | ||
* Copyright (C) 2017-2024 Frédéric France <frederic.france@free.fr> | ||
* Copyright (C) 2017 André Schild <[email protected]> | ||
* Copyright (C) 2020 Guillaume Alexandre <[email protected]> | ||
* Copyright (C) 2022 Joachim Kueter <[email protected]> | ||
|
@@ -1025,7 +1025,7 @@ public function exportQuadratus($objectLines, $exportFile = null, $archiveFileLi | |
$arrayofinclusion = array(); | ||
// If it is a supplier invoice, we want to use last uploaded file | ||
$arrayofinclusion[] = '^'.preg_quote($objectFileName, '/').(($line->doc_type == 'supplier_invoice') ? '.+' : '').'\.pdf$'; | ||
$fileFoundList = dol_dir_list($objectDirPath.'/'.$objectFileName, 'files', 0, implode('|', $arrayofinclusion), '(\.meta|_preview.*\.png)$', 'date', SORT_DESC, 0, true); | ||
$fileFoundList = dol_dir_list($objectDirPath.'/'.$objectFileName, 'files', 0, implode('|', $arrayofinclusion), '(\.meta|_preview.*\.png)$', 'date', SORT_DESC, 0, 1); | ||
if (!empty($fileFoundList)) { | ||
$attachmentFileNameTrunc = str_pad(self::trunc($line->piece_num, 8), 8, '0', STR_PAD_LEFT); | ||
foreach ($fileFoundList as $fileFound) { | ||
|
@@ -1491,7 +1491,7 @@ public function exportFEC($objectLines, $exportFile = null, $archiveFileList = a | |
$arrayofinclusion = array(); | ||
// If it is a supplier invoice, we want to use last uploaded file | ||
$arrayofinclusion[] = '^'.preg_quote($objectFileName, '/').(($line->doc_type == 'supplier_invoice') ? '.+' : '').'\.pdf$'; | ||
$fileFoundList = dol_dir_list($objectDirPath.'/'.$objectFileName, 'files', 0, implode('|', $arrayofinclusion), '(\.meta|_preview.*\.png)$', 'date', SORT_DESC, 0, true); | ||
$fileFoundList = dol_dir_list($objectDirPath.'/'.$objectFileName, 'files', 0, implode('|', $arrayofinclusion), '(\.meta|_preview.*\.png)$', 'date', SORT_DESC, 0, 1); | ||
if (!empty($fileFoundList)) { | ||
$attachmentFileNameTrunc = $line->doc_ref; | ||
foreach ($fileFoundList as $fileFound) { | ||
|
@@ -1703,7 +1703,7 @@ public function exportFEC2($objectLines, $exportFile = null, $archiveFileList = | |
$arrayofinclusion = array(); | ||
// If it is a supplier invoice, we want to use last uploaded file | ||
$arrayofinclusion[] = '^'.preg_quote($objectFileName, '/').(($line->doc_type == 'supplier_invoice') ? '.+' : '').'\.pdf$'; | ||
$fileFoundList = dol_dir_list($objectDirPath.'/'.$objectFileName, 'files', 0, implode('|', $arrayofinclusion), '(\.meta|_preview.*\.png)$', 'date', SORT_DESC, 0, true); | ||
$fileFoundList = dol_dir_list($objectDirPath.'/'.$objectFileName, 'files', 0, implode('|', $arrayofinclusion), '(\.meta|_preview.*\.png)$', 'date', SORT_DESC, 0, 1); | ||
if (!empty($fileFoundList)) { | ||
$attachmentFileNameTrunc = $line->doc_ref; | ||
foreach ($fileFoundList as $fileFound) { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
<?php | ||
/* Copyright (C) 2013-2014 Olivier Geffroy <[email protected]> | ||
* Copyright (C) 2013-2024 Alexandre Spangaro <[email protected]> | ||
* Copyright (C) 2014-2015 Ari Elbaz (elarifr) <[email protected]> | ||
* Copyright (C) 2013-2021 Florian Henry <[email protected]> | ||
* Copyright (C) 2014 Juanjo Menent <[email protected]> | ||
* Copyright (C) 2016 Laurent Destailleur <[email protected]> | ||
* Copyright (C) 2021 Gauthier VERDOL <[email protected]> | ||
/* Copyright (C) 2013-2014 Olivier Geffroy <[email protected]> | ||
* Copyright (C) 2013-2024 Alexandre Spangaro <[email protected]> | ||
* Copyright (C) 2014-2015 Ari Elbaz (elarifr) <[email protected]> | ||
* Copyright (C) 2013-2021 Florian Henry <[email protected]> | ||
* Copyright (C) 2014 Juanjo Menent <[email protected]> | ||
* Copyright (C) 2016 Laurent Destailleur <[email protected]> | ||
* Copyright (C) 2021 Gauthier VERDOL <[email protected]> | ||
* | ||
* 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 | ||
|
@@ -232,7 +232,7 @@ | |
|
||
$help_url = 'EN:Module_Double_Entry_Accounting|FR:Module_Comptabilité_en_Partie_Double#Liaisons_comptables'; | ||
|
||
llxHeader('', $langs->trans("CustomersVentilation"), $help_url, '', 0, 0, '', '', '', 'mod-accountancy accountancy-customer page-list'); | ||
llxHeader('', $langs->trans("CustomersVentilation"), $help_url, '', 0, 0, '', '', '', 'bodyforlist mod-accountancy accountancy-customer page-list'); | ||
|
||
if (empty($chartaccountcode)) { | ||
print $langs->trans("ErrorChartOfAccountSystemNotSelected"); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
<?php | ||
/* Copyright (C) 2013-2014 Olivier Geffroy <[email protected]> | ||
* Copyright (C) 2013-2024 Alexandre Spangaro <[email protected]> | ||
* Copyright (C) 2014-2015 Ari Elbaz (elarifr) <[email protected]> | ||
* Copyright (C) 2013-2014 Florian Henry <[email protected]> | ||
* Copyright (C) 2014 Juanjo Menent <[email protected]> | ||
* Copyright (C) 2016 Laurent Destailleur <[email protected]> | ||
* Copyright (C) 2024 Frédéric France <[email protected]> | ||
/* Copyright (C) 2013-2014 Olivier Geffroy <[email protected]> | ||
* Copyright (C) 2013-2024 Alexandre Spangaro <[email protected]> | ||
* Copyright (C) 2014-2015 Ari Elbaz (elarifr) <[email protected]> | ||
* Copyright (C) 2013-2014 Florian Henry <[email protected]> | ||
* Copyright (C) 2014 Juanjo Menent <[email protected]> | ||
* Copyright (C) 2016 Laurent Destailleur <[email protected]> | ||
* Copyright (C) 2024 Frédéric France <[email protected]> | ||
* | ||
* 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 | ||
|
@@ -225,7 +225,7 @@ | |
|
||
$help_url = 'EN:Module_Double_Entry_Accounting|FR:Module_Comptabilité_en_Partie_Double#Liaisons_comptables'; | ||
|
||
llxHeader('', $langs->trans("ExpenseReportsVentilation"), $help_url, '', 0, 0, '', '', '', 'mod-accountancy accountancy-expensereport page-list'); | ||
llxHeader('', $langs->trans("ExpenseReportsVentilation"), $help_url, '', 0, 0, '', '', '', 'bodyforlist mod-accountancy accountancy-expensereport page-list'); | ||
|
||
if (empty($chartaccountcode)) { | ||
print $langs->trans("ErrorChartOfAccountSystemNotSelected"); | ||
|
Oops, something went wrong.