minor fixes

This commit is contained in:
David Bomba 2024-10-28 21:18:06 +11:00
parent 6c54d11b0a
commit 6b578c436c
1 changed files with 2 additions and 1 deletions

View File

@ -800,7 +800,8 @@ class HtmlEngine
$amount = Number::formatMoney($refunded_invoice['amount'], $payment->client);
$notes = ctrans('texts.status_partially_refunded_amount', ['amount' => $amount]);
array_push($map, "{$date} {$entity} #{$invoice->number} {$notes}\n");
if($invoice)
array_push($map, "{$date} {$entity} #{$invoice->number} {$notes}\n");
}