fix: ripristino funzionalità export FE da bulk fatture di acquisto

This commit is contained in:
valentina 2024-11-12 11:03:19 +01:00
parent f3f636c32f
commit 18aa908c3f
1 changed files with 24 additions and 22 deletions

View File

@ -710,7 +710,7 @@ $operations['exportFE-bulk'] = [
], ],
]; ];
if ($module->getTranslation('title') == 'Fatture di vendita') {
$operations['export-ricevute-bulk'] = [ $operations['export-ricevute-bulk'] = [
'text' => '<span class="'.((!extension_loaded('zip')) ? 'text-muted disabled' : '').'"><i class="fa fa-file-archive-o"></i> '.tr('Esporta ricevute').'</span>', 'text' => '<span class="'.((!extension_loaded('zip')) ? 'text-muted disabled' : '').'"><i class="fa fa-file-archive-o"></i> '.tr('Esporta ricevute').'</span>',
'data' => [ 'data' => [
@ -722,6 +722,7 @@ if ($module->getTranslation('title') == 'Fatture di vendita') {
], ],
]; ];
$operations['export-xml-bulk'] = [ $operations['export-xml-bulk'] = [
'text' => '<span class="'.((!extension_loaded('zip')) ? 'text-muted disabled' : '').'"><i class="fa fa-file-archive-o"></i> '.tr('Esporta XML').'</span>', 'text' => '<span class="'.((!extension_loaded('zip')) ? 'text-muted disabled' : '').'"><i class="fa fa-file-archive-o"></i> '.tr('Esporta XML').'</span>',
'data' => [ 'data' => [
@ -733,6 +734,7 @@ if ($module->getTranslation('title') == 'Fatture di vendita') {
], ],
]; ];
if ($module->getTranslation('title') == 'Fatture di vendita') {
$operations['genera-xml'] = [ $operations['genera-xml'] = [
'text' => '<span><i class="fa fa-file-code-o"></i> '.tr('Genera fatture elettroniche').'</span>', 'text' => '<span><i class="fa fa-file-code-o"></i> '.tr('Genera fatture elettroniche').'</span>',
'data' => [ 'data' => [