fixed recurring message
This commit is contained in:
parent
7e5920d71f
commit
38bbf8d6b2
@ -741,9 +741,7 @@ abstract class Show extends Component
|
|||||||
return $textRecurringType;
|
return $textRecurringType;
|
||||||
}
|
}
|
||||||
|
|
||||||
$default_key = config('type.' . static::OBJECT_TYPE . '.' . $type . '.translation.prefix');
|
$translation = config('type.' . static::OBJECT_TYPE . '.' . $type . '.translation.tab_document');
|
||||||
|
|
||||||
$translation = $this->getTextFromConfig($type, 'recurring_tye', $default_key);
|
|
||||||
|
|
||||||
if (! empty($translation)) {
|
if (! empty($translation)) {
|
||||||
return $translation;
|
return $translation;
|
||||||
|
@ -1113,9 +1113,7 @@ abstract class Show extends Component
|
|||||||
return $textRecurringType;
|
return $textRecurringType;
|
||||||
}
|
}
|
||||||
|
|
||||||
$default_key = config('type.transaction.' . $type . '.translation.transactions');
|
$translation = config('type.transaction.' . $type . '.translation.transactions');
|
||||||
|
|
||||||
$translation = $this->getTextFromConfig($type, 'recurring_type', $default_key);
|
|
||||||
|
|
||||||
if (! empty($translation)) {
|
if (! empty($translation)) {
|
||||||
return $translation;
|
return $translation;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user