X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Fgl.pl;h=5834a485f0daf7f814df08f7f0903e72f42bf7e7;hb=dbd0ae115bd9a6ba0ede24f9655a29df6bf7dc3b;hp=4b34a5080690a3205842396ad9065b7919047cb4;hpb=09fe7f33a735ecc3f4a3112ad716f674983b00cc;p=kivitendo-erp.git diff --git a/bin/mozilla/gl.pl b/bin/mozilla/gl.pl index 4b34a5080..5834a485f 100644 --- a/bin/mozilla/gl.pl +++ b/bin/mozilla/gl.pl @@ -250,10 +250,10 @@ sub search { } my $department = qq| - - | . $locale->text('Department') . qq| - - + + | . $locale->text('Department') . qq| + + | if $form->{selectdepartment}; $form->get_lists("projects" => { "key" => "ALL_PROJECTS", @@ -321,83 +321,83 @@ sub search { - - - - - - - $department - - - - - - - - - - - - - - + + + + + + + $department + + + + + + + + + + + + + + $button1 - + $button2 - - - - + + + +
| . $locale->text('Reference') . qq|| . $locale->text('Source') . qq|
| . $locale->text('Description') . qq|
| . $locale->text('Notes') . qq|
| . $locale->text('Project Number') . qq|$projectnumber
| . $locale->text('From') . qq|
| . $locale->text('Reference') . qq|| . $locale->text('Source') . qq|
| . $locale->text('Description') . qq|
| . $locale->text('Notes') . qq|
| . $locale->text('Project Number') . qq|$projectnumber
| . $locale->text('From') . qq|| . $locale->text('To (time)') . qq|| . $locale->text('To (time)') . qq|
| . $locale->text('Include in Report') . qq| - - - + + + -
-  | +
| . $locale->text('Include in Report') . qq| + + + - - -
+  | . $locale->text('All') . qq| -  | +  | . $locale->text('Asset') . qq| -  | +  | . $locale->text('Liability') . qq| -  | +  | . $locale->text('Revenue') . qq| -  | +  | . $locale->text('Expense') . qq| -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
| . $locale->text('ID') . qq|| . $locale->text('Date') . qq|| . $locale->text('Reference') . qq|| . $locale->text('Description') . qq|| . $locale->text('Notes') . qq|
| . $locale->text('Debit') . qq|| . $locale->text('Credit') . qq|| . $locale->text('Source') . qq|| . $locale->text('Account') . qq|
| . $locale->text('Subtotal') . qq|| . $locale->text('Project Number') . qq|
-
-
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
| . $locale->text('ID') . qq|| . $locale->text('Date') . qq|| . $locale->text('Reference') . qq|| . $locale->text('Description') . qq|| . $locale->text('Notes') . qq|
| . $locale->text('Debit') . qq|| . $locale->text('Credit') . qq|| . $locale->text('Source') . qq|| . $locale->text('Account') . qq|
| . $locale->text('Subtotal') . qq|| . $locale->text('Project Number') . qq|
+ + + @@ -965,6 +965,8 @@ sub display_rows { '-values' => \@project_values, '-labels' => \%project_labels, '-default' => $form->{"project_id_$i"} )); + my $projectnumber_hidden = qq| + |; my $copy2credit = 'onkeyup="copy_debit_to_credit()"' if $i == 1; @@ -983,10 +985,14 @@ sub display_rows { $memo $projectnumber |; - } + } else { print qq| $source_hidden $memo_hidden + $projectnumber_hidden + |; + } + print qq| |; } @@ -1085,11 +1091,11 @@ sub form_header { my $department; $department = qq| - - | . $locale->text('Department') . qq| - - - + + | . $locale->text('Department') . qq| + + + | if $form->{selectdepartment}; if ($init) { $form->{fokus} = "gl.reference"; @@ -1161,71 +1167,71 @@ sub form_header { . " $form->{previous_gldate}" . qq| - - | . $locale->text('Reference') . qq| - - - - - + + + + - |; + +
| . $locale->text('Date') . qq|
| . $locale->text('Reference') . qq| + + + $button1 - -
| . $locale->text('Date') . qq|
-
+ + |; if ($form->{id}) { print qq| - - | . $locale->text('Belegnummer') . qq| - - - - - - - -
| . $locale->text('Buchungsdatum') . qq|{gldate} $readonly onBlur=\"check_right_date_format(this)\">
- - |; + + | . $locale->text('Belegnummer') . qq| + + + + + + + +
| . $locale->text('Buchungsdatum') . qq|{gldate} $readonly onBlur=\"check_right_date_format(this)\">
+ + |; } print qq| - $department|; + $department|; if ($form->{id}) { print qq| - - | . $locale->text('Description') . qq| - $description + + | . $locale->text('Description') . qq| + $description - - - - - -
| . $locale->text('MwSt. inkl.') . qq|
- - - - - - - -
| . $locale->text('Mitarbeiter') . qq|
- - |; + + + + + +
| . $locale->text('MwSt. inkl.') . qq|
+ + + + + + + +
| . $locale->text('Mitarbeiter') . qq|
+ + |; } else { print qq| - - | . $locale->text('Description') . qq| - $description - - - - - - -
| . $locale->text('MwSt. inkl.') . qq|
- - |; + + | . $locale->text('Description') . qq| + $description + + + + + + +
| . $locale->text('MwSt. inkl.') . qq|
+ + |; } print qq| @@ -1247,13 +1253,13 @@ sub form_header { - - + - - + - @@ -1262,14 +1268,14 @@ sub form_header { if ($form->{show_details}) { print qq| - - - + + + |; } print qq| - + $jsscript |; @@ -1422,8 +1428,8 @@ sub yes { # saving the history if(!exists $form->{addition} && $form->{id} ne "") { $form->{snumbers} = qq|ordnumber_| . $form->{ordnumber}; - $form->{addition} = "DELETED"; - $form->save_history($form->dbconnect(\%myconfig)); + $form->{addition} = "DELETED"; + $form->save_history($form->dbconnect(\%myconfig)); } # /saving the history $form->redirect($locale->text('Transaction deleted!'))
| +
| . $locale->text('Account') . qq|| . $locale->text('Chart balance') . qq|| + | . $locale->text('Chart balance') . qq|| . $locale->text('Debit') . qq|| + | . $locale->text('Credit') . qq| | . $locale->text('Tax') . qq|| . $locale->text('Source') . qq|| . $locale->text('Memo') . qq|| . $locale->text('Project Number') . qq|| . $locale->text('Source') . qq|| . $locale->text('Memo') . qq|| . $locale->text('Project Number') . qq|