diff --git a/app/Export/CSV/ClientExport.php b/app/Export/CSV/ClientExport.php index 8bce15694..819da8ef3 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 396970a39..13535dbe7 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 a5391b7ed..25d71d50f 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 906dad659..5c4f8acfe 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 5004fe5ec..4c7843635 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 2155e2586..ecf585c24 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 8ee6e95b5..d60e8ab79 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 008c2a4cd..661281093 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 590f9892b..52ed8f54e 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 a4e625cc8..235ea1cda 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 6877c04bb..3d3931a52 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 6ed8d8e36..be071bf47 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 927a52f34..274f33e13 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';