Revision 3cd3e832
Von Moritz Bunkus vor fast 12 Jahren hinzugefügt
bin/mozilla/ap.pl | ||
---|---|---|
1124 | 1124 |
$main::lxdebug->leave_sub(); |
1125 | 1125 |
} |
1126 | 1126 |
|
1127 |
sub use_as_template {
|
|
1127 |
sub use_as_new {
|
|
1128 | 1128 |
$main::lxdebug->enter_sub(); |
1129 | 1129 |
|
1130 | 1130 |
my $form = $main::form; |
bin/mozilla/ar.pl | ||
---|---|---|
509 | 509 |
} |
510 | 510 |
if ($transdate > $closedto) { |
511 | 511 |
print qq| |
512 |
<input class=submit type=submit name=action value="| . $locale->text('Use As Template') . qq|"> |;
|
|
512 |
<input class=submit type=submit name=action value="| . $locale->text('Use As New') . qq|"> |;
|
|
513 | 513 |
} |
514 | 514 |
print qq| |
515 | 515 |
<input class=submit type=submit name=action value="| . $locale->text('Post Payment') . qq|"> |
... | ... | |
803 | 803 |
$main::lxdebug->leave_sub(); |
804 | 804 |
} |
805 | 805 |
|
806 |
sub use_as_template {
|
|
806 |
sub use_as_new {
|
|
807 | 807 |
$main::lxdebug->enter_sub(); |
808 | 808 |
|
809 | 809 |
$main::auth->assert('general_ledger'); |
bin/mozilla/ir.pl | ||
---|---|---|
609 | 609 |
|
610 | 610 |
} |
611 | 611 |
|
612 |
sub use_as_template {
|
|
612 |
sub use_as_new {
|
|
613 | 613 |
$main::lxdebug->enter_sub(); |
614 | 614 |
|
615 | 615 |
my $form = $main::form; |
bin/mozilla/is.pl | ||
---|---|---|
799 | 799 |
|
800 | 800 |
} |
801 | 801 |
|
802 |
sub use_as_template {
|
|
802 |
sub use_as_new {
|
|
803 | 803 |
$main::lxdebug->enter_sub(); |
804 | 804 |
|
805 | 805 |
my $form = $main::form; |
... | ... | |
813 | 813 |
$form->{invdate} = $form->current_date(\%myconfig); |
814 | 814 |
$form->{duedate} = $form->get_duedate(\%myconfig, $form->{invdate}) || $form->{invdate}; |
815 | 815 |
|
816 |
# remember pricegroups for "use as template"
|
|
816 |
# remember pricegroups for "use as new"
|
|
817 | 817 |
IS->get_pricegroups_for_parts(\%myconfig, \%$form); |
818 | 818 |
set_pricegroup($_) for 1 .. $form->{rowcount}; |
819 | 819 |
|
locale/de/all | ||
---|---|---|
2170 | 2170 |
'Updated' => 'Erneuert am', |
2171 | 2171 |
'Updating prices of existing entry in database' => 'Preis des Eintrags in der Datenbank wird aktualisiert', |
2172 | 2172 |
'Uploaded on #1, size #2 kB' => 'Am #1 hochgeladen, Größe #2 kB', |
2173 |
'Use As Template' => 'Als Vorlage verwenden',
|
|
2173 |
'Use As New' => 'Als neu verwenden',
|
|
2174 | 2174 |
'Use Templates' => 'Benutze Vorlagen', |
2175 | 2175 |
'User' => 'Benutzer', |
2176 | 2176 |
'User Config' => 'Einstellungen', |
templates/webpages/ap/form_footer.html | ||
---|---|---|
32 | 32 |
[%- END %] |
33 | 33 |
|
34 | 34 |
<input class=submit type=submit name=action value="[% 'Post Payment' | $T8 %]"> |
35 |
<input class=submit type=submit name=action value="[% 'Use As Template' | $T8 %]">
|
|
35 |
<input class=submit type=submit name=action value="[% 'Use As New' | $T8 %]">
|
|
36 | 36 |
<input type="button" class="submit" onclick="follow_up_window()" value="[% 'Follow-Up' | $T8 %]"> |
37 | 37 |
|
38 | 38 |
[%- ELSIF show_post_draft %] |
... | ... | |
66 | 66 |
} |
67 | 67 |
//--> |
68 | 68 |
</script> |
69 |
|
|
70 |
|
templates/webpages/ir/form_footer.html | ||
---|---|---|
96 | 96 |
<input class="submit" type="submit" name="action" value="[% 'Storno' | $T8 %]"> |
97 | 97 |
[% END %] |
98 | 98 |
<input class="submit" type="submit" name="action" value="[% 'Post Payment' | $T8 %]"> |
99 |
<input class="submit" type="submit" name="action" value="[% 'Use As Template' | $T8 %]">
|
|
99 |
<input class="submit" type="submit" name="action" value="[% 'Use As New' | $T8 %]">
|
|
100 | 100 |
|
101 | 101 |
[% IF show_delete %] |
102 | 102 |
<input class="submit" type="submit" name="action" value="[% 'Delete' | $T8 %]"> |
... | ... | |
128 | 128 |
<input type="hidden" name="vendor_discount" value="[% vendor_discount %]"> |
129 | 129 |
|
130 | 130 |
</form> |
131 |
|
|
132 |
|
templates/webpages/is/form_footer.html | ||
---|---|---|
130 | 130 |
<input class="submit" type="submit" name="action" value="[% 'Storno' | $T8 %]"> |
131 | 131 |
[% END %] |
132 | 132 |
<input class="submit" type="submit" name="action" value="[% 'Post Payment' | $T8 %]"> |
133 |
<input class="submit" type="submit" name="action" value="[% 'Use As Template' | $T8 %]">
|
|
133 |
<input class="submit" type="submit" name="action" value="[% 'Use As New' | $T8 %]">
|
|
134 | 134 |
|
135 | 135 |
[% IF id && !is_type_credit_note %] |
136 | 136 |
<input class="submit" type="submit" name="action" value="[% 'Credit Note' | $T8 %]"> |
... | ... | |
169 | 169 |
<input type="hidden" name="customer_discount" value="[% customer_discount %]"> |
170 | 170 |
<input type="hidden" name="gldate" value="[% gldate %]"> |
171 | 171 |
</form> |
172 |
|
|
173 |
|
Auch abrufbar als: Unified diff
Buttons "Als Vorlage verwenden" zwecks Einheitlichkeit
Siehe #2065.