mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-08 18:14:30 -04:00
commit
aca1d40a8a
@ -13,8 +13,8 @@ class InvoiceItemTransformer extends EntityTransformer
|
||||
'product_key' => $item->product_key,
|
||||
'account_key' => $this->account->account_key,
|
||||
'user_id' => (int) $item->user_id,
|
||||
'invoice_id' => (int) $item->invoice_id,
|
||||
'product_id' => (int) $item->product_id,
|
||||
'invoice_id' => (int) $item->invoice->public_id,
|
||||
'product_id' => (int) $item->product->public_id,
|
||||
'updated_at' => $item->updated_at,
|
||||
'deleted_at' => $item->deleted_at,
|
||||
'product_key' => $item->product_key,
|
||||
|
@ -13,6 +13,9 @@ class ProductTransformer extends EntityTransformer
|
||||
'notes' => $product->notes,
|
||||
'cost' => $product->cost,
|
||||
'qty' => $product->qty,
|
||||
'account_key' =>$this->account->account_key,
|
||||
'default_tax_rate_id' =>$product->default_tax_rate_id,
|
||||
'updated_at' =>$product->updated_at,
|
||||
];
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user