mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-08 16:22:16 +01:00
add support for interval / duration format in frontend views
This commit is contained in:
committed by
Constantin Graf
parent
b8d9bc5b7e
commit
c1d43bcc67
@@ -73,6 +73,16 @@ class DetailedWithDataReportResource extends BaseResource
|
||||
'public_until' => $this->formatDateTime($this->resource->public_until),
|
||||
/** @var string $currency Currency code (ISO 4217) */
|
||||
'currency' => $this->resource->organization->currency,
|
||||
/** @var string $number_format Number format */
|
||||
'number_format' => $this->resource->organization->number_format,
|
||||
/** @var string $currency_format Currency format */
|
||||
'currency_format' => $this->resource->organization->currency_format,
|
||||
/** @var string $date_format Date format */
|
||||
'date_format' => $this->resource->organization->date_format,
|
||||
/** @var string $interval_format Interval format */
|
||||
'interval_format' => $this->resource->organization->interval_format,
|
||||
/** @var string $time_format Time format */
|
||||
'time_format' => $this->resource->organization->time_format,
|
||||
'properties' => [
|
||||
/** @var string $group Type of first grouping */
|
||||
'group' => $this->resource->properties->group->value,
|
||||
|
||||
Reference in New Issue
Block a user