Skip to content

Commit

Permalink
add explainatory comment
Browse files Browse the repository at this point in the history
  • Loading branch information
annvelents committed Oct 11, 2024
1 parent 1197512 commit 4f3fd42
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/models/wallet_transaction.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ class WalletTransaction < ApplicationRecord
include PaperTrailTraceable

belongs_to :wallet

# these two relationships are populated only for outbound transactions
belongs_to :invoice, optional: true
belongs_to :credit_note, optional: true

Expand Down

0 comments on commit 4f3fd42

Please sign in to comment.