+ {$_('please-provide-the-required-information-to-create-a-new-scanstation')} +
++ { + enabled = !enabled; + }} + name="enabled" + type="checkbox" + checked={enabled} + class="focus:ring-indigo-500 h-4 w-4 text-indigo-600 border-gray-300 rounded" /> + {$_('this-scanstation-is')} {#if enabled}{$_('enabled')}{:else}{$_('disabled')}{/if} +
+
+ {$_(
+ 'do-you-want-to-delete-this-donor-with-all-related-donations'
+ )}
+
+ {$_('all-associated-scans-will-get-deleted-as-well')}
+
+ {$_('the-scanstations-api-token-will-only-get-displayed-once-you-wont-be-able-to-change-or-view-it-again')}
+
+ {$_('please-copy-the-token-and-store-it-somewhere-save')}
+
+ {new_station.key} +
+{$_('click-to-copy-token-to-clipboard')}
++ { + editable.enabled = !editable.enabled; + }} + name="enabled" + type="checkbox" + checked={editable.enabled} + class="focus:ring-indigo-500 h-4 w-4 text-indigo-600 border-gray-300 rounded" /> + {$_('this-scanstation-is')} + {#if editable.enabled}{$_('enabled')}{:else}{$_('disabled')}{/if} +
+
+
+ {$_('you-dont-have-any-scanstations-yet')}.
+ {$_('add-the-first-scanstation')}
+
{$_('scanstations-are-being-loaded')}
+{$_('this-might-take-a-moment')}
++ {$_('track')} + | ++ {$_('description')} + | ++ {$_('status')} + | ++ {$_('action')} + | +|
---|---|---|---|---|
+
+
+
+ |
+
+
+
+
+
+
+ {s.description}
+
+ |
+
+
+ {#if s.enabled}
+ {$_('active')}
+ {:else}
+ {$_('inactive')}
+ {/if}
+
+ |
+ {#if active_deletes[s.id] === true}
+ + + + | + {:else} ++ {$_('details')} + {#if store.state.jwtinfo.userdetails.permissions.includes('STATION:DELETE')} + + {/if} + | + {/if} +