|
@@ -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";
|
|
|
?>
|