Skip to content

Commit 9b0db0c

Browse files
committed
FOSFASPRT-78: Change credit note reference to just show contribution ID
1 parent 6cba5b3 commit 9b0db0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Civi/Api4/Action/CreditNote/AllocateOverpaymentAction.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ private function createOverpaymentCreditNote(
179179
'currency' => $currency,
180180
'date' => $today,
181181
'description' => ts('Overpayment'),
182-
'reference' => ts('Contribution #%1', [1 => $this->contributionId]),
182+
'reference' => (string) $this->contributionId,
183183
'items' => [
184184
[
185185
'description' => ts('Overpayment %1', [1 => $todayFormatted]),

0 commit comments

Comments
 (0)