[0000136] view_po on invoices and credits shows transactions from other suppliers
[fa-stable.git] / purchasing / includes / ui / grn_ui.inc
index 4a5835ee79140fad706b5b59d22c93c1eafecded..2fe18c151b4b2de472cc7d26c39ab3b9b5c82fa3 100644 (file)
@@ -1,5 +1,14 @@
 <?php
-
+/**********************************************************************
+    Copyright (C) FrontAccounting, LLC.
+       Released under the terms of the GNU General Public License, GPL, 
+       as published by the Free Software Foundation, either version 3 
+       of the License, or (at your option) any later version.
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  
+    See the License here <http://www.gnu.org/licenses/gpl-3.0.html>.
+***********************************************************************/
 //---------------------------------------------------------------------------------------------------
 
 function display_grn_summary(&$po, $editable=false)
@@ -25,7 +34,7 @@ function display_grn_summary(&$po, $editable=false)
     {
        if (!isset($_POST['ref']))
            $_POST['ref'] = references::get_next(25);
-       ref_cells(_("Reference"), 'ref', null, "class='tableheader2'");
+       ref_cells(_("Reference"), 'ref', '', null, "class='tableheader2'");
                
         if (!isset($_POST['Location']))
                $_POST['Location'] = $po->Location;
@@ -35,7 +44,7 @@ function display_grn_summary(&$po, $editable=false)
        if (!isset($_POST['DefaultReceivedDate']))
                $_POST['DefaultReceivedDate'] = Today();
        
-       date_cells(_("Date Items Received"), 'DefaultReceivedDate', null, 0, 0, 0, "class='tableheader2'");    
+       date_cells(_("Date Items Received"), 'DefaultReceivedDate', '', null, 0, 0, 0, "class='tableheader2'");    
         
     } 
     else