protected function TaxReport::doBuildReportTableHeaders in Commerce Reporting 8
Builds the report table headers.
Return value
array The report table headers.
Overrides ReportTypeBase::doBuildReportTableHeaders
File
- src/
Plugin/ Commerce/ ReportType/ TaxReport.php, line 184
Class
- TaxReport
- Provide a report for Taxes on behalf of commerce_tax.
Namespace
Drupal\commerce_reports\Plugin\Commerce\ReportTypeCode
protected function doBuildReportTableHeaders() {
return [
'formatted_date' => t('Date'),
'tax_type_id_count' => t('# Tax charges'),
'tax_amount_sum' => t('Total tax amount'),
'tax_amount_currency_code' => t('Currency'),
];
}