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
96af8dc4fd
commit
a3de5daef8
@ -30,7 +30,7 @@ class ClientExport extends BaseExport
|
|||||||
|
|
||||||
public string $date_key = 'created_at';
|
public string $date_key = 'created_at';
|
||||||
|
|
||||||
protected array $entity_keys = [
|
public array $entity_keys = [
|
||||||
'address1' => 'client.address1',
|
'address1' => 'client.address1',
|
||||||
'address2' => 'client.address2',
|
'address2' => 'client.address2',
|
||||||
'balance' => 'client.balance',
|
'balance' => 'client.balance',
|
||||||
|
@ -31,7 +31,7 @@ class ContactExport extends BaseExport
|
|||||||
|
|
||||||
public string $date_key = 'created_at';
|
public string $date_key = 'created_at';
|
||||||
|
|
||||||
protected array $entity_keys = [
|
public array $entity_keys = [
|
||||||
'address1' => 'client.address1',
|
'address1' => 'client.address1',
|
||||||
'address2' => 'client.address2',
|
'address2' => 'client.address2',
|
||||||
'balance' => 'client.balance',
|
'balance' => 'client.balance',
|
||||||
|
@ -27,7 +27,7 @@ class CreditExport extends BaseExport
|
|||||||
|
|
||||||
public string $date_key = 'created_at';
|
public string $date_key = 'created_at';
|
||||||
|
|
||||||
protected array $entity_keys = [
|
public array $entity_keys = [
|
||||||
'amount' => 'amount',
|
'amount' => 'amount',
|
||||||
'balance' => 'balance',
|
'balance' => 'balance',
|
||||||
'client' => 'client_id',
|
'client' => 'client_id',
|
||||||
|
@ -27,7 +27,7 @@ class DocumentExport extends BaseExport
|
|||||||
|
|
||||||
public $date_key = 'created_at';
|
public $date_key = 'created_at';
|
||||||
|
|
||||||
protected array $entity_keys = [
|
public array $entity_keys = [
|
||||||
'record_type' => 'record_type',
|
'record_type' => 'record_type',
|
||||||
// 'record_name' => 'record_name',
|
// 'record_name' => 'record_name',
|
||||||
'name' => 'name',
|
'name' => 'name',
|
||||||
|
@ -27,7 +27,7 @@ class ExpenseExport extends BaseExport
|
|||||||
|
|
||||||
public $date_key = 'date';
|
public $date_key = 'date';
|
||||||
|
|
||||||
protected array $entity_keys = [
|
public array $entity_keys = [
|
||||||
'amount' => 'amount',
|
'amount' => 'amount',
|
||||||
'category' => 'category_id',
|
'category' => 'category_id',
|
||||||
'client' => 'client_id',
|
'client' => 'client_id',
|
||||||
|
@ -27,7 +27,7 @@ class InvoiceExport extends BaseExport
|
|||||||
|
|
||||||
public string $date_key = 'date';
|
public string $date_key = 'date';
|
||||||
|
|
||||||
protected array $entity_keys = [
|
public array $entity_keys = [
|
||||||
'amount' => 'amount',
|
'amount' => 'amount',
|
||||||
'balance' => 'balance',
|
'balance' => 'balance',
|
||||||
'client' => 'client_id',
|
'client' => 'client_id',
|
||||||
|
@ -28,7 +28,7 @@ class InvoiceItemExport extends BaseExport
|
|||||||
|
|
||||||
public string $date_key = 'date';
|
public string $date_key = 'date';
|
||||||
|
|
||||||
protected array $entity_keys = [
|
public array $entity_keys = [
|
||||||
'amount' => 'amount',
|
'amount' => 'amount',
|
||||||
'balance' => 'balance',
|
'balance' => 'balance',
|
||||||
'client' => 'client_id',
|
'client' => 'client_id',
|
||||||
|
@ -27,7 +27,7 @@ class PaymentExport extends BaseExport
|
|||||||
|
|
||||||
public $date_key = 'date';
|
public $date_key = 'date';
|
||||||
|
|
||||||
protected array $entity_keys = [
|
public array $entity_keys = [
|
||||||
'amount' => 'amount',
|
'amount' => 'amount',
|
||||||
'applied' => 'applied',
|
'applied' => 'applied',
|
||||||
'client' => 'client_id',
|
'client' => 'client_id',
|
||||||
|
@ -28,7 +28,7 @@ class ProductExport extends BaseExport
|
|||||||
|
|
||||||
public $date_key = 'created_at';
|
public $date_key = 'created_at';
|
||||||
|
|
||||||
protected array $entity_keys = [
|
public array $entity_keys = [
|
||||||
'project' => 'project_id',
|
'project' => 'project_id',
|
||||||
'vendor' => 'vendor_id',
|
'vendor' => 'vendor_id',
|
||||||
'custom_value1' => 'custom_value1',
|
'custom_value1' => 'custom_value1',
|
||||||
|
@ -27,7 +27,7 @@ class QuoteExport extends BaseExport
|
|||||||
|
|
||||||
public string $date_key = 'date';
|
public string $date_key = 'date';
|
||||||
|
|
||||||
protected array $entity_keys = [
|
public array $entity_keys = [
|
||||||
'amount' => 'amount',
|
'amount' => 'amount',
|
||||||
'balance' => 'balance',
|
'balance' => 'balance',
|
||||||
'client' => 'client_id',
|
'client' => 'client_id',
|
||||||
|
@ -27,7 +27,7 @@ class QuoteItemExport extends BaseExport
|
|||||||
|
|
||||||
public string $date_key = 'date';
|
public string $date_key = 'date';
|
||||||
|
|
||||||
protected array $entity_keys = [
|
public array $entity_keys = [
|
||||||
'amount' => 'amount',
|
'amount' => 'amount',
|
||||||
'balance' => 'balance',
|
'balance' => 'balance',
|
||||||
'client' => 'client_id',
|
'client' => 'client_id',
|
||||||
|
@ -27,7 +27,7 @@ class RecurringInvoiceExport extends BaseExport
|
|||||||
|
|
||||||
public string $date_key = 'date';
|
public string $date_key = 'date';
|
||||||
|
|
||||||
protected array $entity_keys = [
|
public array $entity_keys = [
|
||||||
'amount' => 'amount',
|
'amount' => 'amount',
|
||||||
'balance' => 'balance',
|
'balance' => 'balance',
|
||||||
'client' => 'client_id',
|
'client' => 'client_id',
|
||||||
|
@ -32,7 +32,7 @@ class TaskExport extends BaseExport
|
|||||||
|
|
||||||
private string $date_format = 'YYYY-MM-DD';
|
private string $date_format = 'YYYY-MM-DD';
|
||||||
|
|
||||||
protected array $entity_keys = [
|
public array $entity_keys = [
|
||||||
'start_date' => 'start_date',
|
'start_date' => 'start_date',
|
||||||
'end_date' => 'end_date',
|
'end_date' => 'end_date',
|
||||||
'duration' => 'duration',
|
'duration' => 'duration',
|
||||||
|
Loading…
Reference in New Issue
Block a user