Skip to content

Commit

Permalink
Add payment note as ref number #6
Browse files Browse the repository at this point in the history
  • Loading branch information
timbze committed Nov 27, 2021
1 parent d796fa4 commit 7b05747
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/quickbooks-online/src/src/Facade/QuickBooksFacade.php
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ function (array $a, array $b) {
],
'TotalAmt' => $ucrmPayment['creditAmount'],
'TxnDate' => substr($ucrmPayment['createdDate'], 0, 10),
'PrivateNote' => sprintf('UCRMID-%s', $ucrmPayment['id']),
'PaymentRefNum' => $ucrmPayment['note'],
]
);
$this->pauseIfNeeded();
Expand Down Expand Up @@ -544,7 +544,7 @@ function (array $a, array $b) {
'TotalAmt' => $ucrmPayment['amount'],
'Line' => $lineArray,
'TxnDate' => substr($ucrmPayment['createdDate'], 0, 10),
'PrivateNote' => sprintf('UCRMID-%s covers invoiceId %d', $ucrmPayment['id'], $paymentCovers['invoiceId']),
'PaymentRefNum' => $ucrmPayment['note'],
]
);

Expand Down

0 comments on commit 7b05747

Please sign in to comment.