projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge remote branch 'origin/master'
[kivitendo-erp.git]
/
bin
/
mozilla
/
ar.pl
diff --git
a/bin/mozilla/ar.pl
b/bin/mozilla/ar.pl
index
80c87f9
..
6466aa2
100644
(file)
--- a/
bin/mozilla/ar.pl
+++ b/
bin/mozilla/ar.pl
@@
-333,7
+333,7
@@
sub form_header {
my $transaction = {
amount => $form->{"amount_$i"},
tax => $form->{"tax_$i"},
my $transaction = {
amount => $form->{"amount_$i"},
tax => $form->{"tax_$i"},
- project_id => $form->{"project_id_$i"},
+ project_id =>
($i==$form->{rowcount}) ? $form->{globalproject_id} :
$form->{"project_id_$i"},
};
my $selected_accno_full;
};
my $selected_accno_full;
@@
-509,7
+509,7
@@
$follow_ups_block
}
if ($transdate > $closedto) {
print qq|
}
if ($transdate > $closedto) {
print qq|
- <input class=submit type=submit name=action value="| . $locale->text('Use As
Template
') . qq|"> |;
+ <input class=submit type=submit name=action value="| . $locale->text('Use As
New
') . qq|"> |;
}
print qq|
<input class=submit type=submit name=action value="| . $locale->text('Post Payment') . qq|">
}
print qq|
<input class=submit type=submit name=action value="| . $locale->text('Post Payment') . qq|">
@@
-803,7
+803,7
@@
sub post_as_new {
$main::lxdebug->leave_sub();
}
$main::lxdebug->leave_sub();
}
-sub use_as_
template
{
+sub use_as_
new
{
$main::lxdebug->enter_sub();
$main::auth->assert('general_ledger');
$main::lxdebug->enter_sub();
$main::auth->assert('general_ledger');