mirror of
https://github.com/ash-project/ash_double_entry.git
synced 2024-09-19 13:03:19 +12:00
docs: fix module names
This commit is contained in:
parent
9dfad7d2fc
commit
8bf2e5c23e
1 changed files with 2 additions and 2 deletions
|
@ -194,13 +194,13 @@ YourApp.Ledger.Account
|
|||
#### Create transfers between accounts
|
||||
|
||||
```elixir
|
||||
Webuilt.Ledger.Transfer
|
||||
YourApp.Ledger.Transfer
|
||||
|> Ash.Changeset.for_create(:transfer, %{
|
||||
amount: Decimal.new(20),
|
||||
from_account_id: account_one.id,
|
||||
to_account_id: account_two.id
|
||||
})
|
||||
|> Webuilt.LedgerApi.create!()
|
||||
|> YourApp.LedgerApi.create!()
|
||||
```
|
||||
|
||||
#### Check an account's balance
|
||||
|
|
Loading…
Reference in a new issue