msgstr ""
"Project-Id-Version: 2.4\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2022-11-11 16:18+0100\n"
+"POT-Creation-Date: 2022-11-12 13:59+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Joe Hunt <joe@frontaccounting.com>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
msgid "Outstanding Transactions"
msgstr ""
-#: reporting/rep108.php:178
+#: reporting/rep108.php:180
msgid "Statement"
msgstr ""
-#: reporting/rep108.php:178
+#: reporting/rep108.php:180
msgid "as of"
msgstr ""
-#: reporting/rep108.php:183
+#: reporting/rep108.php:180
+msgid "from"
+msgstr ""
+
+#: reporting/rep108.php:182
+#, php-format
+msgid "Customer %s has no overdue debs. No e-mail is send."
+msgstr ""
+
+#: reporting/rep108.php:187
msgid "No customers with outstanding balances found"
msgstr ""
for ($i = 0; $i < 5; $i++)
$rep->TextWrap($col[$i], $rep->row, $col[$i + 1] - $col[$i], $str2[$i], 'right');
if ($email == 1)
- $rep->End($email, _("Statement") . " " . _("as of") . " " . sql2date($date));
-
+ {
+ if (($CustomerRecord["Balance"]) != ($CustomerRecord["Balance"] - $CustomerRecord["Due"]))
+ $rep->End($email, _("Statement") . " " . _("as of") . " " . sql2date($date) . " " . _("from") . " " . get_company_pref('coy_name'));
+ else
+ display_notification(sprintf(_("Customer %s has no overdue debs. No e-mail is send."), $myrow["DebtorName"]));
+ }
}
if (!isset($rep))