Просмотр исходного кода

Copyright Bar: Fixed overlapping issue with in Invoice Edit page.

Nate Jones 11 лет назад
Родитель
Сommit
ae632ab1b0
1 измененных файлов с 5 добавлено и 5 удалено
  1. 5 5
      invoices/invoice_edit.php

+ 5 - 5
invoices/invoice_edit.php

@@ -140,7 +140,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
 				require_once "resources/footer.php";
 				return;
 			} //if ($action == "update")
-		} //if ($_POST["persistformvar"] != "true") 
+		} //if ($_POST["persistformvar"] != "true")
 } //(count($_POST)>0 && strlen($_POST["persistformvar"]) == 0)
 
 //pre-populate the form
@@ -333,15 +333,15 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
 	echo "</table>";
 	echo "</form>";
 
-	if ($action == "update") {
-		require "invoice_items.php";
-	}
-
 	echo "	</td>";
 	echo "	</tr>";
 	echo "</table>";
 	echo "</div>";
 
+	if ($action == "update") {
+		require "invoice_items.php";
+	}
+
 //include the footer
 	require_once "resources/footer.php";
 ?>