-
- $invoice |
-
+
+ $invoice |
+
|;
$column_data{invnumber} =
@@ -360,7 +378,9 @@ sub list_invoices {
|;
- for $i (1 .. $form->{rowcount}) {
+ for my $i (1 .. $form->{rowcount}) {
+
+ my $j = 0;
map {
$form->{"${_}_$i"} =
@@ -397,7 +417,7 @@ sub list_invoices {
$j++;
$j %= 2;
print qq|
-
+
|;
map { print "$column_data{$_}\n" } @column_index;
print qq|
@@ -437,25 +457,7 @@ sub list_invoices {
sub form_footer {
$lxdebug->enter_sub();
- $form->{DF}{ $form->{format} } = "selected";
- $form->{OP}{ $form->{media} } = "selected";
-
- $media = qq|
-
{rowcount}>
-{path}>
-{login}>
-{password}>
-
|;
-
- if ($latex) {
- print qq|
-|;
- }
-
- print qq|
-
-
-|;
-
- if ($form->{menubar}) {
- require "$form->{path}/menu.pl";
- &menubar;
- }
-
- print qq|
-
+ . $locale->text('Post') . qq|">
+
@@ -503,8 +483,12 @@ sub form_footer {
sub update {
$lxdebug->enter_sub();
+ $auth->assert('cash');
+
my ($new_name_selected) = @_;
+ my ($buysell, $newvc, $updated, $exchangerate, $amount);
+
if ($form->{vc} eq 'customer') {
$buysell = "buy";
} else {
@@ -512,6 +496,7 @@ sub update {
}
# if we switched to all_vc
+ # funktioniert derzeit nicht 12.10.2010 jb
if ($form->{all_vc} ne $form->{oldall_vc}) {
$form->{openinvoices} = ($form->{all_vc}) ? 0 : 1;
@@ -527,7 +512,7 @@ sub update {
" |