Update XLVask helpers: modify parser setup string, add 'Hænger' to usage log, and clean up whitespace.
This commit is contained in:
@@ -11,7 +11,7 @@ class xlvask_parser_vask_udf_rt extends xlvask_product_parser
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
$this->setup('vask_udf_rt');
|
||||
$this->setup('Vask udført');
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -312,6 +312,7 @@ class xlvask_usage_log extends xlvask_helper
|
||||
'Stor bil',
|
||||
'Lille bil',
|
||||
'Vask udført',
|
||||
'Hænger',
|
||||
];
|
||||
usort($generatedItems, function ($a, $b) use ($primaryItems) {
|
||||
// Check if the item is a primary item
|
||||
@@ -362,7 +363,7 @@ class xlvask_usage_log extends xlvask_helper
|
||||
// Check if the parameter is empty or matches the default values
|
||||
return $param === null || $param === '' || $param === $this->default_string || $param === $this->default_int || $param === $this->default_bool || $param === $this->default_int_nullable || $param === $this->default_string_nullable || $param === $this->default_bool_nullable;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Get the formatted date of the wash start time.
|
||||
|
||||
Reference in New Issue
Block a user