use SL::AM;
use SL::CVar;
use SL::IC;
-use SL::Helper::Flash;
+use SL::Helper::Flash qw(flash);
use SL::HTML::Util;
use SL::ReportGenerator;
$form->header;
$form->get_lists('partsgroup' => 'ALL_PARTSGROUPS');
- print $form->parse_html_template('ic/search', { %is_xyz,
- dateformat => $myconfig{dateformat},
- limit => $myconfig{vclimit}, });
+ print $form->parse_html_template('ic/search', { %is_xyz, });
$lxdebug->leave_sub();
} #end search()
'transdate' => { 'text' => $locale->text('Transdate'), },
'unit' => { 'text' => $locale->text('Unit'), },
'weight' => { 'text' => $locale->text('Weight'), },
- 'shop' => { 'text' => $locale->text('Shopartikel'), },
+ 'shop' => { 'text' => $locale->text('Shop article'), },
'projectnumber' => { 'text' => $locale->text('Project Number'), },
'projectdescription' => { 'text' => $locale->text('Project Description'), },
);
$row->{quonumber}{link} = $edit_oe_quo_link if (!$ref->{ordnumber});
} else {
- $row->{invnumber}{link} = build_std_url("script=$ref->{module}.pl", 'action=edit', 'type=invoice', 'id=' . E($ref->{trans_id}), 'callback');
+ $row->{invnumber}{link} = build_std_url("script=$ref->{module}.pl", 'action=edit', 'type=invoice', 'id=' . E($ref->{trans_id}), 'callback') if ($ref->{invnumber});
}
# set properties of images
if ($rows > 1) {
$form->{makemodel_rows}--;
select_item(mode => 'IC', pre_entered_qty => $form->parse_amount(\%myconfig, $form->{"qty_$i"}));
- ::end_of_request();
+ $::dispatcher->end_request;
} else {
map { $form->{item_list}[$i]{$_} =~ s/\"/"/g }
qw(partnumber description unit partsgroup);