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

Add default includes to transformers

This commit is contained in:
= 2020-08-15 10:51:26 +10:00
parent 74994364ec
commit 2faff4eb05
2 changed files with 2 additions and 1 deletions

View File

@ -27,6 +27,7 @@ class CompanyGatewayTransformer extends EntityTransformer
* @var array
*/
protected $defaultIncludes = [
'gateway'
];
/**

View File

@ -26,7 +26,7 @@ class PaymentTransformer extends EntityTransformer
protected $serializer;
protected $defaultIncludes = [
// 'invoices'
'paymentables',
'documents',
];