aboutsummaryrefslogtreecommitdiff
path: root/packages/merchant-backoffice-ui/src/paths/instance/templates/use/UsePage.tsx
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2023-03-12 23:56:54 -0300
committerSebastian <sebasjm@gmail.com>2023-03-12 23:56:54 -0300
commitb874f9a0c50084803de58febb698864aa8dd061a (patch)
tree50f23d8faa674a94646a21c5821fd4f494c60f64 /packages/merchant-backoffice-ui/src/paths/instance/templates/use/UsePage.tsx
parentae1aee13581469a8398321b57e95cc85f210047b (diff)
downloadwallet-core-b874f9a0c50084803de58febb698864aa8dd061a.tar.xz
print and setup totp
Diffstat (limited to 'packages/merchant-backoffice-ui/src/paths/instance/templates/use/UsePage.tsx')
-rw-r--r--packages/merchant-backoffice-ui/src/paths/instance/templates/use/UsePage.tsx19
1 files changed, 18 insertions, 1 deletions
diff --git a/packages/merchant-backoffice-ui/src/paths/instance/templates/use/UsePage.tsx b/packages/merchant-backoffice-ui/src/paths/instance/templates/use/UsePage.tsx
index a63469763..5abc6b153 100644
--- a/packages/merchant-backoffice-ui/src/paths/instance/templates/use/UsePage.tsx
+++ b/packages/merchant-backoffice-ui/src/paths/instance/templates/use/UsePage.tsx
@@ -34,12 +34,13 @@ import { MerchantBackend } from "../../../../declaration.js";
type Entity = MerchantBackend.Template.UsingTemplateDetails;
interface Props {
+ id: string;
template: MerchantBackend.Template.TemplateDetails;
onCreateOrder: (d: Entity) => Promise<void>;
onBack?: () => void;
}
-export function UsePage({ template, onCreateOrder, onBack }: Props): VNode {
+export function UsePage({ id, template, onCreateOrder, onBack }: Props): VNode {
const { i18n } = useTranslationContext();
const [state, setState] = useState<Partial<Entity>>({
@@ -75,6 +76,22 @@ export function UsePage({ template, onCreateOrder, onBack }: Props): VNode {
return (
<div>
+ <section class="section">
+ <section class="hero is-hero-bar">
+ <div class="hero-body">
+ <div class="level">
+ <div class="level-left">
+ <div class="level-item">
+ <span class="is-size-4">
+ <i18n.Translate>New order for template</i18n.Translate>:{" "}
+ <b>{id}</b>
+ </span>
+ </div>
+ </div>
+ </div>
+ </div>
+ </section>
+ </section>
<section class="section is-main-section">
<div class="columns">
<div class="column" />