diff --git a/app/Export/CSV/ClientExport.php b/app/Export/CSV/ClientExport.php index 8bce15694e39..819da8ef3f60 100644 --- a/app/Export/CSV/ClientExport.php +++ b/app/Export/CSV/ClientExport.php @@ -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', diff --git a/app/Export/CSV/ContactExport.php b/app/Export/CSV/ContactExport.php index 396970a39ed3..13535dbe79aa 100644 --- a/app/Export/CSV/ContactExport.php +++ b/app/Export/CSV/ContactExport.php @@ -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', diff --git a/app/Export/CSV/CreditExport.php b/app/Export/CSV/CreditExport.php index a5391b7edff0..25d71d50f99e 100644 --- a/app/Export/CSV/CreditExport.php +++ b/app/Export/CSV/CreditExport.php @@ -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', diff --git a/app/Export/CSV/DocumentExport.php b/app/Export/CSV/DocumentExport.php index 906dad659272..5c4f8acfe0a9 100644 --- a/app/Export/CSV/DocumentExport.php +++ b/app/Export/CSV/DocumentExport.php @@ -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', diff --git a/app/Export/CSV/ExpenseExport.php b/app/Export/CSV/ExpenseExport.php index 5004fe5ecd7a..4c78436354a0 100644 --- a/app/Export/CSV/ExpenseExport.php +++ b/app/Export/CSV/ExpenseExport.php @@ -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', diff --git a/app/Export/CSV/InvoiceExport.php b/app/Export/CSV/InvoiceExport.php index 2155e2586924..ecf585c24914 100644 --- a/app/Export/CSV/InvoiceExport.php +++ b/app/Export/CSV/InvoiceExport.php @@ -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', diff --git a/app/Export/CSV/InvoiceItemExport.php b/app/Export/CSV/InvoiceItemExport.php index 8ee6e95b5539..d60e8ab7938e 100644 --- a/app/Export/CSV/InvoiceItemExport.php +++ b/app/Export/CSV/InvoiceItemExport.php @@ -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', diff --git a/app/Export/CSV/PaymentExport.php b/app/Export/CSV/PaymentExport.php index 008c2a4cd374..661281093ab4 100644 --- a/app/Export/CSV/PaymentExport.php +++ b/app/Export/CSV/PaymentExport.php @@ -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', diff --git a/app/Export/CSV/ProductExport.php b/app/Export/CSV/ProductExport.php index 590f9892b226..52ed8f54e1fc 100644 --- a/app/Export/CSV/ProductExport.php +++ b/app/Export/CSV/ProductExport.php @@ -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', diff --git a/app/Export/CSV/QuoteExport.php b/app/Export/CSV/QuoteExport.php index a4e625cc8d23..235ea1cdacb6 100644 --- a/app/Export/CSV/QuoteExport.php +++ b/app/Export/CSV/QuoteExport.php @@ -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', diff --git a/app/Export/CSV/QuoteItemExport.php b/app/Export/CSV/QuoteItemExport.php index 6877c04bb6d4..3d3931a5258a 100644 --- a/app/Export/CSV/QuoteItemExport.php +++ b/app/Export/CSV/QuoteItemExport.php @@ -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', diff --git a/app/Export/CSV/RecurringInvoiceExport.php b/app/Export/CSV/RecurringInvoiceExport.php index 6ed8d8e3685a..be071bf47282 100644 --- a/app/Export/CSV/RecurringInvoiceExport.php +++ b/app/Export/CSV/RecurringInvoiceExport.php @@ -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', diff --git a/app/Export/CSV/TaskExport.php b/app/Export/CSV/TaskExport.php index 927a52f346c2..274f33e136bd 100644 --- a/app/Export/CSV/TaskExport.php +++ b/app/Export/CSV/TaskExport.php @@ -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';