mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01:00
Clean up for exports
This commit is contained in:
parent
999b4c6d76
commit
325ded4e85
@ -24,16 +24,10 @@ class ClientExport extends BaseExport
|
||||
{
|
||||
private $company;
|
||||
|
||||
protected $input;
|
||||
|
||||
private $client_transformer;
|
||||
|
||||
private $contact_transformer;
|
||||
|
||||
private string $start_date;
|
||||
|
||||
private string $end_date;
|
||||
|
||||
protected string $date_key = 'created_at';
|
||||
|
||||
protected array $entity_keys = [
|
||||
|
@ -25,8 +25,6 @@ class ContactExport extends BaseExport
|
||||
{
|
||||
private Company $company;
|
||||
|
||||
protected array $input;
|
||||
|
||||
private ClientTransformer $client_transformer;
|
||||
|
||||
private ClientContactTransformer $contact_transformer;
|
||||
|
@ -23,8 +23,6 @@ class CreditExport extends BaseExport
|
||||
{
|
||||
private Company $company;
|
||||
|
||||
protected array $input;
|
||||
|
||||
private CreditTransformer $credit_transformer;
|
||||
|
||||
protected string $date_key = 'created_at';
|
||||
|
@ -23,8 +23,6 @@ class DocumentExport extends BaseExport
|
||||
{
|
||||
private Company $company;
|
||||
|
||||
protected array $input;
|
||||
|
||||
private $entity_transformer;
|
||||
|
||||
protected $date_key = 'created_at';
|
||||
|
@ -23,8 +23,6 @@ class ExpenseExport extends BaseExport
|
||||
{
|
||||
private Company $company;
|
||||
|
||||
protected array $input;
|
||||
|
||||
private $expense_transformer;
|
||||
|
||||
protected $date_key = 'date';
|
||||
|
@ -23,8 +23,6 @@ class InvoiceExport extends BaseExport
|
||||
{
|
||||
private Company $company;
|
||||
|
||||
protected array $input;
|
||||
|
||||
private $invoice_transformer;
|
||||
|
||||
protected string $date_key = 'date';
|
||||
|
@ -24,8 +24,6 @@ class InvoiceItemExport extends BaseExport
|
||||
{
|
||||
private Company $company;
|
||||
|
||||
protected array $input;
|
||||
|
||||
private $invoice_transformer;
|
||||
|
||||
protected string $date_key = 'date';
|
||||
|
@ -13,7 +13,6 @@ namespace App\Export\CSV;
|
||||
|
||||
use App\Libraries\MultiDB;
|
||||
use App\Models\Company;
|
||||
use App\Models\Document;
|
||||
use App\Models\Payment;
|
||||
use App\Transformers\PaymentTransformer;
|
||||
use App\Utils\Ninja;
|
||||
@ -24,8 +23,6 @@ class PaymentExport extends BaseExport
|
||||
{
|
||||
private Company $company;
|
||||
|
||||
protected array $input;
|
||||
|
||||
private $entity_transformer;
|
||||
|
||||
protected $date_key = 'date';
|
||||
|
@ -24,8 +24,6 @@ class ProductExport extends BaseExport
|
||||
{
|
||||
private Company $company;
|
||||
|
||||
protected array $input;
|
||||
|
||||
private $entity_transformer;
|
||||
|
||||
protected $date_key = 'created_at';
|
||||
|
@ -25,8 +25,6 @@ class ProductSalesExport extends BaseExport
|
||||
{
|
||||
private Company $company;
|
||||
|
||||
public array $input;
|
||||
|
||||
public string $date_key = 'created_at';
|
||||
|
||||
protected Collection $products;
|
||||
|
@ -23,8 +23,6 @@ class QuoteExport extends BaseExport
|
||||
{
|
||||
private Company $company;
|
||||
|
||||
protected array $input;
|
||||
|
||||
private $quote_transformer;
|
||||
|
||||
protected string $date_key = 'date';
|
||||
|
@ -23,8 +23,6 @@ class QuoteItemExport extends BaseExport
|
||||
{
|
||||
private Company $company;
|
||||
|
||||
protected array $input;
|
||||
|
||||
private $quote_transformer;
|
||||
|
||||
protected string $date_key = 'date';
|
||||
|
@ -23,8 +23,6 @@ class RecurringInvoiceExport extends BaseExport
|
||||
{
|
||||
private Company $company;
|
||||
|
||||
protected array $input;
|
||||
|
||||
private $invoice_transformer;
|
||||
|
||||
protected string $date_key = 'date';
|
||||
|
@ -26,8 +26,6 @@ class TaskExport extends BaseExport
|
||||
{
|
||||
private Company $company;
|
||||
|
||||
protected array $input;
|
||||
|
||||
private $entity_transformer;
|
||||
|
||||
protected $date_key = 'created_at';
|
||||
|
Loading…
Reference in New Issue
Block a user