@cyc-seattle/platform 1.51.0 → 1.52.0
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/planning/lines.js
CHANGED
package/dist/planning/revenue.js
CHANGED
|
@@ -51,7 +51,7 @@ export function bookRevenue(ctx) {
|
|
|
51
51
|
for (const charge of ctx.data.plan_revenue_charges) {
|
|
52
52
|
if (!(charge.product_kinds ?? []).includes(product.kind))
|
|
53
53
|
continue;
|
|
54
|
-
book(charge.account_id, total * charge.rate, `charge:${charge.key}`, charge.name, `${charge.name}: ${charge.rate} × revenue`, charge.
|
|
54
|
+
book(charge.account_id, total * charge.rate, `charge:${charge.key}`, charge.name, `${charge.name}: ${charge.rate} × revenue`, charge.in_mtdc ? 1 : 0);
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
57
|
}
|
package/dist/planning/types.d.ts
CHANGED
|
@@ -192,8 +192,8 @@ export interface PlanBudgetLine extends Versioned {
|
|
|
192
192
|
cost_center_key: Id | null;
|
|
193
193
|
amount_cents: number;
|
|
194
194
|
fiscal_year: number;
|
|
195
|
-
/**
|
|
196
|
-
|
|
195
|
+
/** Whether it counts toward MTDC; cleared for a cost 2 CFR 200.1 leaves out, such as equipment or participant support. */
|
|
196
|
+
in_mtdc: boolean;
|
|
197
197
|
note: string | null;
|
|
198
198
|
}
|
|
199
199
|
/**
|
|
@@ -274,7 +274,8 @@ export interface PlanRevenueCharge extends Versioned {
|
|
|
274
274
|
product_kinds: ProductKind[] | null;
|
|
275
275
|
/** A revenue account adds revenue; an expense account adds a cost. */
|
|
276
276
|
account_id: Id;
|
|
277
|
-
|
|
277
|
+
/** Whether it counts toward MTDC; cleared for one 2 CFR 200.1 leaves out, such as scholarships. */
|
|
278
|
+
in_mtdc: boolean;
|
|
278
279
|
note: string | null;
|
|
279
280
|
}
|
|
280
281
|
/** A day the organization is closed, such as Labor Day. */
|
package/dist/schema/index.d.ts
CHANGED
|
@@ -681,8 +681,8 @@ export interface PlanBudgetLines {
|
|
|
681
681
|
/** In cents: 12500 is $125.00. */
|
|
682
682
|
amount_cents: number;
|
|
683
683
|
fiscal_year: number;
|
|
684
|
-
/**
|
|
685
|
-
|
|
684
|
+
/** Counts toward modified total direct costs (MTDC). Clear it for a cost 2 CFR 200.1 leaves out, such as equipment. */
|
|
685
|
+
in_mtdc: boolean;
|
|
686
686
|
note: string | null;
|
|
687
687
|
}
|
|
688
688
|
/** Something lasting CSC means to buy, ranked with the most needed first. */
|
|
@@ -965,8 +965,8 @@ export interface PlanRevenueCharges {
|
|
|
965
965
|
product_kinds: ("program" | "charter" | "storage_lease" | "merchandise" | "event_hosting" | "other")[] | null;
|
|
966
966
|
/** A revenue account adds revenue, such as card fees families pay. An expense account adds a cost. */
|
|
967
967
|
account_id: string | Accounts;
|
|
968
|
-
/**
|
|
969
|
-
|
|
968
|
+
/** Counts toward MTDC. Clear it for a charge 2 CFR 200.1 leaves out, such as scholarships. */
|
|
969
|
+
in_mtdc: boolean;
|
|
970
970
|
note: string | null;
|
|
971
971
|
}
|
|
972
972
|
/** Hours of a salaried position booked to a product. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cyc-seattle/platform",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.52.0",
|
|
4
4
|
"description": "Pulumi components for CYC's shared Google Cloud platform: WebService, the platform outputs reader, and the stacks that build the platform",
|
|
5
5
|
"author": "CYC Community Sailing Center",
|
|
6
6
|
"license": "Apache-2.0",
|