Revision af0023e0
Von Thomas Heck vor mehr als 12 Jahren hinzugefügt
SL/FU.pm | ||
---|---|---|
330 | 330 |
'title' => $locale->text('Sales quotation') . " $params{trans_info}", |
331 | 331 |
}; |
332 | 332 |
|
333 |
} elsif ($params{trans_type} eq 'sales_delivery_order') { |
|
334 |
|
|
335 |
$link = { |
|
336 |
'url' => 'do.pl?action=edit&type=sales_delivery_order&id=' . $params{trans_id} . '&edit_note_id=' . $form->quote($params{note_id}), |
|
337 |
'title' => $locale->text('Sales delivery order') .' '. $params{trans_info}, |
|
338 |
}; |
|
339 |
|
|
340 |
} elsif ($params{trans_type} eq 'purchase_delivery_order') { |
|
341 |
|
|
342 |
$link = { |
|
343 |
'url' => 'do.pl?action=edit&type=purchase_delivery_order&id=' . $params{trans_id} . '&edit_note_id=' . $form->quote($params{note_id}), |
|
344 |
'title' => $locale->text('Purchase delivery order') .' '. $params{trans_info}, |
|
345 |
}; |
|
346 |
|
|
333 | 347 |
} elsif ($params{trans_type} eq 'sales_order') { |
334 | 348 |
$link = { |
335 | 349 |
'url' => 'oe.pl?action=edit&type=sales_order&id=' . $params{trans_id}, |
bin/mozilla/do.pl | ||
---|---|---|
307 | 307 |
$form->{onload} .= "document.do.submit();" |
308 | 308 |
} |
309 | 309 |
|
310 |
my $follow_up_vc = $form->{ $form->{vc} eq 'customer' ? 'customer' : 'vendor' }; |
|
311 |
$follow_up_vc =~ s/--\d*\s*$//; |
|
312 |
|
|
313 |
$form->{follow_up_trans_info} = $form->{donumber} .'('. $follow_up_vc .')'; |
|
314 |
|
|
310 | 315 |
$form->header(); |
311 | 316 |
# Fix für Bug 1082 Erwartet wird: 'abteilungsNAME--abteilungsID' |
312 | 317 |
# und Erweiterung für Bug 1760: |
templates/webpages/do/form_footer.html | ||
---|---|---|
74 | 74 |
[%- END %] |
75 | 75 |
[%- END %] |
76 | 76 |
[%- IF id %] |
77 |
<input type="button" class="submit" onclick="follow_up_window()" value="[% 'Follow-Up' | $T8 %]"> |
|
77 | 78 |
[%- UNLESS closed %] |
78 | 79 |
<input class="submit" type="submit" name="action_mark_closed" value="[% 'Mark closed' | $T8 %]"> |
79 | 80 |
[%- END %] |
templates/webpages/do/form_header.html | ||
---|---|---|
12 | 12 |
<script type="text/javascript" src="js/vendor_selection.js"></script> |
13 | 13 |
<script type="text/javascript" src="js/calculate_qty.js"></script> |
14 | 14 |
<script type="text/javascript" src="js/stock_in_out.js"></script> |
15 |
<script type="text/javascript" src="js/follow_up.js"></script> |
|
15 | 16 |
|
16 | 17 |
<script type="text/javascript"> |
17 | 18 |
<!-- |
... | ... | |
56 | 57 |
|
57 | 58 |
<form method="post" name="do" action="do.pl"> |
58 | 59 |
|
60 |
<input type="hidden" name="follow_up_trans_id_1" value="[% HTML.escape(id) %]"> |
|
61 |
<input type="hidden" name="follow_up_trans_type_1" value="[% HTML.escape(type) %]"> |
|
62 |
<input type="hidden" name="follow_up_trans_info_1" value="[% HTML.escape(follow_up_trans_info) %]"> |
|
63 |
<input type="hidden" name="follow_up_rowcount" value="1"> |
|
64 |
|
|
65 |
|
|
59 | 66 |
<input type="hidden" name="action" value="[% HTML.escape(action) %]"> |
60 | 67 |
<input type="hidden" name="bcc" value="[% HTML.escape(bcc) %]"> |
61 | 68 |
<input type="hidden" name="business" value="[% HTML.escape(business) %]"> |
Auch abrufbar als: Unified diff
Wiedervorlagen für Lieferscheine
fixt #1981