Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
scx1332 committed Jan 5, 2024
1 parent c53a29c commit fa0b704
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions core/payment/src/api/debit_notes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,8 @@ async fn accept_debit_note(
Ok(Some(invoice)) => match invoice.status {
DocumentStatus::Issued => {
log::error!(
"Wrong status for invoice [{}] for Activity [{}] and agreement [{}]",
"Wrong status [{}] for invoice [{}] for Activity [{}] and agreement [{}]",
invoice.status,
invoice.invoice_id,
activity_id,
activity.agreement_id
Expand All @@ -372,8 +373,8 @@ async fn accept_debit_note(
| DocumentStatus::Cancelled => {
log::info!("Received debit note [{}] for already existing invoice [{}] with status {} for Activity [{}] and agreement [{}]",
debit_note_id,
invoice.status,
invoice.invoice_id,
invoice.status,
activity_id,
activity.agreement_id
);
Expand Down

0 comments on commit fa0b704

Please sign in to comment.