575 |
575 |
show_no_warehouses_error() if (!scalar @{ $form->{WAREHOUSES} });
|
576 |
576 |
|
577 |
577 |
my $cvar_configs = CVar->get_configs('module' => 'IC');
|
578 |
|
(undef,
|
|
578 |
($form->{CUSTOM_VARIABLES_FILTER_CODE},
|
579 |
579 |
$form->{CUSTOM_VARIABLES_INCLUSION_CODE}) = CVar->render_search_options('variables' => $cvar_configs,
|
580 |
580 |
'include_prefix' => 'l_',
|
581 |
581 |
'include_value' => 'Y');
|
... | ... | |
649 |
649 |
|
650 |
650 |
my $cvar_configs = CVar->get_configs('module' => 'IC');
|
651 |
651 |
my @includeable_custom_variables = grep { $_->{includeable} } @{ $cvar_configs };
|
|
652 |
my @searchable_custom_variables = grep { $_->{searchable} } @{ $cvar_configs };
|
652 |
653 |
push @columns, map { "cvar_$_->{name}" } @includeable_custom_variables;
|
653 |
654 |
|
654 |
655 |
my @hidden_variables = map { "l_${_}" } @columns;
|
655 |
656 |
push @hidden_variables, qw(warehouse_id bin_id partnumber description chargenumber bestbefore qty_op qty qty_unit unit partunit fromdate todate transtype_ids comment projectnumber);
|
656 |
657 |
push @hidden_variables, qw(classification_id);
|
|
658 |
push @hidden_variables, map({'cvar_'. $_->{name}} @searchable_custom_variables);
|
|
659 |
push @hidden_variables, map({'cvar_'. $_->{name} .'_from'} grep({$_->{type} eq 'date'} @searchable_custom_variables));
|
|
660 |
push @hidden_variables, map({'cvar_'. $_->{name} .'_to'} grep({$_->{type} eq 'date'} @searchable_custom_variables));
|
|
661 |
push @hidden_variables, map({'cvar_'. $_->{name} .'_qtyop'} grep({$_->{type} eq 'number'} @searchable_custom_variables));
|
657 |
662 |
|
658 |
663 |
my %column_defs = (
|
659 |
664 |
'ids' => { raw_header_data => checkbox_tag("", id => "check_all", checkall => "[data-checkall=1]") },
|
... | ... | |
811 |
816 |
show_no_warehouses_error() if (!scalar @{ $form->{WAREHOUSES} });
|
812 |
817 |
|
813 |
818 |
my $cvar_configs = CVar->get_configs('module' => 'IC');
|
814 |
|
(undef,
|
|
819 |
($form->{CUSTOM_VARIABLES_FILTER_CODE},
|
815 |
820 |
$form->{CUSTOM_VARIABLES_INCLUSION_CODE}) = CVar->render_search_options('variables' => $cvar_configs,
|
816 |
821 |
'include_prefix' => 'l_',
|
817 |
822 |
'include_value' => 'Y');
|
... | ... | |
915 |
920 |
|
916 |
921 |
my $cvar_configs = CVar->get_configs('module' => 'IC');
|
917 |
922 |
my @includeable_custom_variables = grep { $_->{includeable} } @{ $cvar_configs };
|
|
923 |
my @searchable_custom_variables = grep { $_->{searchable} } @{ $cvar_configs };
|
918 |
924 |
push @columns, map { "cvar_$_->{name}" } @includeable_custom_variables;
|
919 |
925 |
|
920 |
926 |
my @hidden_variables = map { "l_${_}" } @columns;
|
921 |
927 |
push @hidden_variables, qw(warehouse_id bin_id partnumber partstypes_id description chargenumber bestbefore qty_op qty qty_unit partunit l_warehousedescription l_bindescription);
|
922 |
928 |
push @hidden_variables, qw(include_empty_bins subtotal include_invalid_warehouses date);
|
923 |
929 |
push @hidden_variables, qw(classification_id stock_value_basis allrows);
|
|
930 |
push @hidden_variables, map({'cvar_'. $_->{name}} @searchable_custom_variables);
|
|
931 |
push @hidden_variables, map({'cvar_'. $_->{name} .'_from'} grep({$_->{type} eq 'date'} @searchable_custom_variables));
|
|
932 |
push @hidden_variables, map({'cvar_'. $_->{name} .'_to'} grep({$_->{type} eq 'date'} @searchable_custom_variables));
|
|
933 |
push @hidden_variables, map({'cvar_'. $_->{name} .'_qtyop'} grep({$_->{type} eq 'number'} @searchable_custom_variables));
|
924 |
934 |
|
925 |
935 |
my %column_defs = (
|
926 |
936 |
'warehousedescription' => { 'text' => $locale->text('Warehouse'), },
|
Lagerberichte nach Waren-CVars filtern können …
… nur Waren-CVars aus den Stammdaten - nicht aus Überlagerung aus Belegen
Übernahme aus Kundenprojekt