mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01:00
Improvements for reports
This commit is contained in:
parent
325ded4e85
commit
96af8dc4fd
@ -28,7 +28,7 @@ class ClientExport extends BaseExport
|
||||
|
||||
private $contact_transformer;
|
||||
|
||||
protected string $date_key = 'created_at';
|
||||
public string $date_key = 'created_at';
|
||||
|
||||
protected array $entity_keys = [
|
||||
'address1' => 'client.address1',
|
||||
|
@ -29,7 +29,7 @@ class ContactExport extends BaseExport
|
||||
|
||||
private ClientContactTransformer $contact_transformer;
|
||||
|
||||
protected string $date_key = 'created_at';
|
||||
public string $date_key = 'created_at';
|
||||
|
||||
protected array $entity_keys = [
|
||||
'address1' => 'client.address1',
|
||||
|
@ -25,7 +25,7 @@ class CreditExport extends BaseExport
|
||||
|
||||
private CreditTransformer $credit_transformer;
|
||||
|
||||
protected string $date_key = 'created_at';
|
||||
public string $date_key = 'created_at';
|
||||
|
||||
protected array $entity_keys = [
|
||||
'amount' => 'amount',
|
||||
|
@ -25,7 +25,7 @@ class DocumentExport extends BaseExport
|
||||
|
||||
private $entity_transformer;
|
||||
|
||||
protected $date_key = 'created_at';
|
||||
public $date_key = 'created_at';
|
||||
|
||||
protected array $entity_keys = [
|
||||
'record_type' => 'record_type',
|
||||
|
@ -25,7 +25,7 @@ class ExpenseExport extends BaseExport
|
||||
|
||||
private $expense_transformer;
|
||||
|
||||
protected $date_key = 'date';
|
||||
public $date_key = 'date';
|
||||
|
||||
protected array $entity_keys = [
|
||||
'amount' => 'amount',
|
||||
|
@ -25,7 +25,7 @@ class InvoiceExport extends BaseExport
|
||||
|
||||
private $invoice_transformer;
|
||||
|
||||
protected string $date_key = 'date';
|
||||
public string $date_key = 'date';
|
||||
|
||||
protected array $entity_keys = [
|
||||
'amount' => 'amount',
|
||||
|
@ -26,7 +26,7 @@ class InvoiceItemExport extends BaseExport
|
||||
|
||||
private $invoice_transformer;
|
||||
|
||||
protected string $date_key = 'date';
|
||||
public string $date_key = 'date';
|
||||
|
||||
protected array $entity_keys = [
|
||||
'amount' => 'amount',
|
||||
|
@ -25,7 +25,7 @@ class PaymentExport extends BaseExport
|
||||
|
||||
private $entity_transformer;
|
||||
|
||||
protected $date_key = 'date';
|
||||
public $date_key = 'date';
|
||||
|
||||
protected array $entity_keys = [
|
||||
'amount' => 'amount',
|
||||
|
@ -26,7 +26,7 @@ class ProductExport extends BaseExport
|
||||
|
||||
private $entity_transformer;
|
||||
|
||||
protected $date_key = 'created_at';
|
||||
public $date_key = 'created_at';
|
||||
|
||||
protected array $entity_keys = [
|
||||
'project' => 'project_id',
|
||||
|
@ -25,7 +25,7 @@ class QuoteExport extends BaseExport
|
||||
|
||||
private $quote_transformer;
|
||||
|
||||
protected string $date_key = 'date';
|
||||
public string $date_key = 'date';
|
||||
|
||||
protected array $entity_keys = [
|
||||
'amount' => 'amount',
|
||||
|
@ -25,7 +25,7 @@ class QuoteItemExport extends BaseExport
|
||||
|
||||
private $quote_transformer;
|
||||
|
||||
protected string $date_key = 'date';
|
||||
public string $date_key = 'date';
|
||||
|
||||
protected array $entity_keys = [
|
||||
'amount' => 'amount',
|
||||
|
@ -25,7 +25,7 @@ class RecurringInvoiceExport extends BaseExport
|
||||
|
||||
private $invoice_transformer;
|
||||
|
||||
protected string $date_key = 'date';
|
||||
public string $date_key = 'date';
|
||||
|
||||
protected array $entity_keys = [
|
||||
'amount' => 'amount',
|
||||
|
@ -28,7 +28,7 @@ class TaskExport extends BaseExport
|
||||
|
||||
private $entity_transformer;
|
||||
|
||||
protected $date_key = 'created_at';
|
||||
public $date_key = 'created_at';
|
||||
|
||||
private string $date_format = 'YYYY-MM-DD';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user