mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04: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,
|
'tax_rate2' => (float) $product->tax_rate2,
|
||||||
'updated_at' => $this->getTimestamp($product->updated_at),
|
'updated_at' => $this->getTimestamp($product->updated_at),
|
||||||
'archived_at' => $this->getTimestamp($product->deleted_at),
|
'archived_at' => $this->getTimestamp($product->deleted_at),
|
||||||
|
'custom_value1' => $product->custom_value1,
|
||||||
|
'custom_value2' => $product->custom_value2,
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user