mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -04:00
Remove tax_data from transformers
This commit is contained in:
parent
f3c911fccf
commit
03b73b2701
@ -150,7 +150,7 @@ class ClientTransformer extends EntityTransformer
|
||||
'has_valid_vat_number' => (bool) $client->has_valid_vat_number,
|
||||
'is_tax_exempt' => (bool) $client->is_tax_exempt,
|
||||
'routing_id' => (string) $client->routing_id,
|
||||
'tax_data' => $client->tax_data ?: '',
|
||||
// 'tax_data' => $client->tax_data ?: '',
|
||||
];
|
||||
}
|
||||
}
|
||||
|
@ -149,7 +149,7 @@ class InvoiceTransformer extends EntityTransformer
|
||||
'paid_to_date' => (float) $invoice->paid_to_date,
|
||||
'subscription_id' => $this->encodePrimaryKey($invoice->subscription_id),
|
||||
'auto_bill_enabled' => (bool) $invoice->auto_bill_enabled,
|
||||
'tax_data' => $invoice->tax_data ?: '',
|
||||
// 'tax_data' => $invoice->tax_data ?: '',
|
||||
];
|
||||
}
|
||||
}
|
||||
|
@ -7,8 +7,8 @@ parameters:
|
||||
- '#Call to an undefined method Illuminate\Database\Eloquent\Builder::exclude#'
|
||||
level: 4
|
||||
paths:
|
||||
- app
|
||||
- 'app/'
|
||||
excludePaths:
|
||||
- vendor
|
||||
- 'vendor/'
|
||||
universalObjectCratesClasses:
|
||||
- App\DataMapper\Tax\RuleInterface
|
Loading…
x
Reference in New Issue
Block a user