@bookipi/htmlgenerator 1.1.42-alpha2 → 1.1.42-alpha3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -12582,7 +12582,7 @@ function getBilling(item, proposal, company, t) {
12582
12582
  return t ? t("Billed on completion") : "Billed on completion";
12583
12583
  }
12584
12584
  case "recurring":
12585
- var startDate = recurringStartType === "on_acceptance" ? "acceptance" : formatDate(recurringStartDate, company);
12585
+ var startDate = recurringStartType === "on_acceptance" ? t ? t("acceptance") : "acceptance" : formatDate(recurringStartDate, company);
12586
12586
  return t ? t("Billed every {{recurringPeriod}} " + getRecurringPeriodType(recurringPeriodType || "month", recurringPeriodFrequency) + " from {{startDate}}", {
12587
12587
  recurringPeriod: recurringPeriodFrequency === 1 ? "" : recurringPeriodFrequency,
12588
12588
  startDate: startDate