Merge pull request #22068 from aspangaro/14p38

FIX Dictionary - Display error on cache_vatrates
This commit is contained in:
Laurent Destailleur 2022-09-04 12:31:46 +02:00 committed by GitHub
commit 029ea70c53
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1963,7 +1963,7 @@ if ($id) {
} elseif ($value == 'fk_tva') {
foreach ($form->cache_vatrates as $key => $Tab) {
if ($form->cache_vatrates[$key]['rowid'] == $valuetoshow) {
$valuetoshow = $form->cache_vatrates[$key]['libtva'];
$valuetoshow = $form->cache_vatrates[$key]['label'];
break;
}
}