Fix pre-release

This commit is contained in:
Luca 2022-03-18 10:46:29 +01:00
parent 7525c1ec82
commit 235446c06c
2 changed files with 10 additions and 8 deletions

View File

@ -495,7 +495,7 @@ if (Auth::check()) {
<aside class="control-sidebar control-sidebar-light"> <aside class="control-sidebar control-sidebar-light">
<h4 class="text-center">'.tr('Plugin disponibili').'</h4> <h4 class="text-center">'.tr('Plugin disponibili').'</h4>
<ul class="nav nav-tabs nav-pills nav-stacked"> <ul class="nav nav-tabs nav-pills nav-stacked">
<li data-toggle="control-sidebar" class="active"> <li data-toggle="control-sidebar" class="active btn-default">
<a data-toggle="tab" href="#tab_0"> <a data-toggle="tab" href="#tab_0">
<i class="'.$structure['icon'].'"></i> '.$structure['title'].' <i class="'.$structure['icon'].'"></i> '.$structure['title'].'
</a> </a>
@ -521,7 +521,7 @@ if (Auth::check()) {
} }
echo ' echo '
<li data-toggle="control-sidebar"> <li data-toggle="control-sidebar" class="btn-default" >
<a data-toggle="tab" href="#tab_'.$plugin['id'].'" id="link-tab_'.$plugin['id'].'"> <a data-toggle="tab" href="#tab_'.$plugin['id'].'" id="link-tab_'.$plugin['id'].'">
'.$plugin['title'].' '.$plugin['title'].'
<span class="badge pull-right">'.($count>0 ? $count: '').'</span> <span class="badge pull-right">'.($count>0 ? $count: '').'</span>
@ -535,8 +535,8 @@ if (Auth::check()) {
$notes = $structure->recordNotes($id_record); $notes = $structure->recordNotes($id_record);
echo ' echo '
<li data-toggle="control-sidebar" class="bg-info"> <li data-toggle="control-sidebar" class="btn-default">
<a data-toggle="tab" href="#tab_note" id="link-tab_note"> <a class="bg-info" data-toggle="tab" href="#tab_note" id="link-tab_note">
'.tr('Note interne').' '.tr('Note interne').'
<span class="badge pull-right">'.($notes->count() ?: '').'</span> <span class="badge pull-right">'.($notes->count() ?: '').'</span>
</a> </a>
@ -546,16 +546,16 @@ if (Auth::check()) {
// Tab per le checklist // Tab per le checklist
if ($structure->permission != '-' && $structure->use_checklists) { if ($structure->permission != '-' && $structure->use_checklists) {
echo ' echo '
<li data-toggle="control-sidebar" class="bg-success"> <li data-toggle="control-sidebar" class="btn-default">
<a data-toggle="tab" href="#tab_checks" id="link-tab_checks">'.tr('Checklist').'</a> <a class="bg-info" data-toggle="tab" href="#tab_checks" id="link-tab_checks">'.tr('Checklist').'</a>
</li>'; </li>';
} }
// Tab per le informazioni sulle operazioni // Tab per le informazioni sulle operazioni
if (Auth::admin()) { if (Auth::admin()) {
echo ' echo '
<li data-toggle="control-sidebar" class="bg-warning"> <li data-toggle="control-sidebar" class="btn-default">
<a data-toggle="tab" href="#tab_info" id="link-tab_info"> <a class="bg-info" data-toggle="tab" href="#tab_info" id="link-tab_info">
'.tr('Info').' '.tr('Info').'
</a> </a>
</li>'; </li>';

View File

@ -11,6 +11,7 @@ return [
'an_tipianagrafiche', 'an_tipianagrafiche',
'an_tipianagrafiche_anagrafiche', 'an_tipianagrafiche_anagrafiche',
'an_zone', 'an_zone',
'an_pagamenti_anagrafiche',
'co_banche', 'co_banche',
'co_contratti', 'co_contratti',
'co_dichiarazioni_intento', 'co_dichiarazioni_intento',
@ -40,6 +41,7 @@ return [
'co_statipreventivi', 'co_statipreventivi',
'co_tipidocumento', 'co_tipidocumento',
'co_tipi_scadenze', 'co_tipi_scadenze',
'co_stampecontabili',
'do_categorie', 'do_categorie',
'do_documenti', 'do_documenti',
'do_permessi', 'do_permessi',