Fixes for statement dates
This commit is contained in:
parent
1e416a3270
commit
b363ed4098
|
|
@ -1641,7 +1641,8 @@ class PdfBuilder
|
|||
*/
|
||||
public function statementDetails(): array
|
||||
{
|
||||
$s_date = $this->translateDate(now(), $this->service->config->date_format, $this->service->config->locale);
|
||||
|
||||
$s_date = $this->translateDate($this->service->options['start_date'], $this->service->config->date_format, $this->service->config->locale) . " - " . $this->translateDate($this->service->options['end_date'], $this->service->config->date_format, $this->service->config->locale);
|
||||
|
||||
return [
|
||||
['element' => 'tr', 'properties' => ['data-ref' => 'statement-label'], 'elements' => [
|
||||
|
|
|
|||
Loading…
Reference in New Issue