1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-12 14:12:44 +01:00

Update ProductTransformer.php

Additional fields for Product transformer.
This commit is contained in:
David Bomba 2017-09-11 12:41:53 +10:00 committed by GitHub
parent 6041c42270
commit 81b8f43122

View File

@ -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,
]);
}
}