mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-13 22:54:25 +01:00
Update ProductTransformer.php
Additional fields for Product transformer.
This commit is contained in:
parent
6041c42270
commit
81b8f43122
@ -32,6 +32,8 @@ class ProductTransformer extends EntityTransformer
|
||||
'tax_rate2' => (float) $product->tax_rate2,
|
||||
'updated_at' => $this->getTimestamp($product->updated_at),
|
||||
'archived_at' => $this->getTimestamp($product->deleted_at),
|
||||
'custom_value1' => $product->custom_value1,
|
||||
'custom_value2' => $product->custom_value2,
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user