From: Sven Schöling Date: Mon, 30 Mar 2009 16:46:55 +0000 (+0000) Subject: Whitespace Purge X-Git-Tag: release-2.6.0beta2~122 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=f4e15a539835515ba57b4cd4ee8f338a49f59ed4;p=kivitendo-erp.git Whitespace Purge --- diff --git a/bin/mozilla/gl.pl b/bin/mozilla/gl.pl index d2c9d8d2c..e77d82a0f 100644 --- a/bin/mozilla/gl.pl +++ b/bin/mozilla/gl.pl @@ -260,7 +260,7 @@ sub search { $button1 = qq| text('button') . qq|> + . $locale->text('button') . qq|> |; $button2 = qq| @@ -1041,7 +1041,7 @@ sub form_header { $button1 = qq| text('button') . qq|> + . $locale->text('button') . qq|> |; #write Trigger @@ -1121,7 +1121,7 @@ sub form_header { |; } - print qq| + print qq| $department|; if ($form->{id}) { print qq| @@ -1237,7 +1237,7 @@ sub form_footer { $form->{totaldebit} - $form->{totalcredit} + $form->{totalcredit} @@ -1268,7 +1268,7 @@ $follow_ups_block |; } - print qq| + print qq| save_history($form->dbconnect(\%myconfig)); } - # /saving the history + # /saving the history $form->redirect($locale->text('Transaction deleted!')) } $form->error($locale->text('Cannot delete transaction!')); @@ -1457,7 +1457,7 @@ sub post_transaction { $credit += $cr + $tax if $cr; $taxtotal += $tax if $form->{taxincluded} } - + $form->{taxincluded} = 0 if !$taxtotal; # this is just for the wise guys @@ -1466,11 +1466,11 @@ sub post_transaction { if ($form->round_amount($debit, 2) != $form->round_amount($credit, 2)) { $form->error($locale->text('Out of balance transaction!')); } - + if ($form->round_amount($debit, 2) + $form->round_amount($credit, 2) == 0) { $form->error($locale->text('Empty transaction!')); } - + if (($errno = GL->post_transaction(\%myconfig, \%$form)) <= -1) { $errno *= -1; $err[1] = $locale->text('Cannot have a value in both Debit and Credit!'); @@ -1484,10 +1484,10 @@ sub post_transaction { if(!exists $form->{addition} && $form->{id} ne "") { $form->{snumbers} = qq|ordnumber_| . $form->{ordnumber}; $form->{addition} = "SAVED"; - $form->{what_done} = $locale->text("Buchungsnummer") . " = " . $form->{id}; + $form->{what_done} = $locale->text("Buchungsnummer") . " = " . $form->{id}; $form->save_history($form->dbconnect(\%myconfig)); } - # /saving the history + # /saving the history $lxdebug->leave_sub(); } @@ -1538,9 +1538,9 @@ sub storno { $form->{addition} = "STORNO"; $form->save_history($form->dbconnect(\%myconfig)); } - # /saving the history + # /saving the history - $form->redirect(sprintf $locale->text("Transaction %d cancelled."), $form->{storno_id}); + $form->redirect(sprintf $locale->text("Transaction %d cancelled."), $form->{storno_id}); $lxdebug->leave_sub(); }