Receipt
-Receipt {params.id}
- - - --
+
- Status +
- {receipt.Status ?? "—"} +
- Type +
- {receipt.Type ?? "—"} +
- User +
- + {#if receipt.expand?.User} + {receipt.expand.User.name ?? receipt.expand.User.email ?? receipt.expand.User.id} + {:else} + — + {/if} + +
- Created +
- {formatDate(receipt.created)} +
- Updated +
- {formatDate(receipt.updated)} +
- Data +
-
+
{JSON.stringify(receipt.Data, null, 2)}+
+ - Image +
-
+ {@const url = imageUrl(receipt)}
+ {#if url}
+
+ {:else} + — + {/if} +
+
Receipt not found.
+ + + +