Browse Source

Moved individual_history back to /, and removed another PHP_SELF from trans.

devel
Jonathan Rosenbaum 10 years ago
parent
commit
69cc2241d2
  1. 4
      Connections/database_functions.php
  2. 4
      individual_history_log.php
  3. 4
      transaction_log.php

4
Connections/database_functions.php

@ -64,8 +64,8 @@ define("PAGE_SHOP_LOG", "/shop_log.php");
define("PAGE_EDIT_CONTACT", "/contact_add_edit.php");
define("PAGE_SELECT_CONTACT", "/contact_add_edit_select.php");
define("PAGE_SHOP_LOG_DELETE_VISIT", "/shop_log_delete_shopvisitid.php");
define("INDIVIDUAL_HOURS_LOG", "/stats/individual_hours_log.php");
define("INDIVIDUAL_HISTORY_LOG", "/stats/individual_history_log.php");
define("INDIVIDUAL_HOURS_LOG", "/individual_hours_log.php");
define("INDIVIDUAL_HISTORY_LOG", "/individual_history_log.php");
define("PAGE_SALE_LOG", "/transaction_log.php");
define("PAGE_EDIT_LOCATION", "/location_add_edit.php");
define("PAGE_SELECT_LOCATION", "/location_add_edit_select.php");

4
stats/individual_history_log.php → individual_history_log.php

@ -1,6 +1,6 @@
<?php
require_once('../Connections/YBDB.php');
require_once('../Connections/database_functions.php');
require_once('Connections/YBDB.php');
require_once('Connections/database_functions.php');
$page_edit_contact = PAGE_EDIT_CONTACT;
$page_shop_log = PAGE_SHOP_LOG;

4
transaction_log.php

@ -94,7 +94,6 @@ $totalRows_Recordset1 = mysql_num_rows($Recordset1);
//Action on form update
$editFormAction = "";
//$editFormAction = $_SERVER['PHP_SELF'];
//Form Submit New Transaction===================================================================
if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "FormNew")) {
@ -662,7 +661,8 @@ if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "ChangeDate")) {
if(isset( $_GET["trans_type"] )){
$selected_trans_type = $_GET["trans_type"];
} else { $selected_trans_type = "all_types"; }
?>
?>
// remember pull-down list selections
$(function() {
$("[name='dayname']").val("<?php echo $selected_shop_dayname; ?>").prop("selected","selected");
$("[name='trans_type']").val("<?php echo $selected_trans_type; ?>").prop("selected","selected");

Loading…
Cancel
Save