add notes
This commit is contained in:
parent
b468aab088
commit
30b6f6a7b3
5 changed files with 15 additions and 3 deletions
|
@ -162,8 +162,9 @@ impl Variant {
|
|||
price: Price,
|
||||
origin: Option<&str>,
|
||||
location: Option<&str>,
|
||||
note: Option<&str>,
|
||||
) -> Transaction {
|
||||
let t = Transaction::new(&self.item, &self.variant, price, origin, location).await;
|
||||
let t = Transaction::new(&self.item, &self.variant, price, origin, location, note).await;
|
||||
|
||||
t.insert().await.unwrap();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue