Merge branch 'ent-13088-boton-sin-estilo-en-reports-y-boton-sin-funcionamiento-en-custom-report' into 'develop'

Ent 13088 boton sin estilo en reports y boton sin funcionamiento en custom report

See merge request artica/pandorafms!7053
This commit is contained in:
Jose Martin 2024-03-26 11:40:55 +00:00
commit 03dc7c45e1
2 changed files with 17 additions and 5 deletions

View File

@ -319,7 +319,7 @@ $ActionButtons[] = html_print_button(
__('Go back'),
'back',
false,
"window.location.href = 'index.php?sec=reporting&sec2=godmode/reporting/graphs'",
'history.go(-1)',
[
'class' => 'sub ok submitButton',
'icon' => 'back',

View File

@ -2860,20 +2860,32 @@ if (is_metaconsole() === true) {
if (!empty($style_button_create_custom_graph)) {
$style_create = [
'mode' => 'link',
'mode' => 'mini',
'icon' => 'next',
'class' => 'mrgn_lft_10px',
'style' => 'display:none',
];
} else {
$style_create = [ 'mode' => 'link' ];
$style_create = [
'mode' => 'mini',
'icon' => 'next',
'class' => 'mrgn_lft_10px',
];
}
if (!empty($style_button_edit_custom_graph)) {
$style_edit = [
'mode' => 'link',
'mode' => 'mini',
'icon' => 'update',
'class' => 'mrgn_lft_10px',
'style' => 'display:none',
];
} else {
$style_edit = [ 'mode' => 'link' ];
$style_edit = [
'mode' => 'mini',
'icon' => 'update',
'class' => 'mrgn_lft_10px',
];
}
html_print_button(