Revision 497f8c56
Von Jan Büren vor mehr als 9 Jahren hinzugefügt
bin/mozilla/oe.pl | ||
---|---|---|
564 | 564 |
|
565 | 565 |
$TMPL_VAR{ALL_DELIVERY_TERMS} = SL::DB::Manager::DeliveryTerm->get_all_sorted(); |
566 | 566 |
|
567 |
my $tpca_reminder = check_transport_cost_reminder_article_number() if $::instance_conf->get_transport_cost_reminder_article_number; |
|
567 |
my $tpca_reminder = check_transport_cost_reminder_article_number() if $::instance_conf->get_transport_cost_reminder_article_number_id;
|
|
568 | 568 |
print $form->parse_html_template("oe/form_footer", { |
569 | 569 |
%TMPL_VAR, |
570 | 570 |
webdav => $::instance_conf->get_webdav, |
... | ... | |
2088 | 2088 |
|
2089 | 2089 |
check_oe_access(); |
2090 | 2090 |
|
2091 |
my $transport_article = $::instance_conf->get_transport_cost_reminder_article_number;
|
|
2091 |
my $transport_article_id = $::instance_conf->get_transport_cost_reminder_article_number_id;
|
|
2092 | 2092 |
for my $i (1 .. $form->{rowcount}) { |
2093 |
return if $form->{"partnumber_${i}"} eq $transport_article;
|
|
2093 |
return if $form->{"id_${i}"} eq $transport_article_id;
|
|
2094 | 2094 |
} |
2095 | 2095 |
|
2096 |
return $transport_article; |
|
2096 |
# simply return the name of the part |
|
2097 |
return SL::DB::Part->new(id => $transport_article_id)->load()->partnumber; |
|
2097 | 2098 |
|
2098 | 2099 |
$main::lxdebug->leave_sub(); |
2099 | 2100 |
} |
Auch abrufbar als: Unified diff
Transportkosten-Erinnerungs-Artikel auf ID anstatt partnumber umgestellt Teil II
Vergessene modifies für Commit von gerade hinzugefügt