ecotransac-shared-js 1.2.39 → 1.2.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +16 -2
- package/dist/index.mjs +16 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1521,6 +1521,20 @@ var mandateFormFields = [
|
|
|
1521
1521
|
tooltip: "Si vous connaissez le prix FAI que vous souhaitez obtenir, divisez ce prix par 1,05 (pour 5%) pour obtenir le prix net vendeur. Exemple : 100 000\u20AC FAI = 95 238\u20AC net vendeur (100 000 / 1,05)"
|
|
1522
1522
|
}
|
|
1523
1523
|
},
|
|
1524
|
+
{
|
|
1525
|
+
name: "feePaidBy",
|
|
1526
|
+
fieldType: "select",
|
|
1527
|
+
label: "Honoraires \xE0 la charge de",
|
|
1528
|
+
condition: or(
|
|
1529
|
+
not("isForProfessionalUse"),
|
|
1530
|
+
and(only("isForProfessionalUse"), only("isCommercialWallsSale"))
|
|
1531
|
+
),
|
|
1532
|
+
requiredFor: ["MANDATE_CREATION"],
|
|
1533
|
+
props: {
|
|
1534
|
+
options: MANDATE_EXCLUSIVITY,
|
|
1535
|
+
tooltip: "Si les honoraires sont \xE0 la charge de l'acqu\xE9reur, le prix FAI correspond au prix net vendeur. Si les honoraires sont \xE0 la charge du vendeur, le prix FAI correspond au prix net vendeur + les honoraires agence."
|
|
1536
|
+
}
|
|
1537
|
+
},
|
|
1524
1538
|
{
|
|
1525
1539
|
name: "agencyFeePercentage",
|
|
1526
1540
|
fieldType: "integer",
|
|
@@ -1909,8 +1923,8 @@ var COMPANY_INFO = {
|
|
|
1909
1923
|
|
|
1910
1924
|
// src/static/tiers.ts
|
|
1911
1925
|
var TIER_INFOS = [
|
|
1912
|
-
{ tier: "TIER_1", min: 0, max:
|
|
1913
|
-
{ tier: "TIER_2", min:
|
|
1926
|
+
{ tier: "TIER_1", min: 0, max: 7e4, rate: 0.7 },
|
|
1927
|
+
{ tier: "TIER_2", min: 70001, max: 12e4, rate: 0.8 },
|
|
1914
1928
|
{ tier: "TIER_3", min: 120001, max: 15e4, rate: 0.9 },
|
|
1915
1929
|
{ tier: "TIER_4", min: 150001, max: Infinity, rate: 1 }
|
|
1916
1930
|
];
|
package/dist/index.mjs
CHANGED
|
@@ -1426,6 +1426,20 @@ var mandateFormFields = [
|
|
|
1426
1426
|
tooltip: "Si vous connaissez le prix FAI que vous souhaitez obtenir, divisez ce prix par 1,05 (pour 5%) pour obtenir le prix net vendeur. Exemple : 100 000\u20AC FAI = 95 238\u20AC net vendeur (100 000 / 1,05)"
|
|
1427
1427
|
}
|
|
1428
1428
|
},
|
|
1429
|
+
{
|
|
1430
|
+
name: "feePaidBy",
|
|
1431
|
+
fieldType: "select",
|
|
1432
|
+
label: "Honoraires \xE0 la charge de",
|
|
1433
|
+
condition: or(
|
|
1434
|
+
not("isForProfessionalUse"),
|
|
1435
|
+
and(only("isForProfessionalUse"), only("isCommercialWallsSale"))
|
|
1436
|
+
),
|
|
1437
|
+
requiredFor: ["MANDATE_CREATION"],
|
|
1438
|
+
props: {
|
|
1439
|
+
options: MANDATE_EXCLUSIVITY,
|
|
1440
|
+
tooltip: "Si les honoraires sont \xE0 la charge de l'acqu\xE9reur, le prix FAI correspond au prix net vendeur. Si les honoraires sont \xE0 la charge du vendeur, le prix FAI correspond au prix net vendeur + les honoraires agence."
|
|
1441
|
+
}
|
|
1442
|
+
},
|
|
1429
1443
|
{
|
|
1430
1444
|
name: "agencyFeePercentage",
|
|
1431
1445
|
fieldType: "integer",
|
|
@@ -1814,8 +1828,8 @@ var COMPANY_INFO = {
|
|
|
1814
1828
|
|
|
1815
1829
|
// src/static/tiers.ts
|
|
1816
1830
|
var TIER_INFOS = [
|
|
1817
|
-
{ tier: "TIER_1", min: 0, max:
|
|
1818
|
-
{ tier: "TIER_2", min:
|
|
1831
|
+
{ tier: "TIER_1", min: 0, max: 7e4, rate: 0.7 },
|
|
1832
|
+
{ tier: "TIER_2", min: 70001, max: 12e4, rate: 0.8 },
|
|
1819
1833
|
{ tier: "TIER_3", min: 120001, max: 15e4, rate: 0.9 },
|
|
1820
1834
|
{ tier: "TIER_4", min: 150001, max: Infinity, rate: 1 }
|
|
1821
1835
|
];
|