Fix comparison
This commit is contained in:
parent
b787e53020
commit
6cd3d27885
@ -4622,7 +4622,7 @@ elseif ($id > 0 || ! empty($ref))
|
|||||||
|
|
||||||
if ($ventilExportCompta == 0)
|
if ($ventilExportCompta == 0)
|
||||||
{
|
{
|
||||||
if (! empty($conf->global->INVOICE_CAN_ALWAYS_BE_EDITED) || ($resteapayer == $object->total_ttc && empty($object->paye)))
|
if (! empty($conf->global->INVOICE_CAN_ALWAYS_BE_EDITED) || ($resteapayer == price2num($object->total_ttc, 'MT', 1) && empty($object->paye)))
|
||||||
{
|
{
|
||||||
if (! $objectidnext && $object->is_last_in_cycle())
|
if (! $objectidnext && $object->is_last_in_cycle())
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user