diff --git a/app/Services/Report/ARDetailReport.php b/app/Services/Report/ARDetailReport.php index 8c324cafa42b..c283a0a84ab0 100644 --- a/app/Services/Report/ARDetailReport.php +++ b/app/Services/Report/ARDetailReport.php @@ -40,6 +40,7 @@ class ARDetailReport extends BaseExport public array $report_keys = [ 'date', + 'due_date', 'invoice_number', 'status', 'client_name', @@ -114,6 +115,7 @@ class ARDetailReport extends BaseExport $client = $invoice->client; return [ + $this->translateDate($invoice->date, $this->company->date_format(), $this->company->locale()), $this->translateDate($invoice->due_date, $this->company->date_format(), $this->company->locale()), $invoice->number, $invoice->stringStatus($invoice->status_id), diff --git a/app/Services/Report/ClientBalanceReport.php b/app/Services/Report/ClientBalanceReport.php index 498a018a2aea..d94679776106 100644 --- a/app/Services/Report/ClientBalanceReport.php +++ b/app/Services/Report/ClientBalanceReport.php @@ -36,6 +36,7 @@ class ClientBalanceReport extends BaseExport 'client_name', 'client_number', 'id_number', + 'invoices', 'invoice_balance', 'credit_balance', ]; @@ -68,7 +69,7 @@ class ClientBalanceReport extends BaseExport $this->csv->insertOne([]); $this->csv->insertOne([]); $this->csv->insertOne([]); - $this->csv->insertOne([ctrans('texts.customer_balance_report')]); + $this->csv->insertOne([ctrans('texts.client_balance_report')]); $this->csv->insertOne([ctrans('texts.created_on'),' ',$this->translateDate(now()->format('Y-m-d'), $this->company->date_format(), $this->company->locale())]); if (count($this->input['report_keys']) == 0) {