phpBMS

Show
Ignore:
Timestamp:
01/01/10 14:34:39 (2 years ago)
Author:
nate
Message:
  • Removed references to 'deposits' and replaced them with references to 'credits' (in relation to ar items and receipts).
  • Made sure that the type field for aritems should be able to take 'credit' but not 'deposit', and the update will change the references from deposit to credit (this time on the database side).
  • Fixed bugs with generateuuids.php and with the load open items button on the receipts add-edit.
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/phpbms/modules/bms/receipts_addedit.php

    r636 r701  
    4040        include("modules/bms/include/receipts.php"); 
    4141 
     42        if(!isset($_GET["backurl"])) 
     43                $backurl = NULL; 
     44        else{ 
     45                $backurl = $_GET["backurl"]; 
     46                if(isset($_GET["refid"])) 
     47                        $backurl .= "?refid=".$_GET["refid"]; 
     48        } 
     49         
    4250        if(!isset($_GET["id"])) 
    4351                $_GET["id"] = 0; 
     
    4755                $_SERVER['HTTP_REFERER'] = $_POST["referrer"]; 
    4856 
    49         $thetable = new receipts($db,"tbld:43678406-be25-909b-c715-7e2afc7db601"); 
     57        $thetable = new receipts($db,"tbld:43678406-be25-909b-c715-7e2afc7db601", $backurl); 
    5058        $therecord = $thetable->processAddEditPage(); 
    5159 
phpBMS vulnerability assesment provided by Orvant Inc. Copyright © 2010 Kreotek, LLC. All Rights reserved.