app: lists on meta tables, schema-qualified SQL, typed columns
- lists read/write real lists.* tables via meta.tables/meta.columns and the SECURITY DEFINER meta functions; typed extra columns in the item forms - old numeric list URLs 308-redirect to the slug - include_recurring is boolean, osu accuracy/pp/rate numeric - raw SQL qualified with the new schemas
This commit is contained in:
@@ -300,7 +300,7 @@ export const actions: Actions = {
|
||||
fixedMonthlyCents,
|
||||
annualReturnPercent,
|
||||
contributionMode,
|
||||
includeRecurring: form.get('includeRecurring') === 'on' ? 1 : 0,
|
||||
includeRecurring: form.get('includeRecurring') === 'on',
|
||||
endDate
|
||||
};
|
||||
await db
|
||||
|
||||
@@ -324,7 +324,7 @@
|
||||
</div>
|
||||
<p class="muted projection-note">
|
||||
Includes future dated transactions and estimates{data.projectionSettings
|
||||
?.includeRecurring !== 0
|
||||
?.includeRecurring !== false
|
||||
? ', plus recurring monthly equivalents from next month'
|
||||
: ''}. {data.projectionSettings?.investmentAccountId
|
||||
? `The selected investment account and new contributions use a hypothetical ${data.projectionSettings.annualReturnPercent}% annual return.`
|
||||
@@ -991,8 +991,11 @@
|
||||
></label
|
||||
>
|
||||
<label class="field check-field"
|
||||
><Checkbox name="includeRecurring" value="on" checked={active.includeRecurring !== 0} /> Include
|
||||
recurring items from next month</label
|
||||
><Checkbox
|
||||
name="includeRecurring"
|
||||
value="on"
|
||||
checked={active.includeRecurring !== false}
|
||||
/> Include recurring items from next month</label
|
||||
>
|
||||
{:else if mode === 'settings'}
|
||||
<input type="hidden" name="kind" value={active.kind ?? selectedUtility} />
|
||||
|
||||
Reference in New Issue
Block a user