mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 08:14:38 +02:00
Merge branch 'ent-4692-vodat-al-editar-un-item-de-un-custom-report-devuelve-la-pantalla-de-item-editor' into 'develop'
When an item is updated, it is redirected to the item lists See merge request artica/pandorafms!2755
This commit is contained in:
commit
e80ef83d66
@ -3144,17 +3144,19 @@ if ($enterpriseEnable && defined('METACONSOLE')) {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
ui_print_page_header(
|
if ($action !== 'update') {
|
||||||
$textReportName,
|
ui_print_page_header(
|
||||||
'images/op_reporting.png',
|
$textReportName,
|
||||||
false,
|
'images/op_reporting.png',
|
||||||
$helpers,
|
false,
|
||||||
false,
|
$helpers,
|
||||||
$buttons,
|
false,
|
||||||
false,
|
$buttons,
|
||||||
'',
|
false,
|
||||||
60
|
'',
|
||||||
);
|
60
|
||||||
|
);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($resultOperationDB !== null) {
|
if ($resultOperationDB !== null) {
|
||||||
@ -3176,6 +3178,24 @@ if ($resultOperationDB !== null) {
|
|||||||
__('Successfull action'),
|
__('Successfull action'),
|
||||||
__('Unsuccessful action<br><br>'.$err)
|
__('Unsuccessful action<br><br>'.$err)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
if ($action == 'update') {
|
||||||
|
$buttons[$activeTab]['active'] = false;
|
||||||
|
$activeTab = 'list_items';
|
||||||
|
$buttons[$activeTab]['active'] = true;
|
||||||
|
|
||||||
|
ui_print_page_header(
|
||||||
|
$textReportName,
|
||||||
|
'images/op_reporting.png',
|
||||||
|
false,
|
||||||
|
$helpers,
|
||||||
|
false,
|
||||||
|
$buttons,
|
||||||
|
false,
|
||||||
|
'',
|
||||||
|
60
|
||||||
|
);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
switch ($activeTab) {
|
switch ($activeTab) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user