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/aritems_view.php

    r643 r701  
    4242        include("modules/bms/include/aritems.php"); 
    4343 
    44         $aritems = new phpbmstable($db,"tbld:c595dbe7-6c77-1e02-5e81-c2e215736e9c"); 
     44        $aritems = new aritems($db,"tbld:c595dbe7-6c77-1e02-5e81-c2e215736e9c"); 
    4545        $therecord = $aritems->processAddEditPage(); 
    4646 
     
    8686                $theform->addField($theinput); 
    8787 
    88                 $theinput = new inputField("relatedid",$therecord["relatedid"],"related record id",true,NULL,14,64); 
     88                $theinput = new inputField("relatedid",$therecord["relatedid"],"related record id",true,NULL,42,64); 
    8989                $theinput->setAttribute("class","uneditable"); 
    9090                $theinput->setAttribute("readonly","readonly"); 
     
    137137                        <p><?php $theform->showField("type"); ?></p> 
    138138 
    139                         <p><?php $theform->showField("relatedid"); ?> <button type="button" title="view related record" class="graphicButtons buttonInfo" id="viewRelatedButton"><span>View Record</span></button></p> 
     139                        <p> 
     140            <input type="hidden" id="editrelatedid" name="editrelatedid" value="<?php echo($therecord["editrelatedid"]); ?>" /> 
     141            <?php $theform->showField("relatedid"); ?> 
     142            <button type="button" title="view related record" class="graphicButtons buttonInfo" id="viewRelatedButton"> 
     143                <span>View Record</span> 
     144            </button> 
     145            </p> 
    140146 
    141147                </fieldset> 
phpBMS vulnerability assesment provided by Orvant Inc. Copyright © 2010 Kreotek, LLC. All Rights reserved.