Removed uniqueness on workorders.wo_ref key, removed obsolete additional_costs field...
[fa-stable.git] / reporting / includes / doctext.inc
index c9011b45bd5f23ee983573486f33e30765e76295..e1bcd635549e5a1434a5e82edbeaa83182dc9e0a 100644 (file)
                                _("Customer's Reference") => $this->formData['supp_account_no'],
                                _("Sales Person") => $this->formData['contact'],
                                _("Your VAT no.") => $this->formData['tax_id'],
-                               _("Supplier's Reference") => @$this->formData['requisition_no'],
+                               _("Supplier's Reference") => @$this->formData['supp_reference'],
                                _("Order Date") => sql2date($this->formData['document_date']),
                        );
 
                        $this->title = _("RECEIPT");
                        $this->formData['document_name'] =_("Receipt No.");
                        $Addr1['title'] = _("With thanks from");
+                       if ($this->formData['order_'] == "0")
+                               $this->formData['order_'] = "";
                        $aux_info = array(
                                _("Customer's Reference") => $this->formData["debtor_ref"],
                                _("Type") =>$systypes_array[$this->formData["type"]],