mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 08:45:12 +02:00
#13376 fixed report
This commit is contained in:
parent
ad78d1632e
commit
1ef2c5a1e9
@ -3352,8 +3352,8 @@ function reporting_inventory($report, $content, $type)
|
|||||||
$date,
|
$date,
|
||||||
'',
|
'',
|
||||||
false,
|
false,
|
||||||
'csv',
|
|
||||||
false,
|
false,
|
||||||
|
'csv',
|
||||||
'',
|
'',
|
||||||
[],
|
[],
|
||||||
$inventory_regular_expression
|
$inventory_regular_expression
|
||||||
@ -3367,12 +3367,13 @@ function reporting_inventory($report, $content, $type)
|
|||||||
$date,
|
$date,
|
||||||
'',
|
'',
|
||||||
false,
|
false,
|
||||||
'hash',
|
|
||||||
false,
|
false,
|
||||||
|
'hash',
|
||||||
'',
|
'',
|
||||||
[],
|
[],
|
||||||
$inventory_regular_expression
|
$inventory_regular_expression
|
||||||
);
|
);
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2644,7 +2644,7 @@ function reporting_html_inventory($table, $item, $pdf=0)
|
|||||||
} else {
|
} else {
|
||||||
// Grouped type inventory.
|
// Grouped type inventory.
|
||||||
$type_modules = array_reduce(
|
$type_modules = array_reduce(
|
||||||
$item['data'],
|
($item['data'] ?? []),
|
||||||
function ($carry, $it) {
|
function ($carry, $it) {
|
||||||
$carry[$it['name']][] = $it;
|
$carry[$it['name']][] = $it;
|
||||||
return $carry;
|
return $carry;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user