Added button to send copy of Invoice in PreorderBillingInvoice

This commit is contained in:
Frank Schubert
2025-04-24 14:06:21 +02:00
parent 7a4aa119a3
commit 16ae5149c4
4 changed files with 66 additions and 1 deletions
@@ -13,6 +13,10 @@ $period = "monthly";
$netowner_config = TT_PREORDER_BILLING[$invoice->netowner_id];
$netoperator_config = $netowner_config["netoperators"][$invoice->owner_id];
if($netoperator_config["billing-period"] == "quarterly") {
$period = "quarterly";
}
if($period == "monthly") {
$fmt = new IntlDateFormatter(
MFLOCALE_TIME,