Fix: Not loading supplier name (#26278)

* Fix: Not loading thirdparty on supplier payment

* Fix: Not loading supplier name

* Fix: Not loading supplier name

---------

Co-authored-by: Juanjo Menent <jmenent@2byte.es>
This commit is contained in:
Ferran Marcet 2023-10-20 02:16:27 +02:00 committed by GitHub
parent df12944034
commit 2f5df0f631
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,6 @@
<?php
/* Copyright (C) 2020 Maxime Kohlhaas <maxime@atm-consulting.fr>
* Copyright (C) 2023 Ferran Marcet <fmarcet@2byte.es>
*
* 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
@ -330,7 +331,7 @@ if ($resql) {
$amount_ht[$obj->socid] = (empty($obj->amount) ? 0 : $obj->amount);
$amount[$obj->socid] = $obj->amount_ttc;
//$name[$obj->socid] = $obj->name.' '.$obj->firstname;
$name[$obj->socid] = $obj->name;
$address_zip[$obj->socid] = $obj->zip;
$address_town[$obj->socid] = $obj->town;