-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
38 additions
and
26 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<?php | ||
/* Copyright (C) 2005-2022 Laurent Destailleur <[email protected]> | ||
* Copyright (C) 2024 Alexandre Spangaro <[email protected]> | ||
* Copyright (C) 2024 Frédéric France <[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 | ||
|
@@ -415,12 +415,12 @@ | |
$candelete = $permissiontodelete; | ||
|
||
// Title | ||
print '<td class="tdoverflowmax200" alt="'.dol_escape_htmltag($title).'">'; | ||
print '<td class="tdoverflowmax250" alt="'.dol_escape_htmltag($title).'">'; | ||
print dol_escape_htmltag($title); | ||
print "</td>\n"; | ||
|
||
// Url | ||
print '<td class="tdoverflowmax200">'; | ||
print '<td class="tdoverflowmax250">'; | ||
if (empty($linkintern)) { | ||
print img_picto('', 'url', 'class="pictofixedwidth"'); | ||
print '<a class="" href="'.$obj->url.'"'.($obj->target ? ' target="newlink" rel="noopener"' : '').'>'; | ||
|
@@ -433,7 +433,7 @@ | |
print "</td>\n"; | ||
|
||
// Target | ||
print '<td class="tdoverflowmax100 center">'; | ||
print '<td class="tdoverflowmax125 center">'; | ||
if ($obj->target == 0) { | ||
print $langs->trans("BookmarkTargetReplaceWindowShort"); | ||
} | ||
|
@@ -443,7 +443,7 @@ | |
print "</td>\n"; | ||
|
||
// Author | ||
print '<td class="tdoverflowmax100 center">'; | ||
print '<td class="tdoverflowmax125 center">'; | ||
if ($obj->fk_user > 0) { | ||
if (empty($conf->cache['users'][$obj->fk_user])) { | ||
$tmpuser = new User($db); | ||
|
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 |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
* Copyright (C) 2004 Christophe Combelles <[email protected]> | ||
* Copyright (C) 2005 Marc Barilley <[email protected]> | ||
* Copyright (C) 2005-2012 Regis Houssin <[email protected]> | ||
* Copyright (C) 2010-2020 Juanjo Menent <jmenent@2byte.es> | ||
* Copyright (C) 2010-2023 Juanjo Menent <jmenent@simnandez.es> | ||
* Copyright (C) 2013-2019 Philippe Grand <[email protected]> | ||
* Copyright (C) 2013 Florian Henry <[email protected]> | ||
* Copyright (C) 2014-2016 Marcos García <[email protected]> | ||
|
@@ -1197,6 +1197,12 @@ public function update($user = null, $notrigger = 0) | |
if (empty($this->total_tva)) { | ||
$this->total_tva = 0; | ||
} | ||
if (empty($this->total_localtax1)) { | ||
$this->total_localtax1 = 0; | ||
} | ||
if (empty($this->total_localtax2)) { | ||
$this->total_localtax2 = 0; | ||
} | ||
if (isset($this->total_ttc)) { | ||
$this->total_ttc = (float) $this->total_ttc; | ||
} | ||
|
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 |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
* Copyright (C) 2004 Christophe Combelles <[email protected]> | ||
* Copyright (C) 2005 Marc Barilley <[email protected]> | ||
* Copyright (C) 2005-2013 Regis Houssin <[email protected]> | ||
* Copyright (C) 2010-2019 Juanjo Menent <jmenent@2byte.es> | ||
* Copyright (C) 2010-2023 Juanjo Menent <jmenent@simnandez.es> | ||
* Copyright (C) 2013-2022 Philippe Grand <[email protected]> | ||
* Copyright (C) 2013 Florian Henry <[email protected]> | ||
* Copyright (C) 2014-2016 Marcos García <[email protected]> | ||
|
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