Fix : Warning: Undefined property: stdClass::$TAKEPOS_TICKET_VAT_GROUPPED in /home/httpd/vhosts/aflac.fr/domains/dol190.aflac.fr/httpdocs/takepos/receipt.php on line 230 (#29687)

* fix : Warning: Undefined variable  in /home/httpd/vhosts/aflac.fr/domains/dol190.aflac.fr/httpdocs/compta/bank/various_payment/list.php on line 370

* backward

* update

* Fix waning during migration

* fix : Warning: Undefined property: stdClass:: in /home/httpd/vhosts/aflac.fr/domains/dol190.aflac.fr/httpdocs/takepos/receipt.php on line 230

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
This commit is contained in:
Philippe Grand 2024-05-15 15:53:49 +02:00 committed by GitHub
parent c31fd5042b
commit 369aafeff2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -227,7 +227,7 @@ if (getDolGlobalString('TAKEPOS_SHOW_DATE_OF_PRINING')) {
echo price($object->total_ht, 1, '', 1, - 1, - 1, $conf->currency)."\n";
} ?></td>
</tr>
<?php if ($conf->global->TAKEPOS_TICKET_VAT_GROUPPED) {
<?php if (getDolGlobalString('TAKEPOS_TICKET_VAT_GROUPPED')) {
$vat_groups = array();
foreach ($object->lines as $line) {
if (!array_key_exists($line->tva_tx, $vat_groups)) {