0004476: Our Order No is always 0 on customer payment receipt. Fixed by empty column.
authorJoe Hunt <joe.hunt.consulting@gmail.com>
Thu, 31 May 2018 06:47:54 +0000 (08:47 +0200)
committerJoe Hunt <joe.hunt.consulting@gmail.com>
Thu, 31 May 2018 06:47:54 +0000 (08:47 +0200)
reporting/includes/doctext.inc

index c9011b45bd5f23ee983573486f33e30765e76295..4b87fa6df229df98b78d41ccfc5c18e7b8276c29 100644 (file)
                        $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"]],