mirror of
https://github.com/UtilitechAS/amsreader-firmware.git
synced 2026-01-13 15:37:03 +00:00
Added cHF as currency
This commit is contained in:
parent
ad342d2b7a
commit
b6cd55719c
16
lib/SvelteUi/app/dist/index.js
vendored
16
lib/SvelteUi/app/dist/index.js
vendored
File diff suppressed because one or more lines are too long
@ -285,7 +285,7 @@
|
||||
<div>
|
||||
Currency<br/>
|
||||
<select name="pc" bind:value={configuration.p.c} class="in-l">
|
||||
{#each ["NOK","SEK","DKK","EUR"] as c}
|
||||
{#each ["NOK","SEK","DKK","EUR","CHF"] as c}
|
||||
<option value={c}>{c}</option>
|
||||
{/each}
|
||||
</select>
|
||||
|
||||
@ -47,13 +47,18 @@
|
||||
if(min > -100 && max < 100) {
|
||||
switch(currency) {
|
||||
case 'NOK':
|
||||
case 'SEK':
|
||||
case 'DKK':
|
||||
currency = 'øre';
|
||||
break;
|
||||
case 'SEK':
|
||||
currency = 'öre';
|
||||
break;
|
||||
case 'EUR':
|
||||
currency = 'cent';
|
||||
break;
|
||||
case 'CHF':
|
||||
currency = 'rp.';
|
||||
break;
|
||||
default:
|
||||
currency = currency+'/100';
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user