X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Frep306.php;h=3ce3a86025bd49314d54a4d5a60f706e7f390300;hb=7e6e0807990447d2977b970c3a0fd28dc9250194;hp=f3d022fd29fff42f73cddf5e9f2812d125071c5d;hpb=a99cb262f8c9e65ab86c231c997cca422e836817;p=fa-stable.git diff --git a/reporting/rep306.php b/reporting/rep306.php index f3d022fd..3ce3a860 100644 --- a/reporting/rep306.php +++ b/reporting/rep306.php @@ -9,7 +9,7 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the License here . ***********************************************************************/ -$page_security = 'SA_SALESANALYTIC'; +$page_security = 'SA_SUPPLIERANALYTIC'; // ---------------------------------------------------------------- // $ Revision: 2.0 $ // Creator: Joe Hunt @@ -266,7 +266,7 @@ function print_inventory_purchase() $rep->NewLine(); $rep->NewLine(); $total_supp = $total_qty = 0.0; - $supplier_name = $trans['supplier_name']; + $supplier_name = isset($trans['supplier_name']) ? $trans['supplier_name'] : ""; } } if ($supplier_name != '')