X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=reporting%2Fincludes%2Fdoctext.inc;h=0edc595fde9c28d9493396cb331ce6540443f054;hb=3141d7755efbca4d2eb7babc1d31629295451885;hp=dfd8f62991a1d235cfd89b9613af6d36287d19f1;hpb=9b852b19c91b5af6400cf94a9ff65d37d1a730b4;p=fa-stable.git diff --git a/reporting/includes/doctext.inc b/reporting/includes/doctext.inc index dfd8f629..0edc595f 100644 --- a/reporting/includes/doctext.inc +++ b/reporting/includes/doctext.inc @@ -24,7 +24,9 @@ if (isset($header2type)) $doc_Delivered_To = _("Delivered To"); } $doc_Shipping_Company = _("Shipping Company"); - if ($doctype == 9) + if ($doctype == 7) + $doc_Due_Date = _("Valid until"); + elseif ($doctype == 9) $doc_Due_Date = _("Delivery Date"); else $doc_Due_Date = _("Due Date"); @@ -48,7 +50,7 @@ if (isset($header2type)) } $doc_Our_VAT_no = _("Our VAT No."); $doc_Domicile = _("Domicile"); - if($doctype == 13 || $doctype == 8 || $doctype == 9) { + if($doctype == 13 || $doctype == 7 || $doctype == 8 || $doctype == 9) { $doc_Bank_Account = ''; $doc_Please_Quote = _("All amounts stated in"); } else { @@ -62,12 +64,14 @@ if (isset($header2type)) $doc_Bank = _("Bank"); $doc_Bank_Account = _("Bank Account"); $doc_Payment_Link = _("You can pay through"); - if ($doctype == 8 || $doctype == 9 || $doctype == 10 || $doctype == 11 || $doctype == 13 || $doctype == 26) + if ($doctype == 7 || $doctype == 8 || $doctype == 9 || $doctype == 10 || $doctype == 11 || $doctype == 13 || $doctype == 26) { - if ($doctype == 8) + if ($doctype == 7) + $this->title = _("SALES QUOTATION"); + elseif ($doctype == 8) $this->title = _("PURCHASE ORDER"); elseif ($doctype == 13) - $this->title = _("DELIVERY NOTE"); + $this->title = ($packing_slip==1 ? _("PACKING SLIP") : _("DELIVERY NOTE")); elseif ($doctype == 9) $this->title = ($print_as_quote==1 ? _("QUOTE") : _("SALES ORDER")); elseif ($doctype == 10) @@ -102,14 +106,14 @@ if (isset($emailtype)) } if (isset($header2type) || isset($linetype)) { - $doc_Invoice_no = ($doctype==13 ? _("Delivery Note No.") : (($doctype==8 || $doctype==9) ? _("Order no.") : + $doc_Invoice_no = ($doctype==13 ? _("Delivery Note No.") : (($doctype==7 || $doctype==8 || $doctype==9) ? _("Order no.") : ($doctype==10 ? _("Invoice No.") : ($doctype==26 ? _("Word Order No") : _("Credit No."))))); $doc_Delivery_no = _("Delivery Note No."); $doc_Order_no = _("Order no."); } if (isset($linetype)) { - if ($doctype == 8 || $doctype == 9 || $doctype == 10 || $doctype == 11 || $doctype == 13) + if ($doctype == 7 || $doctype == 8 || $doctype == 9 || $doctype == 10 || $doctype == 11 || $doctype == 13) { $doc_Sub_total = _("Sub-total"); $doc_Shipping = _("Shipping");