Indention
authorJoey Schulze <joey@infodrom.org>
Mon, 15 Sep 2008 17:20:13 +0000 (17:20 +0000)
committerJoey Schulze <joey@infodrom.org>
Mon, 15 Sep 2008 17:20:13 +0000 (17:20 +0000)
src/InfoCon/buch/list.wml

index 0e6d17e..8bbdca1 100644 (file)
@@ -144,19 +144,19 @@ if ($_POST["submit"] == "List") {
     $input = tally ($dbh, "Einnahmen", $where . "price > 0.0");
 
     if (strlen($_POST[year])) {
-    $foo = $input["tax"] - $output["tax"];
-    printf ("<p>Summe Steuern: %.2f", $foo);
-    if ($foo > 0)
-      echo (" (<strong>Nachzahlung</strong>)");
-    elseif ($foo < 0)
-      echo (" (<strong>Rückzahlung</strong>)");
-    printf ("<br>Summe netto: %.2f", $input["netto"] - $output["netto"]);
-    $foo = $input["brutto"] - $output["brutto"];
-    printf ("<br>Summe brutto: %.2f</p>", $foo);
-    if ($foo > 0)
-      echo (" (<strong>Gewinn</strong>)");
-    elseif ($foo < 0)
-      echo (" (<strong>Verlust</strong>)");
+      $foo = $input["tax"] - $output["tax"];
+      printf ("<p>Summe Steuern: %.2f", $foo);
+      if ($foo > 0)
+       echo (" (<strong>Nachzahlung</strong>)");
+      elseif ($foo < 0)
+       echo (" (<strong>Rückzahlung</strong>)");
+      printf ("<br>Summe netto: %.2f", $input["netto"] - $output["netto"]);
+      $foo = $input["brutto"] - $output["brutto"];
+      printf ("<br>Summe brutto: %.2f</p>", $foo);
+      if ($foo > 0)
+       echo (" (<strong>Gewinn</strong>)");
+      elseif ($foo < 0)
+       echo (" (<strong>Verlust</strong>)");
     }
   }