mirror of
https://github.com/RoboSats/robosats.git
synced 2024-12-13 02:46:28 +00:00
Add currency Albanian LEK
This commit is contained in:
parent
989de050f5
commit
07830fd2fd
99
api/migrations/0046_alter_currency_currency.py
Normal file
99
api/migrations/0046_alter_currency_currency.py
Normal file
@ -0,0 +1,99 @@
|
||||
# Generated by Django 4.2.7 on 2023-11-30 16:10
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
dependencies = [
|
||||
("api", "0045_alter_order_latitude_alter_order_longitude"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name="currency",
|
||||
name="currency",
|
||||
field=models.PositiveSmallIntegerField(
|
||||
choices=[
|
||||
(1, "USD"),
|
||||
(2, "EUR"),
|
||||
(3, "JPY"),
|
||||
(4, "GBP"),
|
||||
(5, "AUD"),
|
||||
(6, "CAD"),
|
||||
(7, "CHF"),
|
||||
(8, "CNY"),
|
||||
(9, "HKD"),
|
||||
(10, "NZD"),
|
||||
(11, "SEK"),
|
||||
(12, "KRW"),
|
||||
(13, "SGD"),
|
||||
(14, "NOK"),
|
||||
(15, "MXN"),
|
||||
(16, "BYN"),
|
||||
(17, "RUB"),
|
||||
(18, "ZAR"),
|
||||
(19, "TRY"),
|
||||
(20, "BRL"),
|
||||
(21, "CLP"),
|
||||
(22, "CZK"),
|
||||
(23, "DKK"),
|
||||
(24, "HRK"),
|
||||
(25, "HUF"),
|
||||
(26, "INR"),
|
||||
(27, "ISK"),
|
||||
(28, "PLN"),
|
||||
(29, "RON"),
|
||||
(30, "ARS"),
|
||||
(31, "VES"),
|
||||
(32, "COP"),
|
||||
(33, "PEN"),
|
||||
(34, "UYU"),
|
||||
(35, "PYG"),
|
||||
(36, "BOB"),
|
||||
(37, "IDR"),
|
||||
(38, "ANG"),
|
||||
(39, "CRC"),
|
||||
(40, "CUP"),
|
||||
(41, "DOP"),
|
||||
(42, "GHS"),
|
||||
(43, "GTQ"),
|
||||
(44, "ILS"),
|
||||
(45, "JMD"),
|
||||
(46, "KES"),
|
||||
(47, "KZT"),
|
||||
(48, "MYR"),
|
||||
(49, "NAD"),
|
||||
(50, "NGN"),
|
||||
(51, "AZN"),
|
||||
(52, "PAB"),
|
||||
(53, "PHP"),
|
||||
(54, "PKR"),
|
||||
(55, "QAR"),
|
||||
(56, "SAR"),
|
||||
(57, "THB"),
|
||||
(58, "TTD"),
|
||||
(59, "VND"),
|
||||
(60, "XOF"),
|
||||
(61, "TWD"),
|
||||
(62, "TZS"),
|
||||
(63, "XAF"),
|
||||
(64, "UAH"),
|
||||
(65, "EGP"),
|
||||
(66, "LKR"),
|
||||
(67, "MAD"),
|
||||
(68, "AED"),
|
||||
(69, "TND"),
|
||||
(70, "ETB"),
|
||||
(71, "GEL"),
|
||||
(72, "UGX"),
|
||||
(73, "RSD"),
|
||||
(74, "IRT"),
|
||||
(75, "BDT"),
|
||||
(76, "ALL"),
|
||||
(300, "XAU"),
|
||||
(1000, "BTC"),
|
||||
],
|
||||
unique=True,
|
||||
),
|
||||
),
|
||||
]
|
16
control/migrations/0003_alter_balancelog_options.py
Normal file
16
control/migrations/0003_alter_balancelog_options.py
Normal file
@ -0,0 +1,16 @@
|
||||
# Generated by Django 4.2.7 on 2023-11-30 16:10
|
||||
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
dependencies = [
|
||||
("control", "0002_auto_20220619_0535"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterModelOptions(
|
||||
name="balancelog",
|
||||
options={"get_latest_by": "time"},
|
||||
),
|
||||
]
|
@ -89,6 +89,7 @@ const FlagWithProps = ({ code, width = '1.428em', height = '1.428em' }: Props):
|
||||
if (code === 'RSD') flag = <Flags.RS {...defaultProps} />;
|
||||
if (code === 'IRT') flag = <Flags.IR {...defaultProps} />;
|
||||
if (code === 'BDT') flag = <Flags.BD {...defaultProps} />;
|
||||
if (code === 'ALL') flag = <Flags.AL {...defaultProps} />;
|
||||
if (code === 'ANY') flag = <EarthIcon {...defaultProps} />;
|
||||
if (code === 'XAU') flag = <GoldIcon {...defaultProps} />;
|
||||
if (code === 'BTC') flag = <SwapCallsIcon color='primary' />;
|
||||
|
@ -74,6 +74,7 @@
|
||||
"73": "RSD",
|
||||
"74": "IRT",
|
||||
"75": "BDT",
|
||||
"76": "ALL",
|
||||
"300": "XAU",
|
||||
"1000": "BTC"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user