@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.
package/dist/index.js CHANGED
@@ -12583,7 +12583,7 @@ function getBilling(item, proposal, company, t) {
12583
12583
  return t ? t("Billed on completion") : "Billed on completion";
12584
12584
  }
12585
12585
  case "recurring":
12586
- var startDate = recurringStartType === "on_acceptance" ? "acceptance" : formatDate(recurringStartDate, company);
12586
+ var startDate = recurringStartType === "on_acceptance" ? t ? t("acceptance") : "acceptance" : formatDate(recurringStartDate, company);
12587
12587
  return t ? t("Billed every {{recurringPeriod}} " + getRecurringPeriodType(recurringPeriodType || "month", recurringPeriodFrequency) + " from {{startDate}}", {
12588
12588
  recurringPeriod: recurringPeriodFrequency === 1 ? "" : recurringPeriodFrequency,
12589
12589
  startDate: startDate