transaction show page file updated..

This commit is contained in:
Cüneyt Şentürk
2021-06-24 13:52:49 +03:00
parent 0f6ef79384
commit 19a417791e
32 changed files with 2743 additions and 336 deletions

View File

@ -59,4 +59,20 @@ trait Transactions
'transaction.type.' . $index => implode(',', $types),
])->save();
}
protected function getSettingKey($type, $setting_key)
{
$key = '';
$alias = config('type.' . $type . '.alias');
if (!empty($alias)) {
$key .= $alias . '.';
}
$prefix = config('type.' . $type . '.setting.prefix');
$key .= $prefix . '.' . $setting_key;
return $key;
}
}