Added optional link for electronic payment on invoices (PayPal)
[fa-stable.git] / reporting / includes / doctext.inc
1 <?php
2 if (isset($header2type))
3 {
4         $doc_Cust_no = _("Cust no");
5         $doc_Date = _("Date");
6         $doc_Charge_To = _("Charge To");
7         $doc_Delivered_To = _("Delivered To");
8         $doc_Shipping_Company = _("Shipping Company");
9         if ($doctype == 9)
10                 $doc_Due_Date = _("Delivery Date");
11         else    
12                 $doc_Due_Date = _("Due Date");
13         $doc_Your_Ref = _("Your Ref");
14         $doc_Our_Ref = _("Our Ref.");
15         $doc_Your_VAT_no = _("Your VAT no.");
16         $doc_Our_VAT_no = _("Our VAT No.");
17         $doc_Payment_Terms = _("Payment Terms");
18         $doc_Our_Order_No = _("Our Order No");
19         $doc_Domicile = _("Domicile");
20         $doc_Please_Quote = _("Please quote Invoice no. when paying. All amounts stated in");
21         $doc_Address = _("Address");
22         $doc_Phone_Fax_Email = _("Phone/Fax/Email");
23         $doc_Bank = _("Bank");
24         $doc_Bank_Account = _("Bank Account");
25         $doc_Payment_Link = _("You can pay through");
26         if ($doctype == 8 || $doctype == 9 || $doctype == 10 || $doctype == 11)
27         {
28                 if ($doctype == 8)
29                         $this->title = _("PURCHASE ORDER");
30                 else if ($doctype == 9)
31                         $this->title = ($print_as_quote==1 ? _("QUOTE") : _("SALES ORDER"));
32                 else if ($doctype == 10)
33                         $this->title = _("INVOICE");
34                 else
35                         $this->title = _("CREDIT NOTE");
36                 if ($doctype == 8)      
37                         $this->headers = array(_("Item Code"), _("Item Description"),   
38                                 _("Delivery Date"), _("Quantity"),      _("Unit"), _("Price"), _("Total"));     
39                 else            
40                         $this->headers = array(_("Item Code"), _("Item Description"),   _("Quantity"), 
41                                 _("Unit"), _("Price"), _("Discount %"), _("Total"));    
42         }               
43         else if ($doctype == 12)
44         {
45                 $this->title = _("STATEMENT");
46                 $this->headers = array(_("Trans Type"), _("#"), _("Date"), _("DueDate"), _("Charges"),
47                         _("Credits"), _("Allocated"), _("Outstanding"));
48         }               
49 }
50 if (isset($emailtype))
51 {
52         $doc_Dear_Sirs = _("Dear Sirs");
53         $doc_AttachedFile = _("Attached you will find ");
54         $doc_Kindest_regards = _("Kindest regards");
55         $doc_Payment_Link = _("You can pay through");
56 }
57 if (isset($header2type) || isset($linetype))
58 {
59         $doc_Invoice_no = _("Invoice no.");
60         $doc_Order_no = _("Order no.");
61 }       
62 if (isset($linetype))
63 {
64         if ($doctype == 8 || $doctype == 9 || $doctype == 10 || $doctype == 11)
65         {
66                 $doc_Sub_total = _("Sub-total");
67                 $doc_Shipping = _("Shipping");
68                 $doc_Included = _("Included");
69                 $doc_Amount = _("Amount");
70                 $doc_TOTAL_INVOICE = _("TOTAL INVOICE");
71                 $doc_TOTAL_ORDER = _("TOTAL ORDER EX VAT");
72                 $doc_TOTAL_PO = _("TOTAL PO EX VAT");
73         }
74         else if ($doctype == 12)
75         {
76                 $doc_Outstanding = _("Outstanding Transactions");
77                 $doc_Current = _("Current");
78                 $doc_Total_Balance = _("Total Balance");
79                 $doc_Statement = _("Statement");
80                 $doc_as_of = _("as of");
81                 $doc_Days = _("Days");
82                 $doc_Over = _("Over");
83         }       
84 }
85 ?>