[0005197] Slightly changed email subject for sales invoice to avoid false marking...
authorJanusz Dobrowolski <janusz@frontaccounting.eu>
Mon, 17 May 2021 17:15:59 +0000 (19:15 +0200)
committerJanusz Dobrowolski <janusz@frontaccounting.eu>
Mon, 17 May 2021 17:15:59 +0000 (19:15 +0200)
reporting/rep107.php

index 501cf44c46016e6c0ec613d86cf5fe9e405aa109..c28709919bc9198dc4d7e19cffd631b4a6dcce8a 100644 (file)
@@ -323,7 +323,7 @@ function print_invoices()
                        $rep->Font();
                        if ($email == 1)
                        {
                        $rep->Font();
                        if ($email == 1)
                        {
-                               $rep->End($email);
+                               $rep->End($email, sprintf(_("Invoice %d from %s"), $myrow['reference'], get_company_pref('coy_name')));
                        }
        }
        if ($email == 0)
                        }
        }
        if ($email == 0)