X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Fincludes%2Fdoctext2.inc;h=6a7078f100fb420b0b6f4ef29a3afb05296dcfb8;hb=4763f9316d59363edaffd38e49655ad5ff29611d;hp=461877a8eeb717bb6d2d96c028aae71bc0629ddd;hpb=7792e42d75607b7e2dbaf73c318b8b7d9367dd17;p=fa-stable.git diff --git a/reporting/includes/doctext2.inc b/reporting/includes/doctext2.inc index 461877a8..6a7078f1 100644 --- a/reporting/includes/doctext2.inc +++ b/reporting/includes/doctext2.inc @@ -8,7 +8,7 @@ if (isset($header2type)) $doc_Shipping_Company = "Shipping Company"; if ($doctype == 9) $doc_Due_Date = "Delivery Date"; - else + else $doc_Due_Date = "Due Date"; $doc_Your_Ref = "Your Ref"; $doc_Our_Ref = "Our Ref."; @@ -41,19 +41,19 @@ if (isset($header2type)) $this->title = _("DELIVERY NOTE"); else $this->title = "CREDIT NOTE"; - if ($doctype == 8) - $this->headers = array('Item Code', 'Item Description', 'Delivery Date', - 'Quantity', 'Unit', 'Price', 'Total'); - else + if ($doctype == 8) + $this->headers = array('Item Code', 'Item Description', 'Delivery Date', + 'Quantity', 'Unit', 'Price', 'Total'); + else $this->headers = array('Item Code', 'Item Description', 'Quantity', 'Unit', - 'Price', 'Discount %', 'Total'); - } + 'Price', 'Discount %', 'Total'); + } else if ($doctype == 12) { $this->title = "STATEMENT"; $this->headers = array('Trans Type', '#', 'Date', 'Due Date', 'Charges', 'Credits', 'Allocated', 'Outstanding'); - } + } } if (isset($emailtype)) { @@ -64,9 +64,9 @@ if (isset($emailtype)) } if (isset($header2type) || isset($linetype)) { - $doc_Document_no = $doctype==13 ? "Delivery Note No." : "Invoice No."; + $doc_Invoice_no = $doctype==13 ? "Delivery Note No." : "Invoice No."; $doc_Order_no = "Order no."; -} +} if (isset($linetype)) { if ($doctype == 8 || $doctype == 9 || $doctype == 10 || $doctype == 11 || $doctype == 13) @@ -89,6 +89,6 @@ if (isset($linetype)) $doc_as_of = "as of"; $doc_Days = "Days"; $doc_Over = "Over"; - } + } } ?> \ No newline at end of file