Minor fixes for statement dates

This commit is contained in:
David Bomba 2022-05-11 10:01:24 +10:00
parent a72de5efb4
commit 62f518e25b

View File

@ -226,7 +226,7 @@ class Design extends BaseDesign
{ {
if ($this->type === 'statement') { if ($this->type === 'statement') {
$s_date = $this->translateDate($this->options['end_date'], $this->client->date_format(), $this->client->locale()); $s_date = $this->translateDate(now()->format('Y-m-d'), $this->client->date_format(), $this->client->locale());
return [ return [
['element' => 'tr', 'properties' => ['data-ref' => 'statement-label'], 'elements' => [ ['element' => 'tr', 'properties' => ['data-ref' => 'statement-label'], 'elements' => [