mirror of
https://github.com/anna-sara/lan_kiosk
synced 2025-10-26 21:17:13 +01:00
Compare commits
4 commits
f9d00ab1ca
...
1da5fccff8
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1da5fccff8 | ||
|
|
f3ed9c4d99 | ||
|
|
a8435b9ced | ||
|
|
5008ae6b05 |
4 changed files with 7 additions and 4 deletions
|
|
@ -2,7 +2,7 @@
|
|||
"private": true,
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"build": "tsc && vite build && sass --load-path=node_modules my-bulma-project.scss my-bulma-project.css",
|
||||
"build": "tsc && vite build && sass --load-path=node_modules",
|
||||
"dev": "vite"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
|
|
|||
Binary file not shown.
|
Before Width: | Height: | Size: 0 B After Width: | Height: | Size: 49 KiB |
|
|
@ -10,6 +10,7 @@ interface CustomerProps {
|
|||
deposit: number
|
||||
amount_left: number
|
||||
give_leftover: number
|
||||
guardian_name: string
|
||||
purchases: [{
|
||||
id: number
|
||||
amount: number
|
||||
|
|
@ -52,8 +53,9 @@ export default function Customer({customer}: CustomerProps) {
|
|||
<div className="box">
|
||||
<h2 className='title is-4'>Saldo: {customer.amount_left ? customer.amount_left : 0} kr</h2>
|
||||
{ customer.deposit &&
|
||||
<p>Swishad summa: {customer.deposit} kr</p>
|
||||
<p>Inbetalad summa: {customer.deposit} kr</p>
|
||||
}
|
||||
<p>Vårnadshavare: {customer.guardian_name}</p>
|
||||
<p>Ge ev överblivet saldo till vBytes: {customer.give_leftover ? "Ja" : "Nej"}</p>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -10,8 +10,9 @@ export default function Thankyou() {
|
|||
<section className='section'>
|
||||
<div className="container is-max-desktop">
|
||||
<div className="box px-5 py-5">
|
||||
<h1 className="title px-3 py-3">Tack! Deltagaren registrerad</h1>
|
||||
<p className="subtitle is-5 px-3 py-3">Swisha eller betala in en önskad summa pengar och meddela kioskpersonal.</p>
|
||||
<h1 className="title px-3 py-3">Tack! Deltagaren är registrerad</h1>
|
||||
<p className="subtitle is-5 px-3 py-3">Swisha in en önskad summa pengar och meddela kioskpersonal eller betala in en önskad summa pengar i kontanter till kioskpersonal.</p>
|
||||
<a className='button' href="swish://">Öppna swish</a>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
|
|
|||
Loading…
Reference in a new issue