Changed all numeric constants to the new defined constants. A huge task.
[fa-stable.git] / purchasing / includes / ui / grn_ui.inc
index 81bd8617153be72374c5174a09af7efcbf9189c0..a0fdae4bdc981f0c88f405a7bccee431893473cc 100644 (file)
@@ -33,7 +33,7 @@ function display_grn_summary(&$po, $editable=false)
     if ($editable) 
     {
        if (!isset($_POST['ref']))
-           $_POST['ref'] = $Refs->get_next(25);
+           $_POST['ref'] = $Refs->get_next(ST_SUPPRECEIVE);
        ref_cells(_("Reference"), 'ref', '', null, "class='tableheader2'");
                
         if (!isset($_POST['Location']))