@ai-matrx/records 0.72.7 → 0.72.10
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/templates/index.js
CHANGED
|
@@ -5555,7 +5555,7 @@ ${e.body}`.matchAll(MERGE_TOKEN)].map((m) => m[1]));
|
|
|
5555
5555
|
}
|
|
5556
5556
|
}
|
|
5557
5557
|
}
|
|
5558
|
-
if (/report_due|reporting_due/.test(f.key)) {
|
|
5558
|
+
if (/report_due|reporting_due/.test(f.key) && /grant|award|funder|funding/i.test(`${t.token} ${t.name} ${t.labelSingular}`)) {
|
|
5559
5559
|
const st = t.fields.find((x) => isChoice(x) && /status|stage/.test(x.key));
|
|
5560
5560
|
if (!st) continue;
|
|
5561
5561
|
for (const r of t.rows) {
|
|
@@ -6062,7 +6062,8 @@ function compileInstallPlan(written) {
|
|
|
6062
6062
|
const documentRefs = Object.fromEntries(
|
|
6063
6063
|
spec.extras.filter((e) => e.kind === "document").map((e) => [e.token, ref(`documents.${e.token}`)])
|
|
6064
6064
|
);
|
|
6065
|
-
|
|
6065
|
+
const extrasInOrder = [...spec.extras.filter((e) => e.kind === "document"), ...spec.extras.filter((e) => e.kind !== "document")];
|
|
6066
|
+
for (const e of extrasInOrder) {
|
|
6066
6067
|
switch (e.kind) {
|
|
6067
6068
|
case "booking":
|
|
6068
6069
|
steps.push({
|