1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-02-24 23:37:51 +01:00

Fix minore

This commit is contained in:
Pek5892 2024-04-11 16:16:35 +02:00
parent 519c7219cd
commit 8a018f8606

View File

@ -209,7 +209,8 @@ switch (post('op')) {
break;
}
if ($module->getTranslation('name') == 'Ordini cliente') {
$module_fatture ??= strtolower($module_fatture);
$module_fatture = Module::find($id_modulo_fatture)->getTranslation('name');
$module_fatture ? strtolower($module_fatture) : '';
$operations['crea_fattura'] = [
'text' => '<span><i class="fa fa-file-code-o"></i> '.tr('Fattura _TYPE_', ['_TYPE_' => strtolower($module->getTranslation('name'))]),
'data' => [