7a4642c4dd6cc3c3d202c66bac26b34d0dcaf099
[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         if ($doctype == 8 || $doctype == 9 || $doctype == 10 || $doctype == 11)
26         {
27                 if ($doctype == 8)
28                         $this->title = _("PURCHASE ORDER");
29                 else if ($doctype == 9)
30                         $this->title = _("SALES ORDER");
31                 else if ($doctype == 10)
32                         $this->title = _("INVOICE");
33                 else
34                         $this->title = _("CREDIT NOTE");
35                 if ($doctype == 8)      
36                         $this->headers = array(_("Item Code"), _("Item Description"),   
37                                 _("Delivery Date"), _("Quantity"),      _("Unit"), _("Price"), _("Total"));     
38                 else            
39                         $this->headers = array(_("Item Code"), _("Item Description"),   _("Quantity"), 
40                                 _("Unit"), _("Price"), _("Discount %"), _("Total"));    
41         }               
42         else if ($doctype == 12)
43         {
44                 $this->title = _("STATEMENT");
45                 $this->headers = array(_("Trans Type"), _("#"), _("Date"), _("DueDate"), _("Charges"),
46                         _("Credits"), _("Allocated"), _("Outstanding"));
47         }               
48 }
49 if (isset($emailtype))
50 {
51         $doc_Dear_Sirs = _("Dear Sirs");
52         $doc_AttachedFile = _("Attached you will find ");
53         $doc_Kindest_regards = _("Kindest regards");
54 }
55 if (isset($header2type) || isset($linetype))
56 {
57         $doc_Invoice_no = _("Invoice no.");
58         $doc_Order_no = _("Order no.");
59 }       
60 if (isset($linetype))
61 {
62         if ($doctype == 8 || $doctype == 9 || $doctype == 10 || $doctype == 11)
63         {
64                 $doc_Sub_total = _("Sub-total");
65                 $doc_Shipping = _("Shipping");
66                 $doc_Included = _("Included");
67                 $doc_Amount = _("Amount");
68                 $doc_TOTAL_INVOICE = _("TOTAL INVOICE");
69                 $doc_TOTAL_ORDER = _("TOTAL ORDER EX VAT");
70                 $doc_TOTAL_PO = _("TOTAL PO EX VAT");
71         }
72         else if ($doctype == 12)
73         {
74                 $doc_Outstanding = _("Outstanding Transactions");
75                 $doc_Current = _("Current");
76                 $doc_Total_Balance = _("Total Balance");
77                 $doc_Statement = _("Statement");
78                 $doc_as_of = _("as of");
79                 $doc_Days = _("Days");
80                 $doc_Over = _("Over");
81         }       
82 }
83 ?>