Revision c5b07505
Von Moritz Bunkus vor etwa 9 Jahren hinzugefügt
bin/mozilla/do.pl | ||
---|---|---|
841 | 841 |
my $currency = $form->{currency}; |
842 | 842 |
invoice_links(); |
843 | 843 |
|
844 |
if ($form->{ordnumber}) { |
|
845 |
require SL::DB::Order; |
|
846 |
if (my $order = SL::DB::Manager::Order->find_by(ordnumber => $form->{ordnumber})) { |
|
847 |
$order->load; |
|
848 |
$form->{orddate} = $order->transdate_as_date; |
|
849 |
$form->{$_} = $order->$_ for qw(payment_id salesman_id taxzone_id quonumber); |
|
850 |
} |
|
851 |
} |
|
852 |
|
|
844 | 853 |
$form->{currency} = $currency; |
845 | 854 |
$form->{exchangerate} = ""; |
846 | 855 |
$form->{forex} = $form->check_exchangerate(\%myconfig, $form->{currency}, $form->{invdate}, $buysell); |
templates/webpages/do/form_header.html | ||
---|---|---|
84 | 84 |
<input type="hidden" name="max_dunning_level" value="[% HTML.escape(max_dunning_level) %]"> |
85 | 85 |
<input type="hidden" name="media" value="[% HTML.escape(media) %]"> |
86 | 86 |
<input type="hidden" name="message" value="[% HTML.escape(message) %]"> |
87 |
<input type="hidden" name="payment_id" value="[% HTML.escape(payment_id) %]"> |
|
88 | 87 |
<input type="hidden" name="printed" value="[% HTML.escape(printed) %]"> |
89 | 88 |
<input type="hidden" name="proforma" value="[% HTML.escape(proforma) %]"> |
90 | 89 |
<input type="hidden" name="queued" value="[% HTML.escape(queued) %]"> |
Auch abrufbar als: Unified diff
Lieferschein: Übernahme einiger Felder aus Auftrag gefixt
Betroffen waren das Auftragsdatum, Angebotsnummer, BearbeiterIn,
Steuerzone. Ist in 464f44a kaputt gegangen.