Mise à jour des taux

This commit is contained in:
2025-11-27 11:51:38 +01:00
parent d0f221e8df
commit 6da8243f24
2 changed files with 23 additions and 6 deletions

View File

@@ -1,15 +1,15 @@
show server_version;
--show server_version;
-- ----------------------------------------------------------------------
-- extensions
-- ----------------------------------------------------------------------
select * from pg_available_extensions;
--select * from pg_available_extensions;
SHOW shared_preload_libraries;
--show shared_preload_libraries;
drop schema if exists public cascade;
create schema public;
--drop schema if exists public cascade;
--create schema public;
create schema if not exists ext;
create extension if not exists pgcrypto schema ext;
@@ -364,7 +364,7 @@ $$;
call add_company('Boulangerie de Valorgue', 'FR19803269968', '2014-08-19');
create or replace procedure add_account(
create or replace procedure add_account (
p_currency text,
p_holders int[],
p_shares numeric[]
@@ -456,6 +456,8 @@ begin
insert into operation (transaction_id, account_id, amount, direction)
values (v_id, p_account_id, p_amount, 'CREDIT');
update account set balance = balance + p_amount where id = p_account_id;
raise notice 'Dépôt de % sur le compte %', p_amount, p_account_id;
end;
$$;
@@ -476,6 +478,8 @@ begin
insert into operation (transaction_id, account_id, amount, direction)
values (v_id, p_account_id, p_amount, 'DEBIT');
update account set balance = balance - p_amount where id = p_account_id;
raise notice 'Retrait de % sur le compte %', p_amount, p_account_id;
end;
$$;

View File

@@ -1,4 +1,17 @@
Date,USD,JPY,BGN,CYP,CZK,DKK,EEK,GBP,HUF,LTL,LVL,MTL,PLN,ROL,RON,SEK,SIT,SKK,CHF,ISK,NOK,HRK,RUB,TRL,TRY,AUD,BRL,CAD,CNY,HKD,IDR,ILS,INR,KRW,MXN,MYR,NZD,PHP,SGD,THB,ZAR,
2025-11-26,1.1577,181.09,1.9558,N/A,24.168,7.4687,N/A,0.8776,382,N/A,N/A,N/A,4.2313,N/A,5.0904,11.0345,N/A,N/A,0.9341,146.8,11.8468,N/A,N/A,N/A,49.1459,1.7818,6.2242,1.6309,8.1959,9.0042,19274.55,3.799,103.2665,1706.8,21.2644,4.7882,2.0395,68.103,1.5029,37.295,19.8458,
2025-11-25,1.1551,180.42,1.9558,N/A,24.133,7.4691,N/A,0.8788,381.56,N/A,N/A,N/A,4.2228,N/A,5.0881,11.048,N/A,N/A,0.9345,146.6,11.848,N/A,N/A,N/A,49.0072,1.7877,6.1977,1.6301,8.1845,8.9823,19185.23,3.7804,103.0343,1692.08,21.3083,4.7758,2.0603,67.974,1.5038,37.292,19.8881,
2025-11-24,1.1544,181.22,1.9558,N/A,24.169,7.4691,N/A,0.8804,382.53,N/A,N/A,N/A,4.2303,N/A,5.0878,11.006,N/A,N/A,0.9324,147.2,11.7945,N/A,N/A,N/A,48.8857,1.7878,6.2137,1.6279,8.1833,8.9647,19201.08,3.7814,102.914,1700.74,21.2393,4.771,2.0531,67.804,1.5026,37.405,19.9482,
2025-11-21,1.152,180.56,1.9558,N/A,24.235,7.4687,N/A,0.8803,383.43,N/A,N/A,N/A,4.2448,N/A,5.0896,11.026,N/A,N/A,0.9289,147.2,11.794,N/A,N/A,N/A,48.8961,1.7873,6.1879,1.6226,8.1905,8.9679,19258.85,3.7816,103.2628,1698.38,21.2561,4.7796,2.056,67.817,1.5065,37.382,19.997,
2025-11-20,1.1514,181.47,1.9558,N/A,24.179,7.4691,N/A,0.8815,382.5,N/A,N/A,N/A,4.232,N/A,5.0887,10.9995,N/A,N/A,0.9294,146.8,11.7405,N/A,N/A,N/A,48.785,1.7773,6.1382,1.6194,8.1908,8.9644,19284.68,3.7499,102.144,1691.81,21.1527,4.7858,2.0508,67.988,1.5055,37.334,19.8488,
2025-11-19,1.1583,180.85,1.9558,N/A,24.159,7.4691,N/A,0.8827,382.33,N/A,N/A,N/A,4.2283,N/A,5.0879,10.992,N/A,N/A,0.9284,146.82,11.748,N/A,N/A,N/A,49.0618,1.7853,6.18,1.623,8.2359,9.0196,19364.34,3.7847,102.5145,1698.08,21.2283,4.8069,2.0585,68.206,1.5104,37.569,19.8728,
2025-11-18,1.159,179.94,1.9558,N/A,24.188,7.4684,N/A,0.8821,384.96,N/A,N/A,N/A,4.244,N/A,5.087,10.997,N/A,N/A,0.9233,147.2,11.7333,N/A,N/A,N/A,49.0676,1.783,6.1893,1.6257,8.241,9.0233,19420.32,3.7915,102.644,1695.61,21.3761,4.8261,2.0459,68.182,1.5093,37.569,19.9751,
2025-11-17,1.1593,179.57,1.9558,N/A,24.169,7.4683,N/A,0.8795,383.93,N/A,N/A,N/A,4.2228,N/A,5.084,10.9635,N/A,N/A,0.9225,147.2,11.7005,N/A,N/A,N/A,49.0711,1.7798,6.1493,1.627,8.2398,9.012,19401.29,3.7595,102.7195,1694.27,21.2546,4.8111,2.0464,68.355,1.5099,37.642,19.7978,
2025-11-14,1.1648,179.22,1.9558,N/A,24.198,7.4679,N/A,0.8846,384.9,N/A,N/A,N/A,4.2328,N/A,5.0851,10.9835,N/A,N/A,0.9185,147.4,11.7285,N/A,N/A,N/A,49.3064,1.7847,6.1764,1.6331,8.2655,9.0517,19455.36,3.7718,103.2865,1690.71,21.4017,4.8135,2.0489,68.695,1.5129,37.74,19.9561,
2025-11-13,1.1619,179.57,1.9558,N/A,24.191,7.4677,N/A,0.8819,384,N/A,N/A,N/A,4.228,N/A,5.0837,10.9405,N/A,N/A,0.9244,147,11.674,N/A,N/A,N/A,49.0952,1.7722,6.1383,1.6272,8.245,9.0288,19417.03,3.731,103.0475,1700.42,21.2252,4.7975,2.0507,68.418,1.5109,37.541,19.7556,
2025-11-12,1.1576,179.19,1.9558,N/A,24.229,7.4671,N/A,0.8823,385.05,N/A,N/A,N/A,4.228,N/A,5.0837,10.9395,N/A,N/A,0.925,147,11.6495,N/A,N/A,N/A,48.9021,1.7696,6.0993,1.6216,8.2381,8.9958,19401.72,3.7008,102.5675,1696.9,21.1634,4.7884,2.0432,68.476,1.5081,37.57,19.7327,
2025-11-11,1.1575,178.46,1.9558,N/A,24.288,7.4679,N/A,0.8804,385.66,N/A,N/A,N/A,4.23,N/A,5.084,10.973,N/A,N/A,0.9278,146.6,11.6605,N/A,N/A,N/A,48.8867,1.7738,6.1196,1.6234,8.2397,8.997,19362.25,3.726,102.43,1695.85,21.2582,4.7909,2.0478,68.255,1.5067,37.538,19.8699,
2025-11-10,1.1571,178.31,1.9558,N/A,24.282,7.4672,N/A,0.8778,383.58,N/A,N/A,N/A,4.234,N/A,5.0852,10.987,N/A,N/A,0.9318,146.4,11.6885,N/A,N/A,N/A,48.8579,1.771,6.1488,1.6213,8.2377,8.9945,19314.54,3.7406,102.611,1682.57,21.2938,4.8135,2.0511,68.204,1.5074,37.415,19.8864,
2025-11-07,1.1561,176.99,1.9558,N/A,24.333,7.4667,N/A,0.8811,385.44,N/A,N/A,N/A,4.248,N/A,5.0855,11.046,N/A,N/A,0.9312,146.2,11.78,N/A,N/A,N/A,48.8007,1.7838,6.2007,1.6311,8.2324,8.9908,19303.86,3.7719,102.518,1687.49,21.459,4.8279,2.0569,68.379,1.5053,37.388,20.056,
2025-11-06,1.1533,177.15,1.9558,N/A,24.334,7.4673,N/A,0.8807,386.3,N/A,N/A,N/A,4.2528,N/A,5.085,10.99,N/A,N/A,0.9316,146.2,11.7265,N/A,N/A,N/A,48.5775,1.7697,6.1567,1.6252,8.2109,8.967,19233.76,3.7551,102.1525,1667.4,21.4201,4.8243,2.0353,67.838,1.5041,37.309,20.0037,
2025-11-05,1.1492,176.67,1.9558,N/A,24.365,7.4656,N/A,0.881,387.03,N/A,N/A,N/A,4.2583,N/A,5.0853,11.0175,N/A,N/A,0.9307,147,11.749,N/A,N/A,N/A,48.3717,1.7724,6.2067,1.6238,8.1905,8.9361,19196.18,3.7567,101.867,1659.45,21.4323,4.8169,2.0349,67.572,1.5018,37.372,20.0458,
Can't render this file because it is too large.