@bookipi/htmlgenerator 1.1.17-alpha10 → 1.1.17-alpha3
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/README.md +10 -11
- package/dist/bootstrap.css +276 -705
- package/dist/font-awesome.css +7 -13
- package/dist/index.css +492 -1336
- package/dist/index.js +1558 -1575
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +1558 -1575
- package/dist/index.modern.js.map +1 -1
- package/package.json +2 -5
package/dist/index.modern.js
CHANGED
|
@@ -61,1543 +61,1543 @@ function _createForOfIteratorHelperLoose(o, allowArrayLike) {
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
var currencies = {
|
|
64
|
-
AED: {
|
|
65
|
-
symbol: "AED",
|
|
66
|
-
name: "United Arab Emirates Dirham",
|
|
67
|
-
symbol_native: "د.إ.",
|
|
68
|
-
decimal_digits: 2,
|
|
69
|
-
rounding: 0,
|
|
70
|
-
code: "AED",
|
|
71
|
-
name_plural: "UAE dirhams",
|
|
72
|
-
rtl: true
|
|
73
|
-
},
|
|
74
|
-
AFN: {
|
|
75
|
-
symbol: "Af",
|
|
76
|
-
name: "Afghan Afghani",
|
|
77
|
-
symbol_native: "Af",
|
|
78
|
-
decimal_digits: 0,
|
|
79
|
-
rounding: 0,
|
|
80
|
-
code: "AFN",
|
|
81
|
-
name_plural: "Afghan Afghanis",
|
|
82
|
-
rtl: true
|
|
83
|
-
},
|
|
84
|
-
ALL: {
|
|
85
|
-
symbol: "ALL",
|
|
86
|
-
name: "Albanian Lek",
|
|
87
|
-
symbol_native: "Lek",
|
|
88
|
-
decimal_digits: 0,
|
|
89
|
-
rounding: 0,
|
|
90
|
-
code: "ALL",
|
|
91
|
-
name_plural: "Albanian lekë"
|
|
92
|
-
},
|
|
93
|
-
AOA: {
|
|
94
|
-
symbol: "Kz",
|
|
95
|
-
name: "Angolan kwanza",
|
|
96
|
-
symbol_native: "Kz",
|
|
97
|
-
decimal_digits: 2,
|
|
98
|
-
rounding: 0,
|
|
99
|
-
code: "AOA",
|
|
100
|
-
name_plural: "Angolan kwanza"
|
|
101
|
-
},
|
|
102
|
-
AMD: {
|
|
103
|
-
symbol: "AMD",
|
|
104
|
-
name: "Armenian Dram",
|
|
105
|
-
symbol_native: "դր.",
|
|
106
|
-
decimal_digits: 0,
|
|
107
|
-
rounding: 0,
|
|
108
|
-
code: "AMD",
|
|
109
|
-
name_plural: "Armenian drams"
|
|
110
|
-
},
|
|
111
|
-
ANG: {
|
|
112
|
-
symbol: "ANG",
|
|
113
|
-
name: "Dutch Guilder",
|
|
114
|
-
symbol_native: "ƒ",
|
|
115
|
-
decimal_digits: 2,
|
|
116
|
-
rounding: 0,
|
|
117
|
-
code: "ANG",
|
|
118
|
-
name_plural: "Dutch Guilders"
|
|
119
|
-
},
|
|
120
|
-
ARS: {
|
|
121
|
-
symbol: "AR$",
|
|
122
|
-
name: "Argentine Peso",
|
|
123
|
-
symbol_native: "$",
|
|
124
|
-
decimal_digits: 2,
|
|
125
|
-
rounding: 0,
|
|
126
|
-
code: "ARS",
|
|
127
|
-
name_plural: "Argentine pesos"
|
|
128
|
-
},
|
|
129
|
-
AUD: {
|
|
130
|
-
symbol: "AU$",
|
|
131
|
-
name: "Australian Dollar",
|
|
132
|
-
symbol_native: "$",
|
|
133
|
-
decimal_digits: 2,
|
|
134
|
-
rounding: 0,
|
|
135
|
-
code: "AUD",
|
|
136
|
-
name_plural: "Australian dollars"
|
|
137
|
-
},
|
|
138
|
-
AZN: {
|
|
139
|
-
symbol: "man.",
|
|
140
|
-
name: "Azerbaijani Manat",
|
|
141
|
-
symbol_native: "ман.",
|
|
142
|
-
decimal_digits: 2,
|
|
143
|
-
rounding: 0,
|
|
144
|
-
code: "AZN",
|
|
145
|
-
name_plural: "Azerbaijani manats"
|
|
146
|
-
},
|
|
147
|
-
BAM: {
|
|
148
|
-
symbol: "KM",
|
|
149
|
-
name: "Bosnia-Herzegovina Convertible Mark",
|
|
150
|
-
symbol_native: "KM",
|
|
151
|
-
decimal_digits: 2,
|
|
152
|
-
rounding: 0,
|
|
153
|
-
code: "BAM",
|
|
154
|
-
name_plural: "Bosnia-Herzegovina convertible marks"
|
|
155
|
-
},
|
|
156
|
-
BBD: {
|
|
157
|
-
symbol: "Bds$",
|
|
158
|
-
name: "Barbadian Dollar",
|
|
159
|
-
symbol_native: "Bds$",
|
|
160
|
-
decimal_digits: 2,
|
|
161
|
-
rounding: 0,
|
|
162
|
-
code: "BBD",
|
|
163
|
-
name_plural: "Barbadian Dollars"
|
|
164
|
-
},
|
|
165
|
-
BDT: {
|
|
166
|
-
symbol: "Tk",
|
|
167
|
-
name: "Bangladeshi Taka",
|
|
168
|
-
symbol_native: "Tk",
|
|
169
|
-
decimal_digits: 2,
|
|
170
|
-
rounding: 0,
|
|
171
|
-
code: "BDT",
|
|
172
|
-
name_plural: "Bangladeshi takas"
|
|
173
|
-
},
|
|
174
|
-
BGN: {
|
|
175
|
-
symbol: "BGN",
|
|
176
|
-
name: "Bulgarian Lev",
|
|
177
|
-
symbol_native: "лв.",
|
|
178
|
-
decimal_digits: 2,
|
|
179
|
-
rounding: 0,
|
|
180
|
-
code: "BGN",
|
|
181
|
-
name_plural: "Bulgarian leva"
|
|
182
|
-
},
|
|
183
|
-
BHD: {
|
|
184
|
-
symbol: "BD",
|
|
185
|
-
name: "Bahraini Dinar",
|
|
186
|
-
symbol_native: "د.ب.",
|
|
187
|
-
decimal_digits: 3,
|
|
188
|
-
rounding: 0,
|
|
189
|
-
code: "BHD",
|
|
190
|
-
name_plural: "Bahraini dinars",
|
|
191
|
-
rtl: true
|
|
192
|
-
},
|
|
193
|
-
BIF: {
|
|
194
|
-
symbol: "FBu",
|
|
195
|
-
name: "Burundian Franc",
|
|
196
|
-
symbol_native: "FBu",
|
|
197
|
-
decimal_digits: 0,
|
|
198
|
-
rounding: 0,
|
|
199
|
-
code: "BIF",
|
|
200
|
-
name_plural: "Burundian francs"
|
|
201
|
-
},
|
|
202
|
-
BND: {
|
|
203
|
-
symbol: "BN$",
|
|
204
|
-
name: "Brunei Dollar",
|
|
205
|
-
symbol_native: "$",
|
|
206
|
-
decimal_digits: 2,
|
|
207
|
-
rounding: 0,
|
|
208
|
-
code: "BND",
|
|
209
|
-
name_plural: "Brunei dollars"
|
|
210
|
-
},
|
|
211
|
-
BOB: {
|
|
212
|
-
symbol: "Bs",
|
|
213
|
-
name: "Bolivian Boliviano",
|
|
214
|
-
symbol_native: "Bs",
|
|
215
|
-
decimal_digits: 2,
|
|
216
|
-
rounding: 0,
|
|
217
|
-
code: "BOB",
|
|
218
|
-
name_plural: "Bolivian bolivianos"
|
|
219
|
-
},
|
|
220
|
-
BRL: {
|
|
221
|
-
symbol: "R$",
|
|
222
|
-
name: "Brazilian Real",
|
|
223
|
-
symbol_native: "R$",
|
|
224
|
-
decimal_digits: 2,
|
|
225
|
-
rounding: 0,
|
|
226
|
-
code: "BRL",
|
|
227
|
-
name_plural: "Brazilian reals"
|
|
228
|
-
},
|
|
229
|
-
BWP: {
|
|
230
|
-
symbol: "BWP",
|
|
231
|
-
name: "Botswanan Pula",
|
|
232
|
-
symbol_native: "P",
|
|
233
|
-
decimal_digits: 2,
|
|
234
|
-
rounding: 0,
|
|
235
|
-
code: "BWP",
|
|
236
|
-
name_plural: "Botswanan pulas"
|
|
237
|
-
},
|
|
238
|
-
BYR: {
|
|
239
|
-
symbol: "BYR",
|
|
240
|
-
name: "Belarusian Ruble",
|
|
241
|
-
symbol_native: "BYR",
|
|
242
|
-
decimal_digits: 0,
|
|
243
|
-
rounding: 0,
|
|
244
|
-
code: "BYR",
|
|
245
|
-
name_plural: "Belarusian rubles"
|
|
246
|
-
},
|
|
247
|
-
BZD: {
|
|
248
|
-
symbol: "BZ$",
|
|
249
|
-
name: "Belize Dollar",
|
|
250
|
-
symbol_native: "$",
|
|
251
|
-
decimal_digits: 2,
|
|
252
|
-
rounding: 0,
|
|
253
|
-
code: "BZD",
|
|
254
|
-
name_plural: "Belize dollars"
|
|
255
|
-
},
|
|
256
|
-
CAD: {
|
|
257
|
-
symbol: "CA$",
|
|
258
|
-
name: "Canadian Dollar",
|
|
259
|
-
symbol_native: "$",
|
|
260
|
-
decimal_digits: 2,
|
|
261
|
-
rounding: 0,
|
|
262
|
-
code: "CAD",
|
|
263
|
-
name_plural: "Canadian dollars"
|
|
264
|
-
},
|
|
265
|
-
CDF: {
|
|
266
|
-
symbol: "CDF",
|
|
267
|
-
name: "Congolese Franc",
|
|
268
|
-
symbol_native: "FrCD",
|
|
269
|
-
decimal_digits: 2,
|
|
270
|
-
rounding: 0,
|
|
271
|
-
code: "CDF",
|
|
272
|
-
name_plural: "Congolese francs"
|
|
273
|
-
},
|
|
274
|
-
CHF: {
|
|
275
|
-
symbol: "CHF",
|
|
276
|
-
name: "Swiss Franc",
|
|
277
|
-
symbol_native: "CHF",
|
|
278
|
-
decimal_digits: 2,
|
|
279
|
-
rounding: 0.05,
|
|
280
|
-
code: "CHF",
|
|
281
|
-
name_plural: "Swiss francs"
|
|
282
|
-
},
|
|
283
|
-
CLP: {
|
|
284
|
-
symbol: "CL$",
|
|
285
|
-
name: "Chilean Peso",
|
|
286
|
-
symbol_native: "$",
|
|
287
|
-
decimal_digits: 0,
|
|
288
|
-
rounding: 0,
|
|
289
|
-
code: "CLP",
|
|
290
|
-
name_plural: "Chilean pesos"
|
|
291
|
-
},
|
|
292
|
-
CNY: {
|
|
293
|
-
symbol: "¥",
|
|
294
|
-
name: "Chinese Yuan",
|
|
295
|
-
symbol_native: "¥",
|
|
296
|
-
decimal_digits: 2,
|
|
297
|
-
rounding: 0,
|
|
298
|
-
code: "CNY",
|
|
299
|
-
name_plural: "Chinese yuan"
|
|
300
|
-
},
|
|
301
|
-
COP: {
|
|
302
|
-
symbol: "CO$",
|
|
303
|
-
name: "Colombian Peso",
|
|
304
|
-
symbol_native: "$",
|
|
305
|
-
decimal_digits: 0,
|
|
306
|
-
rounding: 0,
|
|
307
|
-
code: "COP",
|
|
308
|
-
name_plural: "Colombian pesos"
|
|
309
|
-
},
|
|
310
|
-
CRC: {
|
|
311
|
-
symbol: "₡",
|
|
312
|
-
name: "Costa Rican Colón",
|
|
313
|
-
symbol_native: "₡",
|
|
314
|
-
decimal_digits: 0,
|
|
315
|
-
rounding: 0,
|
|
316
|
-
code: "CRC",
|
|
317
|
-
name_plural: "Costa Rican colóns"
|
|
318
|
-
},
|
|
319
|
-
CVE: {
|
|
320
|
-
symbol: "CV$",
|
|
321
|
-
name: "Cape Verdean Escudo",
|
|
322
|
-
symbol_native: "CV$",
|
|
323
|
-
decimal_digits: 2,
|
|
324
|
-
rounding: 0,
|
|
325
|
-
code: "CVE",
|
|
326
|
-
name_plural: "Cape Verdean escudos"
|
|
327
|
-
},
|
|
328
|
-
CZK: {
|
|
329
|
-
symbol: "Kč",
|
|
330
|
-
name: "Czech Republic Koruna",
|
|
331
|
-
symbol_native: "Kč",
|
|
332
|
-
decimal_digits: 2,
|
|
333
|
-
rounding: 0,
|
|
334
|
-
code: "CZK",
|
|
335
|
-
name_plural: "Czech Republic korunas"
|
|
336
|
-
},
|
|
337
|
-
DJF: {
|
|
338
|
-
symbol: "Fdj",
|
|
339
|
-
name: "Djiboutian Franc",
|
|
340
|
-
symbol_native: "Fdj",
|
|
341
|
-
decimal_digits: 0,
|
|
342
|
-
rounding: 0,
|
|
343
|
-
code: "DJF",
|
|
344
|
-
name_plural: "Djiboutian francs"
|
|
345
|
-
},
|
|
346
|
-
DKK: {
|
|
347
|
-
symbol: "Dkr",
|
|
348
|
-
name: "Danish Krone",
|
|
349
|
-
symbol_native: "kr",
|
|
350
|
-
decimal_digits: 2,
|
|
351
|
-
rounding: 0,
|
|
352
|
-
code: "DKK",
|
|
353
|
-
name_plural: "Danish kroner"
|
|
354
|
-
},
|
|
355
|
-
DOP: {
|
|
356
|
-
symbol: "RD$",
|
|
357
|
-
name: "Dominican Peso",
|
|
358
|
-
symbol_native: "RD$",
|
|
359
|
-
decimal_digits: 2,
|
|
360
|
-
rounding: 0,
|
|
361
|
-
code: "DOP",
|
|
362
|
-
name_plural: "Dominican pesos"
|
|
363
|
-
},
|
|
364
|
-
DZD: {
|
|
365
|
-
symbol: "DA",
|
|
366
|
-
name: "Algerian Dinar",
|
|
367
|
-
symbol_native: "د.ج.",
|
|
368
|
-
decimal_digits: 2,
|
|
369
|
-
rounding: 0,
|
|
370
|
-
code: "DZD",
|
|
371
|
-
name_plural: "Algerian dinars",
|
|
372
|
-
rtl: true
|
|
373
|
-
},
|
|
374
|
-
EEK: {
|
|
375
|
-
symbol: "Ekr",
|
|
376
|
-
name: "Estonian Kroon",
|
|
377
|
-
symbol_native: "kr",
|
|
378
|
-
decimal_digits: 2,
|
|
379
|
-
rounding: 0,
|
|
380
|
-
code: "EEK",
|
|
381
|
-
name_plural: "Estonian kroons"
|
|
382
|
-
},
|
|
383
|
-
EGP: {
|
|
384
|
-
symbol: "EGP",
|
|
385
|
-
name: "Egyptian Pound",
|
|
386
|
-
symbol_native: "ج.م.",
|
|
387
|
-
decimal_digits: 2,
|
|
388
|
-
rounding: 0,
|
|
389
|
-
code: "EGP",
|
|
390
|
-
name_plural: "Egyptian pounds",
|
|
391
|
-
rtl: true
|
|
392
|
-
},
|
|
393
|
-
ERN: {
|
|
394
|
-
symbol: "Nfk",
|
|
395
|
-
name: "Eritrean Nakfa",
|
|
396
|
-
symbol_native: "Nfk",
|
|
397
|
-
decimal_digits: 2,
|
|
398
|
-
rounding: 0,
|
|
399
|
-
code: "ERN",
|
|
400
|
-
name_plural: "Eritrean nakfas"
|
|
401
|
-
},
|
|
402
|
-
ETB: {
|
|
403
|
-
symbol: "Br",
|
|
404
|
-
name: "Ethiopian Birr",
|
|
405
|
-
symbol_native: "Br",
|
|
406
|
-
decimal_digits: 2,
|
|
407
|
-
rounding: 0,
|
|
408
|
-
code: "ETB",
|
|
409
|
-
name_plural: "Ethiopian birrs"
|
|
410
|
-
},
|
|
411
|
-
EUR: {
|
|
412
|
-
symbol: "€",
|
|
413
|
-
name: "Euro",
|
|
414
|
-
symbol_native: "€",
|
|
415
|
-
decimal_digits: 2,
|
|
416
|
-
rounding: 0,
|
|
417
|
-
code: "EUR",
|
|
418
|
-
name_plural: "euros"
|
|
419
|
-
},
|
|
420
|
-
GBP: {
|
|
421
|
-
symbol: "£",
|
|
422
|
-
name: "British Pound Sterling",
|
|
423
|
-
symbol_native: "£",
|
|
424
|
-
decimal_digits: 2,
|
|
425
|
-
rounding: 0,
|
|
426
|
-
code: "GBP",
|
|
427
|
-
name_plural: "British pounds sterling"
|
|
428
|
-
},
|
|
429
|
-
GEL: {
|
|
430
|
-
symbol: "GEL",
|
|
431
|
-
name: "Georgian Lari",
|
|
432
|
-
symbol_native: "GEL",
|
|
433
|
-
decimal_digits: 2,
|
|
434
|
-
rounding: 0,
|
|
435
|
-
code: "GEL",
|
|
436
|
-
name_plural: "Georgian laris"
|
|
437
|
-
},
|
|
438
|
-
GHS: {
|
|
439
|
-
symbol: "GH₵",
|
|
440
|
-
name: "Ghanaian Cedi",
|
|
441
|
-
symbol_native: "GH₵",
|
|
442
|
-
decimal_digits: 2,
|
|
443
|
-
rounding: 0,
|
|
444
|
-
code: "GHS",
|
|
445
|
-
name_plural: "Ghanaian cedis"
|
|
446
|
-
},
|
|
447
|
-
GNF: {
|
|
448
|
-
symbol: "FG",
|
|
449
|
-
name: "Guinean Franc",
|
|
450
|
-
symbol_native: "FG",
|
|
451
|
-
decimal_digits: 0,
|
|
452
|
-
rounding: 0,
|
|
453
|
-
code: "GNF",
|
|
454
|
-
name_plural: "Guinean francs"
|
|
455
|
-
},
|
|
456
|
-
GTQ: {
|
|
457
|
-
symbol: "GTQ",
|
|
458
|
-
name: "Guatemalan Quetzal",
|
|
459
|
-
symbol_native: "Q",
|
|
460
|
-
decimal_digits: 2,
|
|
461
|
-
rounding: 0,
|
|
462
|
-
code: "GTQ",
|
|
463
|
-
name_plural: "Guatemalan quetzals"
|
|
464
|
-
},
|
|
465
|
-
HKD: {
|
|
466
|
-
symbol: "HK$",
|
|
467
|
-
name: "Hong Kong Dollar",
|
|
468
|
-
symbol_native: "HKD",
|
|
469
|
-
decimal_digits: 2,
|
|
470
|
-
rounding: 0,
|
|
471
|
-
code: "HKD",
|
|
472
|
-
name_plural: "Hong Kong dollars"
|
|
473
|
-
},
|
|
474
|
-
HNL: {
|
|
475
|
-
symbol: "HNL",
|
|
476
|
-
name: "Honduran Lempira",
|
|
477
|
-
symbol_native: "L",
|
|
478
|
-
decimal_digits: 2,
|
|
479
|
-
rounding: 0,
|
|
480
|
-
code: "HNL",
|
|
481
|
-
name_plural: "Honduran lempiras"
|
|
482
|
-
},
|
|
483
|
-
HRK: {
|
|
484
|
-
symbol: "kn",
|
|
485
|
-
name: "Croatian Kuna",
|
|
486
|
-
symbol_native: "kn",
|
|
487
|
-
decimal_digits: 2,
|
|
488
|
-
rounding: 0,
|
|
489
|
-
code: "HRK",
|
|
490
|
-
name_plural: "Croatian kunas"
|
|
491
|
-
},
|
|
492
|
-
HTG: {
|
|
493
|
-
symbol: "HTG",
|
|
494
|
-
name: "Haitian gourde",
|
|
495
|
-
symbol_native: "G",
|
|
496
|
-
decimal_digits: 2,
|
|
497
|
-
rounding: 0,
|
|
498
|
-
code: "HTG",
|
|
499
|
-
name_plural: "Haitian gourde"
|
|
500
|
-
},
|
|
501
|
-
HUF: {
|
|
502
|
-
symbol: "Ft",
|
|
503
|
-
name: "Hungarian Forint",
|
|
504
|
-
symbol_native: "Ft",
|
|
505
|
-
decimal_digits: 0,
|
|
506
|
-
rounding: 0,
|
|
507
|
-
code: "HUF",
|
|
508
|
-
name_plural: "Hungarian forints"
|
|
509
|
-
},
|
|
510
|
-
IDR: {
|
|
511
|
-
symbol: "Rp",
|
|
512
|
-
name: "Indonesian Rupiah",
|
|
513
|
-
symbol_native: "Rp",
|
|
514
|
-
decimal_digits: 0,
|
|
515
|
-
rounding: 0,
|
|
516
|
-
code: "IDR",
|
|
517
|
-
name_plural: "Indonesian rupiahs"
|
|
518
|
-
},
|
|
519
|
-
ILS: {
|
|
520
|
-
symbol: "₪",
|
|
521
|
-
name: "Israeli New Sheqel",
|
|
522
|
-
symbol_native: "₪",
|
|
523
|
-
decimal_digits: 2,
|
|
524
|
-
rounding: 0,
|
|
525
|
-
code: "ILS",
|
|
526
|
-
name_plural: "Israeli new sheqels"
|
|
527
|
-
},
|
|
528
|
-
INR: {
|
|
529
|
-
symbol: "Rs",
|
|
530
|
-
name: "Indian Rupee",
|
|
531
|
-
symbol_native: "₹",
|
|
532
|
-
decimal_digits: 2,
|
|
533
|
-
rounding: 0,
|
|
534
|
-
code: "INR",
|
|
535
|
-
name_plural: "Indian rupees"
|
|
536
|
-
},
|
|
537
|
-
IQD: {
|
|
538
|
-
symbol: "IQD",
|
|
539
|
-
name: "Iraqi Dinar",
|
|
540
|
-
symbol_native: "د.ع.",
|
|
541
|
-
decimal_digits: 0,
|
|
542
|
-
rounding: 0,
|
|
543
|
-
code: "IQD",
|
|
544
|
-
name_plural: "Iraqi dinars",
|
|
545
|
-
rtl: true
|
|
546
|
-
},
|
|
547
|
-
IRR: {
|
|
548
|
-
symbol: "IRR",
|
|
549
|
-
name: "Iranian Rial",
|
|
550
|
-
symbol_native: "﷼",
|
|
551
|
-
decimal_digits: 0,
|
|
552
|
-
rounding: 0,
|
|
553
|
-
code: "IRR",
|
|
554
|
-
name_plural: "Iranian rials",
|
|
555
|
-
rtl: true
|
|
556
|
-
},
|
|
557
|
-
ISK: {
|
|
558
|
-
symbol: "Ikr",
|
|
559
|
-
name: "Icelandic Króna",
|
|
560
|
-
symbol_native: "kr",
|
|
561
|
-
decimal_digits: 0,
|
|
562
|
-
rounding: 0,
|
|
563
|
-
code: "ISK",
|
|
564
|
-
name_plural: "Icelandic krónur"
|
|
565
|
-
},
|
|
566
|
-
JMD: {
|
|
567
|
-
symbol: "J$",
|
|
568
|
-
name: "Jamaican Dollar",
|
|
569
|
-
symbol_native: "$",
|
|
570
|
-
decimal_digits: 2,
|
|
571
|
-
rounding: 0,
|
|
572
|
-
code: "JMD",
|
|
573
|
-
name_plural: "Jamaican dollars"
|
|
574
|
-
},
|
|
575
|
-
JOD: {
|
|
576
|
-
symbol: "JD",
|
|
577
|
-
name: "Jordanian Dinar",
|
|
578
|
-
symbol_native: "د.أ.",
|
|
579
|
-
decimal_digits: 3,
|
|
580
|
-
rounding: 0,
|
|
581
|
-
code: "JOD",
|
|
582
|
-
name_plural: "Jordanian dinars",
|
|
583
|
-
rtl: true
|
|
584
|
-
},
|
|
585
|
-
JPY: {
|
|
586
|
-
symbol: "¥",
|
|
587
|
-
name: "Japanese Yen",
|
|
588
|
-
symbol_native: "¥",
|
|
589
|
-
decimal_digits: 0,
|
|
590
|
-
rounding: 0,
|
|
591
|
-
code: "JPY",
|
|
592
|
-
name_plural: "Japanese yen"
|
|
593
|
-
},
|
|
594
|
-
KES: {
|
|
595
|
-
symbol: "Ksh",
|
|
596
|
-
name: "Kenyan Shilling",
|
|
597
|
-
symbol_native: "Ksh",
|
|
598
|
-
decimal_digits: 2,
|
|
599
|
-
rounding: 0,
|
|
600
|
-
code: "KES",
|
|
601
|
-
name_plural: "Kenyan shillings"
|
|
602
|
-
},
|
|
603
|
-
KHR: {
|
|
604
|
-
symbol: "KHR",
|
|
605
|
-
name: "Cambodian Riel",
|
|
606
|
-
symbol_native: "KHR",
|
|
607
|
-
decimal_digits: 2,
|
|
608
|
-
rounding: 0,
|
|
609
|
-
code: "KHR",
|
|
610
|
-
name_plural: "Cambodian riels"
|
|
611
|
-
},
|
|
612
|
-
KMF: {
|
|
613
|
-
symbol: "CF",
|
|
614
|
-
name: "Comorian Franc",
|
|
615
|
-
symbol_native: "FC",
|
|
616
|
-
decimal_digits: 0,
|
|
617
|
-
rounding: 0,
|
|
618
|
-
code: "KMF",
|
|
619
|
-
name_plural: "Comorian francs"
|
|
620
|
-
},
|
|
621
|
-
KRW: {
|
|
622
|
-
symbol: "₩",
|
|
623
|
-
name: "Korean Won(₩)",
|
|
624
|
-
symbol_native: "₩",
|
|
625
|
-
decimal_digits: 0,
|
|
626
|
-
rounding: 0,
|
|
627
|
-
code: "KRW",
|
|
628
|
-
name_plural: "Korean won"
|
|
629
|
-
},
|
|
630
|
-
KRW2: {
|
|
631
|
-
symbol: "원",
|
|
632
|
-
name: "Korean Won(원)",
|
|
633
|
-
symbol_native: "원",
|
|
634
|
-
decimal_digits: 0,
|
|
635
|
-
rounding: 0,
|
|
636
|
-
code: "KRW2",
|
|
637
|
-
name_plural: "Korean won"
|
|
638
|
-
},
|
|
639
|
-
KWD: {
|
|
640
|
-
symbol: "KD",
|
|
641
|
-
name: "Kuwaiti Dinar",
|
|
642
|
-
symbol_native: "د.ك.",
|
|
643
|
-
decimal_digits: 3,
|
|
644
|
-
rounding: 0,
|
|
645
|
-
code: "KWD",
|
|
646
|
-
name_plural: "Kuwaiti dinars",
|
|
647
|
-
rtl: true
|
|
648
|
-
},
|
|
649
|
-
KZT: {
|
|
650
|
-
symbol: "KZT",
|
|
651
|
-
name: "Kazakhstani Tenge",
|
|
652
|
-
symbol_native: "тңг.",
|
|
653
|
-
decimal_digits: 2,
|
|
654
|
-
rounding: 0,
|
|
655
|
-
code: "KZT",
|
|
656
|
-
name_plural: "Kazakhstani tenges"
|
|
657
|
-
},
|
|
658
|
-
LBP: {
|
|
659
|
-
symbol: "LB£",
|
|
660
|
-
name: "Lebanese Pound",
|
|
661
|
-
symbol_native: "ل.ل.",
|
|
662
|
-
decimal_digits: 0,
|
|
663
|
-
rounding: 0,
|
|
664
|
-
code: "LBP",
|
|
665
|
-
name_plural: "Lebanese pounds",
|
|
666
|
-
rtl: true
|
|
667
|
-
},
|
|
668
|
-
LKR: {
|
|
669
|
-
symbol: "SLRs",
|
|
670
|
-
name: "Sri Lankan Rupee",
|
|
671
|
-
symbol_native: "LKR Rs",
|
|
672
|
-
decimal_digits: 2,
|
|
673
|
-
rounding: 0,
|
|
674
|
-
code: "LKR",
|
|
675
|
-
name_plural: "Sri Lankan rupees"
|
|
676
|
-
},
|
|
677
|
-
LTL: {
|
|
678
|
-
symbol: "Lt",
|
|
679
|
-
name: "Lithuanian Litas",
|
|
680
|
-
symbol_native: "Lt",
|
|
681
|
-
decimal_digits: 2,
|
|
682
|
-
rounding: 0,
|
|
683
|
-
code: "LTL",
|
|
684
|
-
name_plural: "Lithuanian litai"
|
|
685
|
-
},
|
|
686
|
-
LVL: {
|
|
687
|
-
symbol: "Ls",
|
|
688
|
-
name: "Latvian Lats",
|
|
689
|
-
symbol_native: "Ls",
|
|
690
|
-
decimal_digits: 2,
|
|
691
|
-
rounding: 0,
|
|
692
|
-
code: "LVL",
|
|
693
|
-
name_plural: "Latvian lati"
|
|
694
|
-
},
|
|
695
|
-
LYD: {
|
|
696
|
-
symbol: "LD",
|
|
697
|
-
name: "Libyan Dinar",
|
|
698
|
-
symbol_native: "د.ل.",
|
|
699
|
-
decimal_digits: 3,
|
|
700
|
-
rounding: 0,
|
|
701
|
-
code: "LYD",
|
|
702
|
-
name_plural: "Libyan dinars",
|
|
703
|
-
rtl: true
|
|
704
|
-
},
|
|
705
|
-
MAD: {
|
|
706
|
-
symbol: "MAD",
|
|
707
|
-
name: "Moroccan Dirham",
|
|
708
|
-
symbol_native: "د.م.",
|
|
709
|
-
decimal_digits: 2,
|
|
710
|
-
rounding: 0,
|
|
711
|
-
code: "MAD",
|
|
712
|
-
name_plural: "Moroccan dirhams",
|
|
713
|
-
rtl: true
|
|
714
|
-
},
|
|
715
|
-
MDL: {
|
|
716
|
-
symbol: "MDL",
|
|
717
|
-
name: "Moldovan Leu",
|
|
718
|
-
symbol_native: "MDL",
|
|
719
|
-
decimal_digits: 2,
|
|
720
|
-
rounding: 0,
|
|
721
|
-
code: "MDL",
|
|
722
|
-
name_plural: "Moldovan lei"
|
|
723
|
-
},
|
|
724
|
-
MGA: {
|
|
725
|
-
symbol: "MGA",
|
|
726
|
-
name: "Malagasy Ariary",
|
|
727
|
-
symbol_native: "MGA",
|
|
728
|
-
decimal_digits: 0,
|
|
729
|
-
rounding: 0,
|
|
730
|
-
code: "MGA",
|
|
731
|
-
name_plural: "Malagasy Ariaries"
|
|
732
|
-
},
|
|
733
|
-
MKD: {
|
|
734
|
-
symbol: "MKD",
|
|
735
|
-
name: "Macedonian Denar",
|
|
736
|
-
symbol_native: "MKD",
|
|
737
|
-
decimal_digits: 2,
|
|
738
|
-
rounding: 0,
|
|
739
|
-
code: "MKD",
|
|
740
|
-
name_plural: "Macedonian denari"
|
|
741
|
-
},
|
|
742
|
-
MMK: {
|
|
743
|
-
symbol: "MMK",
|
|
744
|
-
name: "Myanma Kyat",
|
|
745
|
-
symbol_native: "K",
|
|
746
|
-
decimal_digits: 0,
|
|
747
|
-
rounding: 0,
|
|
748
|
-
code: "MMK",
|
|
749
|
-
name_plural: "Myanma kyats"
|
|
750
|
-
},
|
|
751
|
-
MOP: {
|
|
752
|
-
symbol: "MOP$",
|
|
753
|
-
name: "Macanese Pataca",
|
|
754
|
-
symbol_native: "MOP$",
|
|
755
|
-
decimal_digits: 2,
|
|
756
|
-
rounding: 0,
|
|
757
|
-
code: "MOP",
|
|
758
|
-
name_plural: "Macanese patacas"
|
|
759
|
-
},
|
|
760
|
-
MUR: {
|
|
761
|
-
symbol: "MURs",
|
|
762
|
-
name: "Mauritian Rupee",
|
|
763
|
-
symbol_native: "MURs",
|
|
764
|
-
decimal_digits: 0,
|
|
765
|
-
rounding: 0,
|
|
766
|
-
code: "MUR",
|
|
767
|
-
name_plural: "Mauritian rupees"
|
|
768
|
-
},
|
|
769
|
-
MXN: {
|
|
770
|
-
symbol: "MX$",
|
|
771
|
-
name: "Mexican Peso",
|
|
772
|
-
symbol_native: "$",
|
|
773
|
-
decimal_digits: 2,
|
|
774
|
-
rounding: 0,
|
|
775
|
-
code: "MXN",
|
|
776
|
-
name_plural: "Mexican pesos"
|
|
777
|
-
},
|
|
778
|
-
MVR: {
|
|
779
|
-
symbol: "MVR",
|
|
780
|
-
name: "Maldivian rufiyaa",
|
|
781
|
-
symbol_native: "MVR",
|
|
782
|
-
decimal_digits: 2,
|
|
783
|
-
rounding: 0,
|
|
784
|
-
code: "MVR",
|
|
785
|
-
name_plural: "Maldivian rufiyaas"
|
|
786
|
-
},
|
|
787
|
-
MYR: {
|
|
788
|
-
symbol: "RM",
|
|
789
|
-
name: "Malaysian Ringgit",
|
|
790
|
-
symbol_native: "RM",
|
|
791
|
-
decimal_digits: 2,
|
|
792
|
-
rounding: 0,
|
|
793
|
-
code: "MYR",
|
|
794
|
-
name_plural: "Malaysian ringgits"
|
|
795
|
-
},
|
|
796
|
-
MZN: {
|
|
797
|
-
symbol: "MTn",
|
|
798
|
-
name: "Mozambican Metical",
|
|
799
|
-
symbol_native: "MTn",
|
|
800
|
-
decimal_digits: 2,
|
|
801
|
-
rounding: 0,
|
|
802
|
-
code: "MZN",
|
|
803
|
-
name_plural: "Mozambican meticals"
|
|
804
|
-
},
|
|
805
|
-
NAD: {
|
|
806
|
-
symbol: "N$",
|
|
807
|
-
name: "Namibian Dollar",
|
|
808
|
-
symbol_native: "N$",
|
|
809
|
-
decimal_digits: 2,
|
|
810
|
-
rounding: 0,
|
|
811
|
-
code: "NAD",
|
|
812
|
-
name_plural: "Namibian dollars"
|
|
813
|
-
},
|
|
814
|
-
NGN: {
|
|
815
|
-
symbol: "₦",
|
|
816
|
-
name: "Nigerian Naira",
|
|
817
|
-
symbol_native: "₦",
|
|
818
|
-
decimal_digits: 2,
|
|
819
|
-
rounding: 0,
|
|
820
|
-
code: "NGN",
|
|
821
|
-
name_plural: "Nigerian nairas"
|
|
822
|
-
},
|
|
823
|
-
NIO: {
|
|
824
|
-
symbol: "C$",
|
|
825
|
-
name: "Nicaraguan Córdoba",
|
|
826
|
-
symbol_native: "C$",
|
|
827
|
-
decimal_digits: 2,
|
|
828
|
-
rounding: 0,
|
|
829
|
-
code: "NIO",
|
|
830
|
-
name_plural: "Nicaraguan córdobas"
|
|
831
|
-
},
|
|
832
|
-
NOK: {
|
|
833
|
-
symbol: "Nkr",
|
|
834
|
-
name: "Norwegian Krone",
|
|
835
|
-
symbol_native: "kr",
|
|
836
|
-
decimal_digits: 2,
|
|
837
|
-
rounding: 0,
|
|
838
|
-
code: "NOK",
|
|
839
|
-
name_plural: "Norwegian kroner"
|
|
840
|
-
},
|
|
841
|
-
NPR: {
|
|
842
|
-
symbol: "NPRs",
|
|
843
|
-
name: "Nepalese Rupee",
|
|
844
|
-
symbol_native: "NPRs",
|
|
845
|
-
decimal_digits: 2,
|
|
846
|
-
rounding: 0,
|
|
847
|
-
code: "NPR",
|
|
848
|
-
name_plural: "Nepalese rupees"
|
|
849
|
-
},
|
|
850
|
-
NZD: {
|
|
851
|
-
symbol: "NZ$",
|
|
852
|
-
name: "New Zealand Dollar",
|
|
853
|
-
symbol_native: "$",
|
|
854
|
-
decimal_digits: 2,
|
|
855
|
-
rounding: 0,
|
|
856
|
-
code: "NZD",
|
|
857
|
-
name_plural: "New Zealand dollars"
|
|
858
|
-
},
|
|
859
|
-
OMR: {
|
|
860
|
-
symbol: "OMR",
|
|
861
|
-
name: "Omani Rial",
|
|
862
|
-
symbol_native: "OMR",
|
|
863
|
-
decimal_digits: 3,
|
|
864
|
-
rounding: 0,
|
|
865
|
-
code: "OMR",
|
|
866
|
-
name_plural: "Omani rials"
|
|
867
|
-
},
|
|
868
|
-
PAB: {
|
|
869
|
-
symbol: "B/.",
|
|
870
|
-
name: "Panamanian Balboa",
|
|
871
|
-
symbol_native: "B/.",
|
|
872
|
-
decimal_digits: 2,
|
|
873
|
-
rounding: 0,
|
|
874
|
-
code: "PAB",
|
|
875
|
-
name_plural: "Panamanian balboas"
|
|
876
|
-
},
|
|
877
|
-
PEN: {
|
|
878
|
-
symbol: "S/.",
|
|
879
|
-
name: "Peruvian Nuevo Sol",
|
|
880
|
-
symbol_native: "S/.",
|
|
881
|
-
decimal_digits: 2,
|
|
882
|
-
rounding: 0,
|
|
883
|
-
code: "PEN",
|
|
884
|
-
name_plural: "Peruvian nuevos soles"
|
|
885
|
-
},
|
|
886
|
-
PGK: {
|
|
887
|
-
symbol: "K",
|
|
888
|
-
name: "Papua New Guinea Kina",
|
|
889
|
-
symbol_native: "K",
|
|
890
|
-
decimal_digits: 2,
|
|
891
|
-
rounding: 0,
|
|
892
|
-
code: "PGK",
|
|
893
|
-
name_plural: "Papua New Guinea Kina"
|
|
894
|
-
},
|
|
895
|
-
PHP: {
|
|
896
|
-
symbol: "₱",
|
|
897
|
-
name: "Philippine Peso",
|
|
898
|
-
symbol_native: "₱",
|
|
899
|
-
decimal_digits: 2,
|
|
900
|
-
rounding: 0,
|
|
901
|
-
code: "PHP",
|
|
902
|
-
name_plural: "Philippine pesos"
|
|
903
|
-
},
|
|
904
|
-
PKR: {
|
|
905
|
-
symbol: "PKRs",
|
|
906
|
-
name: "Pakistani Rupee",
|
|
907
|
-
symbol_native: "₨",
|
|
908
|
-
decimal_digits: 0,
|
|
909
|
-
rounding: 0,
|
|
910
|
-
code: "PKR",
|
|
911
|
-
name_plural: "Pakistani rupees"
|
|
912
|
-
},
|
|
913
|
-
PLN: {
|
|
914
|
-
symbol: "zł",
|
|
915
|
-
name: "Polish Zloty",
|
|
916
|
-
symbol_native: "zł",
|
|
917
|
-
decimal_digits: 2,
|
|
918
|
-
rounding: 0,
|
|
919
|
-
code: "PLN",
|
|
920
|
-
name_plural: "Polish zlotys"
|
|
921
|
-
},
|
|
922
|
-
PYG: {
|
|
923
|
-
symbol: "₲",
|
|
924
|
-
name: "Paraguayan Guarani",
|
|
925
|
-
symbol_native: "₲",
|
|
926
|
-
decimal_digits: 0,
|
|
927
|
-
rounding: 0,
|
|
928
|
-
code: "PYG",
|
|
929
|
-
name_plural: "Paraguayan guaranis"
|
|
930
|
-
},
|
|
931
|
-
QAR: {
|
|
932
|
-
symbol: "QR",
|
|
933
|
-
name: "Qatari Rial",
|
|
934
|
-
symbol_native: "ر.ق.",
|
|
935
|
-
decimal_digits: 2,
|
|
936
|
-
rounding: 0,
|
|
937
|
-
code: "QAR",
|
|
938
|
-
name_plural: "Qatari rials",
|
|
939
|
-
rtl: true
|
|
940
|
-
},
|
|
941
|
-
RON: {
|
|
942
|
-
symbol: "lei",
|
|
943
|
-
name: "Romanian Leu",
|
|
944
|
-
symbol_native: "lei",
|
|
945
|
-
decimal_digits: 2,
|
|
946
|
-
rounding: 0,
|
|
947
|
-
code: "RON",
|
|
948
|
-
name_plural: "Romanian lei"
|
|
949
|
-
},
|
|
950
|
-
RSD: {
|
|
951
|
-
symbol: "din.",
|
|
952
|
-
name: "Serbian Dinar",
|
|
953
|
-
symbol_native: "дин.",
|
|
954
|
-
decimal_digits: 2,
|
|
955
|
-
rounding: 0,
|
|
956
|
-
code: "RSD",
|
|
957
|
-
name_plural: "Serbian dinars"
|
|
958
|
-
},
|
|
959
|
-
RUB: {
|
|
960
|
-
symbol: "RUB",
|
|
961
|
-
name: "Russian Ruble",
|
|
962
|
-
symbol_native: "руб.",
|
|
963
|
-
decimal_digits: 2,
|
|
964
|
-
rounding: 0,
|
|
965
|
-
code: "RUB",
|
|
966
|
-
name_plural: "Russian rubles"
|
|
967
|
-
},
|
|
968
|
-
RWF: {
|
|
969
|
-
symbol: "RWF",
|
|
970
|
-
name: "Rwandan Franc",
|
|
971
|
-
symbol_native: "FR",
|
|
972
|
-
decimal_digits: 0,
|
|
973
|
-
rounding: 0,
|
|
974
|
-
code: "RWF",
|
|
975
|
-
name_plural: "Rwandan francs"
|
|
976
|
-
},
|
|
977
|
-
SAR: {
|
|
978
|
-
symbol: "SR",
|
|
979
|
-
name: "Saudi Riyal",
|
|
980
|
-
symbol_native: "ر.س.",
|
|
981
|
-
decimal_digits: 2,
|
|
982
|
-
rounding: 0,
|
|
983
|
-
code: "SAR",
|
|
984
|
-
name_plural: "Saudi riyals",
|
|
985
|
-
rtl: true
|
|
986
|
-
},
|
|
987
|
-
SDG: {
|
|
988
|
-
symbol: "SDG",
|
|
989
|
-
name: "Sudanese Pound",
|
|
990
|
-
symbol_native: "SDG",
|
|
991
|
-
decimal_digits: 2,
|
|
992
|
-
rounding: 0,
|
|
993
|
-
code: "SDG",
|
|
994
|
-
name_plural: "Sudanese pounds"
|
|
995
|
-
},
|
|
996
|
-
SEK: {
|
|
997
|
-
symbol: "Skr",
|
|
998
|
-
name: "Swedish Krona",
|
|
999
|
-
symbol_native: "kr",
|
|
1000
|
-
decimal_digits: 2,
|
|
1001
|
-
rounding: 0,
|
|
1002
|
-
code: "SEK",
|
|
1003
|
-
name_plural: "Swedish kronor"
|
|
1004
|
-
},
|
|
1005
|
-
SGD: {
|
|
1006
|
-
symbol: "S$",
|
|
1007
|
-
name: "Singapore Dollar",
|
|
1008
|
-
symbol_native: "$",
|
|
1009
|
-
decimal_digits: 2,
|
|
1010
|
-
rounding: 0,
|
|
1011
|
-
code: "SGD",
|
|
1012
|
-
name_plural: "Singapore dollars"
|
|
1013
|
-
},
|
|
1014
|
-
SLL: {
|
|
1015
|
-
symbol: "SLL",
|
|
1016
|
-
name: "Sierra Leonean Leone",
|
|
1017
|
-
symbol_native: "SLL",
|
|
1018
|
-
decimal_digits: 2,
|
|
1019
|
-
rounding: 0,
|
|
1020
|
-
code: "SLL",
|
|
1021
|
-
name_plural: "Sierra Leonean Leones"
|
|
1022
|
-
},
|
|
1023
|
-
SOS: {
|
|
1024
|
-
symbol: "Ssh",
|
|
1025
|
-
name: "Somali Shilling",
|
|
1026
|
-
symbol_native: "Ssh",
|
|
1027
|
-
decimal_digits: 0,
|
|
1028
|
-
rounding: 0,
|
|
1029
|
-
code: "SOS",
|
|
1030
|
-
name_plural: "Somali shillings"
|
|
1031
|
-
},
|
|
1032
|
-
SRD: {
|
|
1033
|
-
symbol: "SRD",
|
|
1034
|
-
name: "Surinamese dollar",
|
|
1035
|
-
symbol_native: "SRD",
|
|
1036
|
-
decimal_digits: 0,
|
|
1037
|
-
rounding: 0,
|
|
1038
|
-
code: "SRD",
|
|
1039
|
-
name_plural: "Surinamese dollars"
|
|
1040
|
-
},
|
|
1041
|
-
SYP: {
|
|
1042
|
-
symbol: "SY£",
|
|
1043
|
-
name: "Syrian Pound",
|
|
1044
|
-
symbol_native: "ل.س.",
|
|
1045
|
-
decimal_digits: 0,
|
|
1046
|
-
rounding: 0,
|
|
1047
|
-
code: "SYP",
|
|
1048
|
-
name_plural: "Syrian pounds",
|
|
1049
|
-
rtl: true
|
|
1050
|
-
},
|
|
1051
|
-
THB: {
|
|
1052
|
-
symbol: "฿",
|
|
1053
|
-
name: "Thai Baht",
|
|
1054
|
-
symbol_native: "฿",
|
|
1055
|
-
decimal_digits: 2,
|
|
1056
|
-
rounding: 0,
|
|
1057
|
-
code: "THB",
|
|
1058
|
-
name_plural: "Thai baht"
|
|
1059
|
-
},
|
|
1060
|
-
TND: {
|
|
1061
|
-
symbol: "DT",
|
|
1062
|
-
name: "Tunisian Dinar",
|
|
1063
|
-
symbol_native1: "د.ت.",
|
|
1064
|
-
symbol_native: "TND",
|
|
1065
|
-
decimal_digits: 3,
|
|
1066
|
-
rounding: 0,
|
|
1067
|
-
code: "TND",
|
|
1068
|
-
name_plural: "Tunisian dinars"
|
|
1069
|
-
},
|
|
1070
|
-
TOP: {
|
|
1071
|
-
symbol: "T$",
|
|
1072
|
-
name: "Tongan Paʻanga",
|
|
1073
|
-
symbol_native: "T$",
|
|
1074
|
-
decimal_digits: 2,
|
|
1075
|
-
rounding: 0,
|
|
1076
|
-
code: "TOP",
|
|
1077
|
-
name_plural: "Tongan paʻanga"
|
|
1078
|
-
},
|
|
1079
|
-
TRY: {
|
|
1080
|
-
symbol: "TL",
|
|
1081
|
-
name: "Turkish Lira",
|
|
1082
|
-
symbol_native: "TL",
|
|
1083
|
-
decimal_digits: 2,
|
|
1084
|
-
rounding: 0,
|
|
1085
|
-
code: "TRY",
|
|
1086
|
-
name_plural: "Turkish Lira"
|
|
1087
|
-
},
|
|
1088
|
-
TTD: {
|
|
1089
|
-
symbol: "TT$",
|
|
1090
|
-
name: "Trinidad and Tobago Dollar",
|
|
1091
|
-
symbol_native: "$",
|
|
1092
|
-
decimal_digits: 2,
|
|
1093
|
-
rounding: 0,
|
|
1094
|
-
code: "TTD",
|
|
1095
|
-
name_plural: "Trinidad and Tobago dollars"
|
|
1096
|
-
},
|
|
1097
|
-
TWD: {
|
|
1098
|
-
symbol: "NT$",
|
|
1099
|
-
name: "New Taiwan Dollar",
|
|
1100
|
-
symbol_native: "NT$",
|
|
1101
|
-
decimal_digits: 2,
|
|
1102
|
-
rounding: 0,
|
|
1103
|
-
code: "TWD",
|
|
1104
|
-
name_plural: "New Taiwan dollars"
|
|
1105
|
-
},
|
|
1106
|
-
TZS: {
|
|
1107
|
-
symbol: "TSh",
|
|
1108
|
-
name: "Tanzanian Shilling",
|
|
1109
|
-
symbol_native: "TSh",
|
|
1110
|
-
decimal_digits: 0,
|
|
1111
|
-
rounding: 0,
|
|
1112
|
-
code: "TZS",
|
|
1113
|
-
name_plural: "Tanzanian shillings"
|
|
1114
|
-
},
|
|
1115
|
-
UAH: {
|
|
1116
|
-
symbol: "₴",
|
|
1117
|
-
name: "Ukrainian Hryvnia",
|
|
1118
|
-
symbol_native: "₴",
|
|
1119
|
-
decimal_digits: 2,
|
|
1120
|
-
rounding: 0,
|
|
1121
|
-
code: "UAH",
|
|
1122
|
-
name_plural: "Ukrainian hryvnias"
|
|
1123
|
-
},
|
|
1124
|
-
UGX: {
|
|
1125
|
-
symbol: "USh",
|
|
1126
|
-
name: "Ugandan Shilling",
|
|
1127
|
-
symbol_native: "USh",
|
|
1128
|
-
decimal_digits: 0,
|
|
1129
|
-
rounding: 0,
|
|
1130
|
-
code: "UGX",
|
|
1131
|
-
name_plural: "Ugandan shillings"
|
|
1132
|
-
},
|
|
1133
|
-
USD: {
|
|
1134
|
-
symbol: "US$",
|
|
1135
|
-
name: "US Dollar",
|
|
1136
|
-
symbol_native: "$",
|
|
1137
|
-
decimal_digits: 2,
|
|
1138
|
-
rounding: 0,
|
|
1139
|
-
code: "USD",
|
|
1140
|
-
name_plural: "US dollars"
|
|
1141
|
-
},
|
|
1142
|
-
UYU: {
|
|
1143
|
-
symbol: "$U",
|
|
1144
|
-
name: "Uruguayan Peso",
|
|
1145
|
-
symbol_native: "$",
|
|
1146
|
-
decimal_digits: 2,
|
|
1147
|
-
rounding: 0,
|
|
1148
|
-
code: "UYU",
|
|
1149
|
-
name_plural: "Uruguayan pesos"
|
|
1150
|
-
},
|
|
1151
|
-
UZS: {
|
|
1152
|
-
symbol: "UZS",
|
|
1153
|
-
name: "Uzbekistan Som",
|
|
1154
|
-
symbol_native: "UZS",
|
|
1155
|
-
decimal_digits: 0,
|
|
1156
|
-
rounding: 0,
|
|
1157
|
-
code: "UZS",
|
|
1158
|
-
name_plural: "Uzbekistan som"
|
|
1159
|
-
},
|
|
1160
|
-
VEF: {
|
|
1161
|
-
symbol: "Bs.F.",
|
|
1162
|
-
name: "Venezuelan Bolívar",
|
|
1163
|
-
symbol_native: "Bs.F.",
|
|
1164
|
-
decimal_digits: 2,
|
|
1165
|
-
rounding: 0,
|
|
1166
|
-
code: "VEF",
|
|
1167
|
-
name_plural: "Venezuelan bolívars"
|
|
1168
|
-
},
|
|
1169
|
-
VES: {
|
|
1170
|
-
symbol: "VES",
|
|
1171
|
-
name: "Bolívar Soberano",
|
|
1172
|
-
symbol_native: "Bs.S ",
|
|
1173
|
-
decimal_digits: 2,
|
|
1174
|
-
rounding: 0,
|
|
1175
|
-
code: "VES",
|
|
1176
|
-
name_plural: "Bolívares Soberanos"
|
|
1177
|
-
},
|
|
1178
|
-
VND: {
|
|
1179
|
-
symbol: "Dong",
|
|
1180
|
-
name: "Vietnamese Dong",
|
|
1181
|
-
symbol_native: "Dong",
|
|
1182
|
-
decimal_digits: 0,
|
|
1183
|
-
rounding: 0,
|
|
1184
|
-
code: "VND",
|
|
1185
|
-
name_plural: "Vietnamese dong"
|
|
1186
|
-
},
|
|
1187
|
-
XAF: {
|
|
1188
|
-
symbol: "FCFA",
|
|
1189
|
-
name: "CFA Franc BEAC",
|
|
1190
|
-
symbol_native: "FCFA",
|
|
1191
|
-
decimal_digits: 0,
|
|
1192
|
-
rounding: 0,
|
|
1193
|
-
code: "XAF",
|
|
1194
|
-
name_plural: "CFA francs BEAC"
|
|
1195
|
-
},
|
|
1196
|
-
XCD: {
|
|
1197
|
-
symbol: "XCD$",
|
|
1198
|
-
name: "East Caribbean Dollar",
|
|
1199
|
-
symbol_native: "$",
|
|
1200
|
-
decimal_digits: 2,
|
|
1201
|
-
rounding: 0,
|
|
1202
|
-
code: "XCD",
|
|
1203
|
-
name_plural: "East Caribbean Dollars"
|
|
1204
|
-
},
|
|
1205
|
-
XOF: {
|
|
1206
|
-
symbol: "CFA",
|
|
1207
|
-
name: "CFA Franc BCEAO",
|
|
1208
|
-
symbol_native: "CFA",
|
|
1209
|
-
decimal_digits: 0,
|
|
1210
|
-
rounding: 0,
|
|
1211
|
-
code: "XOF",
|
|
1212
|
-
name_plural: "CFA francs BCEAO"
|
|
1213
|
-
},
|
|
1214
|
-
XPF: {
|
|
1215
|
-
symbol: "XPF",
|
|
1216
|
-
name: "Central Pacific Franc",
|
|
1217
|
-
symbol_native: "F",
|
|
1218
|
-
decimal_digits: 2,
|
|
1219
|
-
rounding: 0,
|
|
1220
|
-
code: "XPF",
|
|
1221
|
-
name_plural: "Central Pacific Franc"
|
|
1222
|
-
},
|
|
1223
|
-
YER: {
|
|
1224
|
-
symbol: "YR",
|
|
1225
|
-
name: "Yemeni Rial",
|
|
1226
|
-
symbol_native: "ر.ي.",
|
|
1227
|
-
decimal_digits: 0,
|
|
1228
|
-
rounding: 0,
|
|
1229
|
-
code: "YER",
|
|
1230
|
-
name_plural: "Yemeni rials",
|
|
1231
|
-
rtl: true
|
|
1232
|
-
},
|
|
1233
|
-
ZAR: {
|
|
1234
|
-
symbol: "R",
|
|
1235
|
-
name: "South African Rand",
|
|
1236
|
-
symbol_native: "R",
|
|
1237
|
-
decimal_digits: 2,
|
|
1238
|
-
rounding: 0,
|
|
1239
|
-
code: "ZAR",
|
|
1240
|
-
name_plural: "South African rand"
|
|
1241
|
-
},
|
|
1242
|
-
ZMK: {
|
|
1243
|
-
symbol: "ZK",
|
|
1244
|
-
name: "Zambian Kwacha",
|
|
1245
|
-
symbol_native: "ZK",
|
|
1246
|
-
decimal_digits: 0,
|
|
1247
|
-
rounding: 0,
|
|
1248
|
-
code: "ZMK",
|
|
1249
|
-
name_plural: "Zambian kwachas"
|
|
64
|
+
"AED": {
|
|
65
|
+
"symbol": "AED",
|
|
66
|
+
"name": "United Arab Emirates Dirham",
|
|
67
|
+
"symbol_native": "د.إ.",
|
|
68
|
+
"decimal_digits": 2,
|
|
69
|
+
"rounding": 0,
|
|
70
|
+
"code": "AED",
|
|
71
|
+
"name_plural": "UAE dirhams",
|
|
72
|
+
"rtl": true
|
|
73
|
+
},
|
|
74
|
+
"AFN": {
|
|
75
|
+
"symbol": "Af",
|
|
76
|
+
"name": "Afghan Afghani",
|
|
77
|
+
"symbol_native": "Af",
|
|
78
|
+
"decimal_digits": 0,
|
|
79
|
+
"rounding": 0,
|
|
80
|
+
"code": "AFN",
|
|
81
|
+
"name_plural": "Afghan Afghanis",
|
|
82
|
+
"rtl": true
|
|
83
|
+
},
|
|
84
|
+
"ALL": {
|
|
85
|
+
"symbol": "ALL",
|
|
86
|
+
"name": "Albanian Lek",
|
|
87
|
+
"symbol_native": "Lek",
|
|
88
|
+
"decimal_digits": 0,
|
|
89
|
+
"rounding": 0,
|
|
90
|
+
"code": "ALL",
|
|
91
|
+
"name_plural": "Albanian lekë"
|
|
92
|
+
},
|
|
93
|
+
"AOA": {
|
|
94
|
+
"symbol": "Kz",
|
|
95
|
+
"name": "Angolan kwanza",
|
|
96
|
+
"symbol_native": "Kz",
|
|
97
|
+
"decimal_digits": 2,
|
|
98
|
+
"rounding": 0,
|
|
99
|
+
"code": "AOA",
|
|
100
|
+
"name_plural": "Angolan kwanza"
|
|
101
|
+
},
|
|
102
|
+
"AMD": {
|
|
103
|
+
"symbol": "AMD",
|
|
104
|
+
"name": "Armenian Dram",
|
|
105
|
+
"symbol_native": "դր.",
|
|
106
|
+
"decimal_digits": 0,
|
|
107
|
+
"rounding": 0,
|
|
108
|
+
"code": "AMD",
|
|
109
|
+
"name_plural": "Armenian drams"
|
|
110
|
+
},
|
|
111
|
+
"ANG": {
|
|
112
|
+
"symbol": "ANG",
|
|
113
|
+
"name": "Dutch Guilder",
|
|
114
|
+
"symbol_native": "ƒ",
|
|
115
|
+
"decimal_digits": 2,
|
|
116
|
+
"rounding": 0,
|
|
117
|
+
"code": "ANG",
|
|
118
|
+
"name_plural": "Dutch Guilders"
|
|
119
|
+
},
|
|
120
|
+
"ARS": {
|
|
121
|
+
"symbol": "AR$",
|
|
122
|
+
"name": "Argentine Peso",
|
|
123
|
+
"symbol_native": "$",
|
|
124
|
+
"decimal_digits": 2,
|
|
125
|
+
"rounding": 0,
|
|
126
|
+
"code": "ARS",
|
|
127
|
+
"name_plural": "Argentine pesos"
|
|
128
|
+
},
|
|
129
|
+
"AUD": {
|
|
130
|
+
"symbol": "AU$",
|
|
131
|
+
"name": "Australian Dollar",
|
|
132
|
+
"symbol_native": "$",
|
|
133
|
+
"decimal_digits": 2,
|
|
134
|
+
"rounding": 0,
|
|
135
|
+
"code": "AUD",
|
|
136
|
+
"name_plural": "Australian dollars"
|
|
137
|
+
},
|
|
138
|
+
"AZN": {
|
|
139
|
+
"symbol": "man.",
|
|
140
|
+
"name": "Azerbaijani Manat",
|
|
141
|
+
"symbol_native": "ман.",
|
|
142
|
+
"decimal_digits": 2,
|
|
143
|
+
"rounding": 0,
|
|
144
|
+
"code": "AZN",
|
|
145
|
+
"name_plural": "Azerbaijani manats"
|
|
146
|
+
},
|
|
147
|
+
"BAM": {
|
|
148
|
+
"symbol": "KM",
|
|
149
|
+
"name": "Bosnia-Herzegovina Convertible Mark",
|
|
150
|
+
"symbol_native": "KM",
|
|
151
|
+
"decimal_digits": 2,
|
|
152
|
+
"rounding": 0,
|
|
153
|
+
"code": "BAM",
|
|
154
|
+
"name_plural": "Bosnia-Herzegovina convertible marks"
|
|
155
|
+
},
|
|
156
|
+
"BBD": {
|
|
157
|
+
"symbol": "Bds$",
|
|
158
|
+
"name": "Barbadian Dollar",
|
|
159
|
+
"symbol_native": "Bds$",
|
|
160
|
+
"decimal_digits": 2,
|
|
161
|
+
"rounding": 0,
|
|
162
|
+
"code": "BBD",
|
|
163
|
+
"name_plural": "Barbadian Dollars"
|
|
164
|
+
},
|
|
165
|
+
"BDT": {
|
|
166
|
+
"symbol": "Tk",
|
|
167
|
+
"name": "Bangladeshi Taka",
|
|
168
|
+
"symbol_native": "Tk",
|
|
169
|
+
"decimal_digits": 2,
|
|
170
|
+
"rounding": 0,
|
|
171
|
+
"code": "BDT",
|
|
172
|
+
"name_plural": "Bangladeshi takas"
|
|
173
|
+
},
|
|
174
|
+
"BGN": {
|
|
175
|
+
"symbol": "BGN",
|
|
176
|
+
"name": "Bulgarian Lev",
|
|
177
|
+
"symbol_native": "лв.",
|
|
178
|
+
"decimal_digits": 2,
|
|
179
|
+
"rounding": 0,
|
|
180
|
+
"code": "BGN",
|
|
181
|
+
"name_plural": "Bulgarian leva"
|
|
182
|
+
},
|
|
183
|
+
"BHD": {
|
|
184
|
+
"symbol": "BD",
|
|
185
|
+
"name": "Bahraini Dinar",
|
|
186
|
+
"symbol_native": "د.ب.",
|
|
187
|
+
"decimal_digits": 3,
|
|
188
|
+
"rounding": 0,
|
|
189
|
+
"code": "BHD",
|
|
190
|
+
"name_plural": "Bahraini dinars",
|
|
191
|
+
"rtl": true
|
|
192
|
+
},
|
|
193
|
+
"BIF": {
|
|
194
|
+
"symbol": "FBu",
|
|
195
|
+
"name": "Burundian Franc",
|
|
196
|
+
"symbol_native": "FBu",
|
|
197
|
+
"decimal_digits": 0,
|
|
198
|
+
"rounding": 0,
|
|
199
|
+
"code": "BIF",
|
|
200
|
+
"name_plural": "Burundian francs"
|
|
201
|
+
},
|
|
202
|
+
"BND": {
|
|
203
|
+
"symbol": "BN$",
|
|
204
|
+
"name": "Brunei Dollar",
|
|
205
|
+
"symbol_native": "$",
|
|
206
|
+
"decimal_digits": 2,
|
|
207
|
+
"rounding": 0,
|
|
208
|
+
"code": "BND",
|
|
209
|
+
"name_plural": "Brunei dollars"
|
|
210
|
+
},
|
|
211
|
+
"BOB": {
|
|
212
|
+
"symbol": "Bs",
|
|
213
|
+
"name": "Bolivian Boliviano",
|
|
214
|
+
"symbol_native": "Bs",
|
|
215
|
+
"decimal_digits": 2,
|
|
216
|
+
"rounding": 0,
|
|
217
|
+
"code": "BOB",
|
|
218
|
+
"name_plural": "Bolivian bolivianos"
|
|
219
|
+
},
|
|
220
|
+
"BRL": {
|
|
221
|
+
"symbol": "R$",
|
|
222
|
+
"name": "Brazilian Real",
|
|
223
|
+
"symbol_native": "R$",
|
|
224
|
+
"decimal_digits": 2,
|
|
225
|
+
"rounding": 0,
|
|
226
|
+
"code": "BRL",
|
|
227
|
+
"name_plural": "Brazilian reals"
|
|
228
|
+
},
|
|
229
|
+
"BWP": {
|
|
230
|
+
"symbol": "BWP",
|
|
231
|
+
"name": "Botswanan Pula",
|
|
232
|
+
"symbol_native": "P",
|
|
233
|
+
"decimal_digits": 2,
|
|
234
|
+
"rounding": 0,
|
|
235
|
+
"code": "BWP",
|
|
236
|
+
"name_plural": "Botswanan pulas"
|
|
237
|
+
},
|
|
238
|
+
"BYR": {
|
|
239
|
+
"symbol": "BYR",
|
|
240
|
+
"name": "Belarusian Ruble",
|
|
241
|
+
"symbol_native": "BYR",
|
|
242
|
+
"decimal_digits": 0,
|
|
243
|
+
"rounding": 0,
|
|
244
|
+
"code": "BYR",
|
|
245
|
+
"name_plural": "Belarusian rubles"
|
|
246
|
+
},
|
|
247
|
+
"BZD": {
|
|
248
|
+
"symbol": "BZ$",
|
|
249
|
+
"name": "Belize Dollar",
|
|
250
|
+
"symbol_native": "$",
|
|
251
|
+
"decimal_digits": 2,
|
|
252
|
+
"rounding": 0,
|
|
253
|
+
"code": "BZD",
|
|
254
|
+
"name_plural": "Belize dollars"
|
|
255
|
+
},
|
|
256
|
+
"CAD": {
|
|
257
|
+
"symbol": "CA$",
|
|
258
|
+
"name": "Canadian Dollar",
|
|
259
|
+
"symbol_native": "$",
|
|
260
|
+
"decimal_digits": 2,
|
|
261
|
+
"rounding": 0,
|
|
262
|
+
"code": "CAD",
|
|
263
|
+
"name_plural": "Canadian dollars"
|
|
264
|
+
},
|
|
265
|
+
"CDF": {
|
|
266
|
+
"symbol": "CDF",
|
|
267
|
+
"name": "Congolese Franc",
|
|
268
|
+
"symbol_native": "FrCD",
|
|
269
|
+
"decimal_digits": 2,
|
|
270
|
+
"rounding": 0,
|
|
271
|
+
"code": "CDF",
|
|
272
|
+
"name_plural": "Congolese francs"
|
|
273
|
+
},
|
|
274
|
+
"CHF": {
|
|
275
|
+
"symbol": "CHF",
|
|
276
|
+
"name": "Swiss Franc",
|
|
277
|
+
"symbol_native": "CHF",
|
|
278
|
+
"decimal_digits": 2,
|
|
279
|
+
"rounding": 0.05,
|
|
280
|
+
"code": "CHF",
|
|
281
|
+
"name_plural": "Swiss francs"
|
|
282
|
+
},
|
|
283
|
+
"CLP": {
|
|
284
|
+
"symbol": "CL$",
|
|
285
|
+
"name": "Chilean Peso",
|
|
286
|
+
"symbol_native": "$",
|
|
287
|
+
"decimal_digits": 0,
|
|
288
|
+
"rounding": 0,
|
|
289
|
+
"code": "CLP",
|
|
290
|
+
"name_plural": "Chilean pesos"
|
|
291
|
+
},
|
|
292
|
+
"CNY": {
|
|
293
|
+
"symbol": "¥",
|
|
294
|
+
"name": "Chinese Yuan",
|
|
295
|
+
"symbol_native": "¥",
|
|
296
|
+
"decimal_digits": 2,
|
|
297
|
+
"rounding": 0,
|
|
298
|
+
"code": "CNY",
|
|
299
|
+
"name_plural": "Chinese yuan"
|
|
300
|
+
},
|
|
301
|
+
"COP": {
|
|
302
|
+
"symbol": "CO$",
|
|
303
|
+
"name": "Colombian Peso",
|
|
304
|
+
"symbol_native": "$",
|
|
305
|
+
"decimal_digits": 0,
|
|
306
|
+
"rounding": 0,
|
|
307
|
+
"code": "COP",
|
|
308
|
+
"name_plural": "Colombian pesos"
|
|
309
|
+
},
|
|
310
|
+
"CRC": {
|
|
311
|
+
"symbol": "₡",
|
|
312
|
+
"name": "Costa Rican Colón",
|
|
313
|
+
"symbol_native": "₡",
|
|
314
|
+
"decimal_digits": 0,
|
|
315
|
+
"rounding": 0,
|
|
316
|
+
"code": "CRC",
|
|
317
|
+
"name_plural": "Costa Rican colóns"
|
|
318
|
+
},
|
|
319
|
+
"CVE": {
|
|
320
|
+
"symbol": "CV$",
|
|
321
|
+
"name": "Cape Verdean Escudo",
|
|
322
|
+
"symbol_native": "CV$",
|
|
323
|
+
"decimal_digits": 2,
|
|
324
|
+
"rounding": 0,
|
|
325
|
+
"code": "CVE",
|
|
326
|
+
"name_plural": "Cape Verdean escudos"
|
|
327
|
+
},
|
|
328
|
+
"CZK": {
|
|
329
|
+
"symbol": "Kč",
|
|
330
|
+
"name": "Czech Republic Koruna",
|
|
331
|
+
"symbol_native": "Kč",
|
|
332
|
+
"decimal_digits": 2,
|
|
333
|
+
"rounding": 0,
|
|
334
|
+
"code": "CZK",
|
|
335
|
+
"name_plural": "Czech Republic korunas"
|
|
336
|
+
},
|
|
337
|
+
"DJF": {
|
|
338
|
+
"symbol": "Fdj",
|
|
339
|
+
"name": "Djiboutian Franc",
|
|
340
|
+
"symbol_native": "Fdj",
|
|
341
|
+
"decimal_digits": 0,
|
|
342
|
+
"rounding": 0,
|
|
343
|
+
"code": "DJF",
|
|
344
|
+
"name_plural": "Djiboutian francs"
|
|
345
|
+
},
|
|
346
|
+
"DKK": {
|
|
347
|
+
"symbol": "Dkr",
|
|
348
|
+
"name": "Danish Krone",
|
|
349
|
+
"symbol_native": "kr",
|
|
350
|
+
"decimal_digits": 2,
|
|
351
|
+
"rounding": 0,
|
|
352
|
+
"code": "DKK",
|
|
353
|
+
"name_plural": "Danish kroner"
|
|
354
|
+
},
|
|
355
|
+
"DOP": {
|
|
356
|
+
"symbol": "RD$",
|
|
357
|
+
"name": "Dominican Peso",
|
|
358
|
+
"symbol_native": "RD$",
|
|
359
|
+
"decimal_digits": 2,
|
|
360
|
+
"rounding": 0,
|
|
361
|
+
"code": "DOP",
|
|
362
|
+
"name_plural": "Dominican pesos"
|
|
363
|
+
},
|
|
364
|
+
"DZD": {
|
|
365
|
+
"symbol": "DA",
|
|
366
|
+
"name": "Algerian Dinar",
|
|
367
|
+
"symbol_native": "د.ج.",
|
|
368
|
+
"decimal_digits": 2,
|
|
369
|
+
"rounding": 0,
|
|
370
|
+
"code": "DZD",
|
|
371
|
+
"name_plural": "Algerian dinars",
|
|
372
|
+
"rtl": true
|
|
373
|
+
},
|
|
374
|
+
"EEK": {
|
|
375
|
+
"symbol": "Ekr",
|
|
376
|
+
"name": "Estonian Kroon",
|
|
377
|
+
"symbol_native": "kr",
|
|
378
|
+
"decimal_digits": 2,
|
|
379
|
+
"rounding": 0,
|
|
380
|
+
"code": "EEK",
|
|
381
|
+
"name_plural": "Estonian kroons"
|
|
382
|
+
},
|
|
383
|
+
"EGP": {
|
|
384
|
+
"symbol": "EGP",
|
|
385
|
+
"name": "Egyptian Pound",
|
|
386
|
+
"symbol_native": "ج.م.",
|
|
387
|
+
"decimal_digits": 2,
|
|
388
|
+
"rounding": 0,
|
|
389
|
+
"code": "EGP",
|
|
390
|
+
"name_plural": "Egyptian pounds",
|
|
391
|
+
"rtl": true
|
|
392
|
+
},
|
|
393
|
+
"ERN": {
|
|
394
|
+
"symbol": "Nfk",
|
|
395
|
+
"name": "Eritrean Nakfa",
|
|
396
|
+
"symbol_native": "Nfk",
|
|
397
|
+
"decimal_digits": 2,
|
|
398
|
+
"rounding": 0,
|
|
399
|
+
"code": "ERN",
|
|
400
|
+
"name_plural": "Eritrean nakfas"
|
|
401
|
+
},
|
|
402
|
+
"ETB": {
|
|
403
|
+
"symbol": "Br",
|
|
404
|
+
"name": "Ethiopian Birr",
|
|
405
|
+
"symbol_native": "Br",
|
|
406
|
+
"decimal_digits": 2,
|
|
407
|
+
"rounding": 0,
|
|
408
|
+
"code": "ETB",
|
|
409
|
+
"name_plural": "Ethiopian birrs"
|
|
410
|
+
},
|
|
411
|
+
"EUR": {
|
|
412
|
+
"symbol": "€",
|
|
413
|
+
"name": "Euro",
|
|
414
|
+
"symbol_native": "€",
|
|
415
|
+
"decimal_digits": 2,
|
|
416
|
+
"rounding": 0,
|
|
417
|
+
"code": "EUR",
|
|
418
|
+
"name_plural": "euros"
|
|
419
|
+
},
|
|
420
|
+
"GBP": {
|
|
421
|
+
"symbol": "£",
|
|
422
|
+
"name": "British Pound Sterling",
|
|
423
|
+
"symbol_native": "£",
|
|
424
|
+
"decimal_digits": 2,
|
|
425
|
+
"rounding": 0,
|
|
426
|
+
"code": "GBP",
|
|
427
|
+
"name_plural": "British pounds sterling"
|
|
428
|
+
},
|
|
429
|
+
"GEL": {
|
|
430
|
+
"symbol": "GEL",
|
|
431
|
+
"name": "Georgian Lari",
|
|
432
|
+
"symbol_native": "GEL",
|
|
433
|
+
"decimal_digits": 2,
|
|
434
|
+
"rounding": 0,
|
|
435
|
+
"code": "GEL",
|
|
436
|
+
"name_plural": "Georgian laris"
|
|
437
|
+
},
|
|
438
|
+
"GHS": {
|
|
439
|
+
"symbol": "GH₵",
|
|
440
|
+
"name": "Ghanaian Cedi",
|
|
441
|
+
"symbol_native": "GH₵",
|
|
442
|
+
"decimal_digits": 2,
|
|
443
|
+
"rounding": 0,
|
|
444
|
+
"code": "GHS",
|
|
445
|
+
"name_plural": "Ghanaian cedis"
|
|
446
|
+
},
|
|
447
|
+
"GNF": {
|
|
448
|
+
"symbol": "FG",
|
|
449
|
+
"name": "Guinean Franc",
|
|
450
|
+
"symbol_native": "FG",
|
|
451
|
+
"decimal_digits": 0,
|
|
452
|
+
"rounding": 0,
|
|
453
|
+
"code": "GNF",
|
|
454
|
+
"name_plural": "Guinean francs"
|
|
455
|
+
},
|
|
456
|
+
"GTQ": {
|
|
457
|
+
"symbol": "GTQ",
|
|
458
|
+
"name": "Guatemalan Quetzal",
|
|
459
|
+
"symbol_native": "Q",
|
|
460
|
+
"decimal_digits": 2,
|
|
461
|
+
"rounding": 0,
|
|
462
|
+
"code": "GTQ",
|
|
463
|
+
"name_plural": "Guatemalan quetzals"
|
|
464
|
+
},
|
|
465
|
+
"HKD": {
|
|
466
|
+
"symbol": "HK$",
|
|
467
|
+
"name": "Hong Kong Dollar",
|
|
468
|
+
"symbol_native": "HKD",
|
|
469
|
+
"decimal_digits": 2,
|
|
470
|
+
"rounding": 0,
|
|
471
|
+
"code": "HKD",
|
|
472
|
+
"name_plural": "Hong Kong dollars"
|
|
473
|
+
},
|
|
474
|
+
"HNL": {
|
|
475
|
+
"symbol": "HNL",
|
|
476
|
+
"name": "Honduran Lempira",
|
|
477
|
+
"symbol_native": "L",
|
|
478
|
+
"decimal_digits": 2,
|
|
479
|
+
"rounding": 0,
|
|
480
|
+
"code": "HNL",
|
|
481
|
+
"name_plural": "Honduran lempiras"
|
|
482
|
+
},
|
|
483
|
+
"HRK": {
|
|
484
|
+
"symbol": "kn",
|
|
485
|
+
"name": "Croatian Kuna",
|
|
486
|
+
"symbol_native": "kn",
|
|
487
|
+
"decimal_digits": 2,
|
|
488
|
+
"rounding": 0,
|
|
489
|
+
"code": "HRK",
|
|
490
|
+
"name_plural": "Croatian kunas"
|
|
491
|
+
},
|
|
492
|
+
"HTG": {
|
|
493
|
+
"symbol": "HTG",
|
|
494
|
+
"name": "Haitian gourde",
|
|
495
|
+
"symbol_native": "G",
|
|
496
|
+
"decimal_digits": 2,
|
|
497
|
+
"rounding": 0,
|
|
498
|
+
"code": "HTG",
|
|
499
|
+
"name_plural": "Haitian gourde"
|
|
500
|
+
},
|
|
501
|
+
"HUF": {
|
|
502
|
+
"symbol": "Ft",
|
|
503
|
+
"name": "Hungarian Forint",
|
|
504
|
+
"symbol_native": "Ft",
|
|
505
|
+
"decimal_digits": 0,
|
|
506
|
+
"rounding": 0,
|
|
507
|
+
"code": "HUF",
|
|
508
|
+
"name_plural": "Hungarian forints"
|
|
509
|
+
},
|
|
510
|
+
"IDR": {
|
|
511
|
+
"symbol": "Rp",
|
|
512
|
+
"name": "Indonesian Rupiah",
|
|
513
|
+
"symbol_native": "Rp",
|
|
514
|
+
"decimal_digits": 0,
|
|
515
|
+
"rounding": 0,
|
|
516
|
+
"code": "IDR",
|
|
517
|
+
"name_plural": "Indonesian rupiahs"
|
|
518
|
+
},
|
|
519
|
+
"ILS": {
|
|
520
|
+
"symbol": "₪",
|
|
521
|
+
"name": "Israeli New Sheqel",
|
|
522
|
+
"symbol_native": "₪",
|
|
523
|
+
"decimal_digits": 2,
|
|
524
|
+
"rounding": 0,
|
|
525
|
+
"code": "ILS",
|
|
526
|
+
"name_plural": "Israeli new sheqels"
|
|
527
|
+
},
|
|
528
|
+
"INR": {
|
|
529
|
+
"symbol": "Rs",
|
|
530
|
+
"name": "Indian Rupee",
|
|
531
|
+
"symbol_native": "₹",
|
|
532
|
+
"decimal_digits": 2,
|
|
533
|
+
"rounding": 0,
|
|
534
|
+
"code": "INR",
|
|
535
|
+
"name_plural": "Indian rupees"
|
|
536
|
+
},
|
|
537
|
+
"IQD": {
|
|
538
|
+
"symbol": "IQD",
|
|
539
|
+
"name": "Iraqi Dinar",
|
|
540
|
+
"symbol_native": "د.ع.",
|
|
541
|
+
"decimal_digits": 0,
|
|
542
|
+
"rounding": 0,
|
|
543
|
+
"code": "IQD",
|
|
544
|
+
"name_plural": "Iraqi dinars",
|
|
545
|
+
"rtl": true
|
|
546
|
+
},
|
|
547
|
+
"IRR": {
|
|
548
|
+
"symbol": "IRR",
|
|
549
|
+
"name": "Iranian Rial",
|
|
550
|
+
"symbol_native": "﷼",
|
|
551
|
+
"decimal_digits": 0,
|
|
552
|
+
"rounding": 0,
|
|
553
|
+
"code": "IRR",
|
|
554
|
+
"name_plural": "Iranian rials",
|
|
555
|
+
"rtl": true
|
|
556
|
+
},
|
|
557
|
+
"ISK": {
|
|
558
|
+
"symbol": "Ikr",
|
|
559
|
+
"name": "Icelandic Króna",
|
|
560
|
+
"symbol_native": "kr",
|
|
561
|
+
"decimal_digits": 0,
|
|
562
|
+
"rounding": 0,
|
|
563
|
+
"code": "ISK",
|
|
564
|
+
"name_plural": "Icelandic krónur"
|
|
565
|
+
},
|
|
566
|
+
"JMD": {
|
|
567
|
+
"symbol": "J$",
|
|
568
|
+
"name": "Jamaican Dollar",
|
|
569
|
+
"symbol_native": "$",
|
|
570
|
+
"decimal_digits": 2,
|
|
571
|
+
"rounding": 0,
|
|
572
|
+
"code": "JMD",
|
|
573
|
+
"name_plural": "Jamaican dollars"
|
|
574
|
+
},
|
|
575
|
+
"JOD": {
|
|
576
|
+
"symbol": "JD",
|
|
577
|
+
"name": "Jordanian Dinar",
|
|
578
|
+
"symbol_native": "د.أ.",
|
|
579
|
+
"decimal_digits": 3,
|
|
580
|
+
"rounding": 0,
|
|
581
|
+
"code": "JOD",
|
|
582
|
+
"name_plural": "Jordanian dinars",
|
|
583
|
+
"rtl": true
|
|
584
|
+
},
|
|
585
|
+
"JPY": {
|
|
586
|
+
"symbol": "¥",
|
|
587
|
+
"name": "Japanese Yen",
|
|
588
|
+
"symbol_native": "¥",
|
|
589
|
+
"decimal_digits": 0,
|
|
590
|
+
"rounding": 0,
|
|
591
|
+
"code": "JPY",
|
|
592
|
+
"name_plural": "Japanese yen"
|
|
593
|
+
},
|
|
594
|
+
"KES": {
|
|
595
|
+
"symbol": "Ksh",
|
|
596
|
+
"name": "Kenyan Shilling",
|
|
597
|
+
"symbol_native": "Ksh",
|
|
598
|
+
"decimal_digits": 2,
|
|
599
|
+
"rounding": 0,
|
|
600
|
+
"code": "KES",
|
|
601
|
+
"name_plural": "Kenyan shillings"
|
|
602
|
+
},
|
|
603
|
+
"KHR": {
|
|
604
|
+
"symbol": "KHR",
|
|
605
|
+
"name": "Cambodian Riel",
|
|
606
|
+
"symbol_native": "KHR",
|
|
607
|
+
"decimal_digits": 2,
|
|
608
|
+
"rounding": 0,
|
|
609
|
+
"code": "KHR",
|
|
610
|
+
"name_plural": "Cambodian riels"
|
|
611
|
+
},
|
|
612
|
+
"KMF": {
|
|
613
|
+
"symbol": "CF",
|
|
614
|
+
"name": "Comorian Franc",
|
|
615
|
+
"symbol_native": "FC",
|
|
616
|
+
"decimal_digits": 0,
|
|
617
|
+
"rounding": 0,
|
|
618
|
+
"code": "KMF",
|
|
619
|
+
"name_plural": "Comorian francs"
|
|
620
|
+
},
|
|
621
|
+
"KRW": {
|
|
622
|
+
"symbol": "₩",
|
|
623
|
+
"name": "Korean Won(₩)",
|
|
624
|
+
"symbol_native": "₩",
|
|
625
|
+
"decimal_digits": 0,
|
|
626
|
+
"rounding": 0,
|
|
627
|
+
"code": "KRW",
|
|
628
|
+
"name_plural": "Korean won"
|
|
629
|
+
},
|
|
630
|
+
"KRW2": {
|
|
631
|
+
"symbol": "원",
|
|
632
|
+
"name": "Korean Won(원)",
|
|
633
|
+
"symbol_native": "원",
|
|
634
|
+
"decimal_digits": 0,
|
|
635
|
+
"rounding": 0,
|
|
636
|
+
"code": "KRW2",
|
|
637
|
+
"name_plural": "Korean won"
|
|
638
|
+
},
|
|
639
|
+
"KWD": {
|
|
640
|
+
"symbol": "KD",
|
|
641
|
+
"name": "Kuwaiti Dinar",
|
|
642
|
+
"symbol_native": "د.ك.",
|
|
643
|
+
"decimal_digits": 3,
|
|
644
|
+
"rounding": 0,
|
|
645
|
+
"code": "KWD",
|
|
646
|
+
"name_plural": "Kuwaiti dinars",
|
|
647
|
+
"rtl": true
|
|
648
|
+
},
|
|
649
|
+
"KZT": {
|
|
650
|
+
"symbol": "KZT",
|
|
651
|
+
"name": "Kazakhstani Tenge",
|
|
652
|
+
"symbol_native": "тңг.",
|
|
653
|
+
"decimal_digits": 2,
|
|
654
|
+
"rounding": 0,
|
|
655
|
+
"code": "KZT",
|
|
656
|
+
"name_plural": "Kazakhstani tenges"
|
|
657
|
+
},
|
|
658
|
+
"LBP": {
|
|
659
|
+
"symbol": "LB£",
|
|
660
|
+
"name": "Lebanese Pound",
|
|
661
|
+
"symbol_native": "ل.ل.",
|
|
662
|
+
"decimal_digits": 0,
|
|
663
|
+
"rounding": 0,
|
|
664
|
+
"code": "LBP",
|
|
665
|
+
"name_plural": "Lebanese pounds",
|
|
666
|
+
"rtl": true
|
|
667
|
+
},
|
|
668
|
+
"LKR": {
|
|
669
|
+
"symbol": "SLRs",
|
|
670
|
+
"name": "Sri Lankan Rupee",
|
|
671
|
+
"symbol_native": "LKR Rs",
|
|
672
|
+
"decimal_digits": 2,
|
|
673
|
+
"rounding": 0,
|
|
674
|
+
"code": "LKR",
|
|
675
|
+
"name_plural": "Sri Lankan rupees"
|
|
676
|
+
},
|
|
677
|
+
"LTL": {
|
|
678
|
+
"symbol": "Lt",
|
|
679
|
+
"name": "Lithuanian Litas",
|
|
680
|
+
"symbol_native": "Lt",
|
|
681
|
+
"decimal_digits": 2,
|
|
682
|
+
"rounding": 0,
|
|
683
|
+
"code": "LTL",
|
|
684
|
+
"name_plural": "Lithuanian litai"
|
|
685
|
+
},
|
|
686
|
+
"LVL": {
|
|
687
|
+
"symbol": "Ls",
|
|
688
|
+
"name": "Latvian Lats",
|
|
689
|
+
"symbol_native": "Ls",
|
|
690
|
+
"decimal_digits": 2,
|
|
691
|
+
"rounding": 0,
|
|
692
|
+
"code": "LVL",
|
|
693
|
+
"name_plural": "Latvian lati"
|
|
694
|
+
},
|
|
695
|
+
"LYD": {
|
|
696
|
+
"symbol": "LD",
|
|
697
|
+
"name": "Libyan Dinar",
|
|
698
|
+
"symbol_native": "د.ل.",
|
|
699
|
+
"decimal_digits": 3,
|
|
700
|
+
"rounding": 0,
|
|
701
|
+
"code": "LYD",
|
|
702
|
+
"name_plural": "Libyan dinars",
|
|
703
|
+
"rtl": true
|
|
704
|
+
},
|
|
705
|
+
"MAD": {
|
|
706
|
+
"symbol": "MAD",
|
|
707
|
+
"name": "Moroccan Dirham",
|
|
708
|
+
"symbol_native": "د.م.",
|
|
709
|
+
"decimal_digits": 2,
|
|
710
|
+
"rounding": 0,
|
|
711
|
+
"code": "MAD",
|
|
712
|
+
"name_plural": "Moroccan dirhams",
|
|
713
|
+
"rtl": true
|
|
714
|
+
},
|
|
715
|
+
"MDL": {
|
|
716
|
+
"symbol": "MDL",
|
|
717
|
+
"name": "Moldovan Leu",
|
|
718
|
+
"symbol_native": "MDL",
|
|
719
|
+
"decimal_digits": 2,
|
|
720
|
+
"rounding": 0,
|
|
721
|
+
"code": "MDL",
|
|
722
|
+
"name_plural": "Moldovan lei"
|
|
723
|
+
},
|
|
724
|
+
"MGA": {
|
|
725
|
+
"symbol": "MGA",
|
|
726
|
+
"name": "Malagasy Ariary",
|
|
727
|
+
"symbol_native": "MGA",
|
|
728
|
+
"decimal_digits": 0,
|
|
729
|
+
"rounding": 0,
|
|
730
|
+
"code": "MGA",
|
|
731
|
+
"name_plural": "Malagasy Ariaries"
|
|
732
|
+
},
|
|
733
|
+
"MKD": {
|
|
734
|
+
"symbol": "MKD",
|
|
735
|
+
"name": "Macedonian Denar",
|
|
736
|
+
"symbol_native": "MKD",
|
|
737
|
+
"decimal_digits": 2,
|
|
738
|
+
"rounding": 0,
|
|
739
|
+
"code": "MKD",
|
|
740
|
+
"name_plural": "Macedonian denari"
|
|
741
|
+
},
|
|
742
|
+
"MMK": {
|
|
743
|
+
"symbol": "MMK",
|
|
744
|
+
"name": "Myanma Kyat",
|
|
745
|
+
"symbol_native": "K",
|
|
746
|
+
"decimal_digits": 0,
|
|
747
|
+
"rounding": 0,
|
|
748
|
+
"code": "MMK",
|
|
749
|
+
"name_plural": "Myanma kyats"
|
|
750
|
+
},
|
|
751
|
+
"MOP": {
|
|
752
|
+
"symbol": "MOP$",
|
|
753
|
+
"name": "Macanese Pataca",
|
|
754
|
+
"symbol_native": "MOP$",
|
|
755
|
+
"decimal_digits": 2,
|
|
756
|
+
"rounding": 0,
|
|
757
|
+
"code": "MOP",
|
|
758
|
+
"name_plural": "Macanese patacas"
|
|
759
|
+
},
|
|
760
|
+
"MUR": {
|
|
761
|
+
"symbol": "MURs",
|
|
762
|
+
"name": "Mauritian Rupee",
|
|
763
|
+
"symbol_native": "MURs",
|
|
764
|
+
"decimal_digits": 0,
|
|
765
|
+
"rounding": 0,
|
|
766
|
+
"code": "MUR",
|
|
767
|
+
"name_plural": "Mauritian rupees"
|
|
768
|
+
},
|
|
769
|
+
"MXN": {
|
|
770
|
+
"symbol": "MX$",
|
|
771
|
+
"name": "Mexican Peso",
|
|
772
|
+
"symbol_native": "$",
|
|
773
|
+
"decimal_digits": 2,
|
|
774
|
+
"rounding": 0,
|
|
775
|
+
"code": "MXN",
|
|
776
|
+
"name_plural": "Mexican pesos"
|
|
777
|
+
},
|
|
778
|
+
"MVR": {
|
|
779
|
+
"symbol": "MVR",
|
|
780
|
+
"name": "Maldivian rufiyaa",
|
|
781
|
+
"symbol_native": "MVR",
|
|
782
|
+
"decimal_digits": 2,
|
|
783
|
+
"rounding": 0,
|
|
784
|
+
"code": "MVR",
|
|
785
|
+
"name_plural": "Maldivian rufiyaas"
|
|
786
|
+
},
|
|
787
|
+
"MYR": {
|
|
788
|
+
"symbol": "RM",
|
|
789
|
+
"name": "Malaysian Ringgit",
|
|
790
|
+
"symbol_native": "RM",
|
|
791
|
+
"decimal_digits": 2,
|
|
792
|
+
"rounding": 0,
|
|
793
|
+
"code": "MYR",
|
|
794
|
+
"name_plural": "Malaysian ringgits"
|
|
795
|
+
},
|
|
796
|
+
"MZN": {
|
|
797
|
+
"symbol": "MTn",
|
|
798
|
+
"name": "Mozambican Metical",
|
|
799
|
+
"symbol_native": "MTn",
|
|
800
|
+
"decimal_digits": 2,
|
|
801
|
+
"rounding": 0,
|
|
802
|
+
"code": "MZN",
|
|
803
|
+
"name_plural": "Mozambican meticals"
|
|
804
|
+
},
|
|
805
|
+
"NAD": {
|
|
806
|
+
"symbol": "N$",
|
|
807
|
+
"name": "Namibian Dollar",
|
|
808
|
+
"symbol_native": "N$",
|
|
809
|
+
"decimal_digits": 2,
|
|
810
|
+
"rounding": 0,
|
|
811
|
+
"code": "NAD",
|
|
812
|
+
"name_plural": "Namibian dollars"
|
|
813
|
+
},
|
|
814
|
+
"NGN": {
|
|
815
|
+
"symbol": "₦",
|
|
816
|
+
"name": "Nigerian Naira",
|
|
817
|
+
"symbol_native": "₦",
|
|
818
|
+
"decimal_digits": 2,
|
|
819
|
+
"rounding": 0,
|
|
820
|
+
"code": "NGN",
|
|
821
|
+
"name_plural": "Nigerian nairas"
|
|
822
|
+
},
|
|
823
|
+
"NIO": {
|
|
824
|
+
"symbol": "C$",
|
|
825
|
+
"name": "Nicaraguan Córdoba",
|
|
826
|
+
"symbol_native": "C$",
|
|
827
|
+
"decimal_digits": 2,
|
|
828
|
+
"rounding": 0,
|
|
829
|
+
"code": "NIO",
|
|
830
|
+
"name_plural": "Nicaraguan córdobas"
|
|
831
|
+
},
|
|
832
|
+
"NOK": {
|
|
833
|
+
"symbol": "Nkr",
|
|
834
|
+
"name": "Norwegian Krone",
|
|
835
|
+
"symbol_native": "kr",
|
|
836
|
+
"decimal_digits": 2,
|
|
837
|
+
"rounding": 0,
|
|
838
|
+
"code": "NOK",
|
|
839
|
+
"name_plural": "Norwegian kroner"
|
|
840
|
+
},
|
|
841
|
+
"NPR": {
|
|
842
|
+
"symbol": "NPRs",
|
|
843
|
+
"name": "Nepalese Rupee",
|
|
844
|
+
"symbol_native": "NPRs",
|
|
845
|
+
"decimal_digits": 2,
|
|
846
|
+
"rounding": 0,
|
|
847
|
+
"code": "NPR",
|
|
848
|
+
"name_plural": "Nepalese rupees"
|
|
849
|
+
},
|
|
850
|
+
"NZD": {
|
|
851
|
+
"symbol": "NZ$",
|
|
852
|
+
"name": "New Zealand Dollar",
|
|
853
|
+
"symbol_native": "$",
|
|
854
|
+
"decimal_digits": 2,
|
|
855
|
+
"rounding": 0,
|
|
856
|
+
"code": "NZD",
|
|
857
|
+
"name_plural": "New Zealand dollars"
|
|
858
|
+
},
|
|
859
|
+
"OMR": {
|
|
860
|
+
"symbol": "OMR",
|
|
861
|
+
"name": "Omani Rial",
|
|
862
|
+
"symbol_native": "OMR",
|
|
863
|
+
"decimal_digits": 3,
|
|
864
|
+
"rounding": 0,
|
|
865
|
+
"code": "OMR",
|
|
866
|
+
"name_plural": "Omani rials"
|
|
867
|
+
},
|
|
868
|
+
"PAB": {
|
|
869
|
+
"symbol": "B/.",
|
|
870
|
+
"name": "Panamanian Balboa",
|
|
871
|
+
"symbol_native": "B/.",
|
|
872
|
+
"decimal_digits": 2,
|
|
873
|
+
"rounding": 0,
|
|
874
|
+
"code": "PAB",
|
|
875
|
+
"name_plural": "Panamanian balboas"
|
|
876
|
+
},
|
|
877
|
+
"PEN": {
|
|
878
|
+
"symbol": "S/.",
|
|
879
|
+
"name": "Peruvian Nuevo Sol",
|
|
880
|
+
"symbol_native": "S/.",
|
|
881
|
+
"decimal_digits": 2,
|
|
882
|
+
"rounding": 0,
|
|
883
|
+
"code": "PEN",
|
|
884
|
+
"name_plural": "Peruvian nuevos soles"
|
|
885
|
+
},
|
|
886
|
+
"PGK": {
|
|
887
|
+
"symbol": "K",
|
|
888
|
+
"name": "Papua New Guinea Kina",
|
|
889
|
+
"symbol_native": "K",
|
|
890
|
+
"decimal_digits": 2,
|
|
891
|
+
"rounding": 0,
|
|
892
|
+
"code": "PGK",
|
|
893
|
+
"name_plural": "Papua New Guinea Kina"
|
|
894
|
+
},
|
|
895
|
+
"PHP": {
|
|
896
|
+
"symbol": "₱",
|
|
897
|
+
"name": "Philippine Peso",
|
|
898
|
+
"symbol_native": "₱",
|
|
899
|
+
"decimal_digits": 2,
|
|
900
|
+
"rounding": 0,
|
|
901
|
+
"code": "PHP",
|
|
902
|
+
"name_plural": "Philippine pesos"
|
|
903
|
+
},
|
|
904
|
+
"PKR": {
|
|
905
|
+
"symbol": "PKRs",
|
|
906
|
+
"name": "Pakistani Rupee",
|
|
907
|
+
"symbol_native": "₨",
|
|
908
|
+
"decimal_digits": 0,
|
|
909
|
+
"rounding": 0,
|
|
910
|
+
"code": "PKR",
|
|
911
|
+
"name_plural": "Pakistani rupees"
|
|
912
|
+
},
|
|
913
|
+
"PLN": {
|
|
914
|
+
"symbol": "zł",
|
|
915
|
+
"name": "Polish Zloty",
|
|
916
|
+
"symbol_native": "zł",
|
|
917
|
+
"decimal_digits": 2,
|
|
918
|
+
"rounding": 0,
|
|
919
|
+
"code": "PLN",
|
|
920
|
+
"name_plural": "Polish zlotys"
|
|
921
|
+
},
|
|
922
|
+
"PYG": {
|
|
923
|
+
"symbol": "₲",
|
|
924
|
+
"name": "Paraguayan Guarani",
|
|
925
|
+
"symbol_native": "₲",
|
|
926
|
+
"decimal_digits": 0,
|
|
927
|
+
"rounding": 0,
|
|
928
|
+
"code": "PYG",
|
|
929
|
+
"name_plural": "Paraguayan guaranis"
|
|
930
|
+
},
|
|
931
|
+
"QAR": {
|
|
932
|
+
"symbol": "QR",
|
|
933
|
+
"name": "Qatari Rial",
|
|
934
|
+
"symbol_native": "ر.ق.",
|
|
935
|
+
"decimal_digits": 2,
|
|
936
|
+
"rounding": 0,
|
|
937
|
+
"code": "QAR",
|
|
938
|
+
"name_plural": "Qatari rials",
|
|
939
|
+
"rtl": true
|
|
940
|
+
},
|
|
941
|
+
"RON": {
|
|
942
|
+
"symbol": "lei",
|
|
943
|
+
"name": "Romanian Leu",
|
|
944
|
+
"symbol_native": "lei",
|
|
945
|
+
"decimal_digits": 2,
|
|
946
|
+
"rounding": 0,
|
|
947
|
+
"code": "RON",
|
|
948
|
+
"name_plural": "Romanian lei"
|
|
949
|
+
},
|
|
950
|
+
"RSD": {
|
|
951
|
+
"symbol": "din.",
|
|
952
|
+
"name": "Serbian Dinar",
|
|
953
|
+
"symbol_native": "дин.",
|
|
954
|
+
"decimal_digits": 2,
|
|
955
|
+
"rounding": 0,
|
|
956
|
+
"code": "RSD",
|
|
957
|
+
"name_plural": "Serbian dinars"
|
|
958
|
+
},
|
|
959
|
+
"RUB": {
|
|
960
|
+
"symbol": "RUB",
|
|
961
|
+
"name": "Russian Ruble",
|
|
962
|
+
"symbol_native": "руб.",
|
|
963
|
+
"decimal_digits": 2,
|
|
964
|
+
"rounding": 0,
|
|
965
|
+
"code": "RUB",
|
|
966
|
+
"name_plural": "Russian rubles"
|
|
967
|
+
},
|
|
968
|
+
"RWF": {
|
|
969
|
+
"symbol": "RWF",
|
|
970
|
+
"name": "Rwandan Franc",
|
|
971
|
+
"symbol_native": "FR",
|
|
972
|
+
"decimal_digits": 0,
|
|
973
|
+
"rounding": 0,
|
|
974
|
+
"code": "RWF",
|
|
975
|
+
"name_plural": "Rwandan francs"
|
|
976
|
+
},
|
|
977
|
+
"SAR": {
|
|
978
|
+
"symbol": "SR",
|
|
979
|
+
"name": "Saudi Riyal",
|
|
980
|
+
"symbol_native": "ر.س.",
|
|
981
|
+
"decimal_digits": 2,
|
|
982
|
+
"rounding": 0,
|
|
983
|
+
"code": "SAR",
|
|
984
|
+
"name_plural": "Saudi riyals",
|
|
985
|
+
"rtl": true
|
|
986
|
+
},
|
|
987
|
+
"SDG": {
|
|
988
|
+
"symbol": "SDG",
|
|
989
|
+
"name": "Sudanese Pound",
|
|
990
|
+
"symbol_native": "SDG",
|
|
991
|
+
"decimal_digits": 2,
|
|
992
|
+
"rounding": 0,
|
|
993
|
+
"code": "SDG",
|
|
994
|
+
"name_plural": "Sudanese pounds"
|
|
995
|
+
},
|
|
996
|
+
"SEK": {
|
|
997
|
+
"symbol": "Skr",
|
|
998
|
+
"name": "Swedish Krona",
|
|
999
|
+
"symbol_native": "kr",
|
|
1000
|
+
"decimal_digits": 2,
|
|
1001
|
+
"rounding": 0,
|
|
1002
|
+
"code": "SEK",
|
|
1003
|
+
"name_plural": "Swedish kronor"
|
|
1004
|
+
},
|
|
1005
|
+
"SGD": {
|
|
1006
|
+
"symbol": "S$",
|
|
1007
|
+
"name": "Singapore Dollar",
|
|
1008
|
+
"symbol_native": "$",
|
|
1009
|
+
"decimal_digits": 2,
|
|
1010
|
+
"rounding": 0,
|
|
1011
|
+
"code": "SGD",
|
|
1012
|
+
"name_plural": "Singapore dollars"
|
|
1013
|
+
},
|
|
1014
|
+
"SLL": {
|
|
1015
|
+
"symbol": "SLL",
|
|
1016
|
+
"name": "Sierra Leonean Leone",
|
|
1017
|
+
"symbol_native": "SLL",
|
|
1018
|
+
"decimal_digits": 2,
|
|
1019
|
+
"rounding": 0,
|
|
1020
|
+
"code": "SLL",
|
|
1021
|
+
"name_plural": "Sierra Leonean Leones"
|
|
1022
|
+
},
|
|
1023
|
+
"SOS": {
|
|
1024
|
+
"symbol": "Ssh",
|
|
1025
|
+
"name": "Somali Shilling",
|
|
1026
|
+
"symbol_native": "Ssh",
|
|
1027
|
+
"decimal_digits": 0,
|
|
1028
|
+
"rounding": 0,
|
|
1029
|
+
"code": "SOS",
|
|
1030
|
+
"name_plural": "Somali shillings"
|
|
1031
|
+
},
|
|
1032
|
+
"SRD": {
|
|
1033
|
+
"symbol": "SRD",
|
|
1034
|
+
"name": "Surinamese dollar",
|
|
1035
|
+
"symbol_native": "SRD",
|
|
1036
|
+
"decimal_digits": 0,
|
|
1037
|
+
"rounding": 0,
|
|
1038
|
+
"code": "SRD",
|
|
1039
|
+
"name_plural": "Surinamese dollars"
|
|
1040
|
+
},
|
|
1041
|
+
"SYP": {
|
|
1042
|
+
"symbol": "SY£",
|
|
1043
|
+
"name": "Syrian Pound",
|
|
1044
|
+
"symbol_native": "ل.س.",
|
|
1045
|
+
"decimal_digits": 0,
|
|
1046
|
+
"rounding": 0,
|
|
1047
|
+
"code": "SYP",
|
|
1048
|
+
"name_plural": "Syrian pounds",
|
|
1049
|
+
"rtl": true
|
|
1050
|
+
},
|
|
1051
|
+
"THB": {
|
|
1052
|
+
"symbol": "฿",
|
|
1053
|
+
"name": "Thai Baht",
|
|
1054
|
+
"symbol_native": "฿",
|
|
1055
|
+
"decimal_digits": 2,
|
|
1056
|
+
"rounding": 0,
|
|
1057
|
+
"code": "THB",
|
|
1058
|
+
"name_plural": "Thai baht"
|
|
1059
|
+
},
|
|
1060
|
+
"TND": {
|
|
1061
|
+
"symbol": "DT",
|
|
1062
|
+
"name": "Tunisian Dinar",
|
|
1063
|
+
"symbol_native1": "د.ت.",
|
|
1064
|
+
"symbol_native": "TND",
|
|
1065
|
+
"decimal_digits": 3,
|
|
1066
|
+
"rounding": 0,
|
|
1067
|
+
"code": "TND",
|
|
1068
|
+
"name_plural": "Tunisian dinars"
|
|
1069
|
+
},
|
|
1070
|
+
"TOP": {
|
|
1071
|
+
"symbol": "T$",
|
|
1072
|
+
"name": "Tongan Paʻanga",
|
|
1073
|
+
"symbol_native": "T$",
|
|
1074
|
+
"decimal_digits": 2,
|
|
1075
|
+
"rounding": 0,
|
|
1076
|
+
"code": "TOP",
|
|
1077
|
+
"name_plural": "Tongan paʻanga"
|
|
1078
|
+
},
|
|
1079
|
+
"TRY": {
|
|
1080
|
+
"symbol": "TL",
|
|
1081
|
+
"name": "Turkish Lira",
|
|
1082
|
+
"symbol_native": "TL",
|
|
1083
|
+
"decimal_digits": 2,
|
|
1084
|
+
"rounding": 0,
|
|
1085
|
+
"code": "TRY",
|
|
1086
|
+
"name_plural": "Turkish Lira"
|
|
1087
|
+
},
|
|
1088
|
+
"TTD": {
|
|
1089
|
+
"symbol": "TT$",
|
|
1090
|
+
"name": "Trinidad and Tobago Dollar",
|
|
1091
|
+
"symbol_native": "$",
|
|
1092
|
+
"decimal_digits": 2,
|
|
1093
|
+
"rounding": 0,
|
|
1094
|
+
"code": "TTD",
|
|
1095
|
+
"name_plural": "Trinidad and Tobago dollars"
|
|
1096
|
+
},
|
|
1097
|
+
"TWD": {
|
|
1098
|
+
"symbol": "NT$",
|
|
1099
|
+
"name": "New Taiwan Dollar",
|
|
1100
|
+
"symbol_native": "NT$",
|
|
1101
|
+
"decimal_digits": 2,
|
|
1102
|
+
"rounding": 0,
|
|
1103
|
+
"code": "TWD",
|
|
1104
|
+
"name_plural": "New Taiwan dollars"
|
|
1105
|
+
},
|
|
1106
|
+
"TZS": {
|
|
1107
|
+
"symbol": "TSh",
|
|
1108
|
+
"name": "Tanzanian Shilling",
|
|
1109
|
+
"symbol_native": "TSh",
|
|
1110
|
+
"decimal_digits": 0,
|
|
1111
|
+
"rounding": 0,
|
|
1112
|
+
"code": "TZS",
|
|
1113
|
+
"name_plural": "Tanzanian shillings"
|
|
1114
|
+
},
|
|
1115
|
+
"UAH": {
|
|
1116
|
+
"symbol": "₴",
|
|
1117
|
+
"name": "Ukrainian Hryvnia",
|
|
1118
|
+
"symbol_native": "₴",
|
|
1119
|
+
"decimal_digits": 2,
|
|
1120
|
+
"rounding": 0,
|
|
1121
|
+
"code": "UAH",
|
|
1122
|
+
"name_plural": "Ukrainian hryvnias"
|
|
1123
|
+
},
|
|
1124
|
+
"UGX": {
|
|
1125
|
+
"symbol": "USh",
|
|
1126
|
+
"name": "Ugandan Shilling",
|
|
1127
|
+
"symbol_native": "USh",
|
|
1128
|
+
"decimal_digits": 0,
|
|
1129
|
+
"rounding": 0,
|
|
1130
|
+
"code": "UGX",
|
|
1131
|
+
"name_plural": "Ugandan shillings"
|
|
1132
|
+
},
|
|
1133
|
+
"USD": {
|
|
1134
|
+
"symbol": "US$",
|
|
1135
|
+
"name": "US Dollar",
|
|
1136
|
+
"symbol_native": "$",
|
|
1137
|
+
"decimal_digits": 2,
|
|
1138
|
+
"rounding": 0,
|
|
1139
|
+
"code": "USD",
|
|
1140
|
+
"name_plural": "US dollars"
|
|
1141
|
+
},
|
|
1142
|
+
"UYU": {
|
|
1143
|
+
"symbol": "$U",
|
|
1144
|
+
"name": "Uruguayan Peso",
|
|
1145
|
+
"symbol_native": "$",
|
|
1146
|
+
"decimal_digits": 2,
|
|
1147
|
+
"rounding": 0,
|
|
1148
|
+
"code": "UYU",
|
|
1149
|
+
"name_plural": "Uruguayan pesos"
|
|
1150
|
+
},
|
|
1151
|
+
"UZS": {
|
|
1152
|
+
"symbol": "UZS",
|
|
1153
|
+
"name": "Uzbekistan Som",
|
|
1154
|
+
"symbol_native": "UZS",
|
|
1155
|
+
"decimal_digits": 0,
|
|
1156
|
+
"rounding": 0,
|
|
1157
|
+
"code": "UZS",
|
|
1158
|
+
"name_plural": "Uzbekistan som"
|
|
1159
|
+
},
|
|
1160
|
+
"VEF": {
|
|
1161
|
+
"symbol": "Bs.F.",
|
|
1162
|
+
"name": "Venezuelan Bolívar",
|
|
1163
|
+
"symbol_native": "Bs.F.",
|
|
1164
|
+
"decimal_digits": 2,
|
|
1165
|
+
"rounding": 0,
|
|
1166
|
+
"code": "VEF",
|
|
1167
|
+
"name_plural": "Venezuelan bolívars"
|
|
1168
|
+
},
|
|
1169
|
+
"VES": {
|
|
1170
|
+
"symbol": "VES",
|
|
1171
|
+
"name": "Bolívar Soberano",
|
|
1172
|
+
"symbol_native": "Bs.S ",
|
|
1173
|
+
"decimal_digits": 2,
|
|
1174
|
+
"rounding": 0,
|
|
1175
|
+
"code": "VES",
|
|
1176
|
+
"name_plural": "Bolívares Soberanos"
|
|
1177
|
+
},
|
|
1178
|
+
"VND": {
|
|
1179
|
+
"symbol": "Dong",
|
|
1180
|
+
"name": "Vietnamese Dong",
|
|
1181
|
+
"symbol_native": "Dong",
|
|
1182
|
+
"decimal_digits": 0,
|
|
1183
|
+
"rounding": 0,
|
|
1184
|
+
"code": "VND",
|
|
1185
|
+
"name_plural": "Vietnamese dong"
|
|
1186
|
+
},
|
|
1187
|
+
"XAF": {
|
|
1188
|
+
"symbol": "FCFA",
|
|
1189
|
+
"name": "CFA Franc BEAC",
|
|
1190
|
+
"symbol_native": "FCFA",
|
|
1191
|
+
"decimal_digits": 0,
|
|
1192
|
+
"rounding": 0,
|
|
1193
|
+
"code": "XAF",
|
|
1194
|
+
"name_plural": "CFA francs BEAC"
|
|
1195
|
+
},
|
|
1196
|
+
"XCD": {
|
|
1197
|
+
"symbol": "XCD$",
|
|
1198
|
+
"name": "East Caribbean Dollar",
|
|
1199
|
+
"symbol_native": "$",
|
|
1200
|
+
"decimal_digits": 2,
|
|
1201
|
+
"rounding": 0,
|
|
1202
|
+
"code": "XCD",
|
|
1203
|
+
"name_plural": "East Caribbean Dollars"
|
|
1204
|
+
},
|
|
1205
|
+
"XOF": {
|
|
1206
|
+
"symbol": "CFA",
|
|
1207
|
+
"name": "CFA Franc BCEAO",
|
|
1208
|
+
"symbol_native": "CFA",
|
|
1209
|
+
"decimal_digits": 0,
|
|
1210
|
+
"rounding": 0,
|
|
1211
|
+
"code": "XOF",
|
|
1212
|
+
"name_plural": "CFA francs BCEAO"
|
|
1213
|
+
},
|
|
1214
|
+
"XPF": {
|
|
1215
|
+
"symbol": "XPF",
|
|
1216
|
+
"name": "Central Pacific Franc",
|
|
1217
|
+
"symbol_native": "F",
|
|
1218
|
+
"decimal_digits": 2,
|
|
1219
|
+
"rounding": 0,
|
|
1220
|
+
"code": "XPF",
|
|
1221
|
+
"name_plural": "Central Pacific Franc"
|
|
1222
|
+
},
|
|
1223
|
+
"YER": {
|
|
1224
|
+
"symbol": "YR",
|
|
1225
|
+
"name": "Yemeni Rial",
|
|
1226
|
+
"symbol_native": "ر.ي.",
|
|
1227
|
+
"decimal_digits": 0,
|
|
1228
|
+
"rounding": 0,
|
|
1229
|
+
"code": "YER",
|
|
1230
|
+
"name_plural": "Yemeni rials",
|
|
1231
|
+
"rtl": true
|
|
1232
|
+
},
|
|
1233
|
+
"ZAR": {
|
|
1234
|
+
"symbol": "R",
|
|
1235
|
+
"name": "South African Rand",
|
|
1236
|
+
"symbol_native": "R",
|
|
1237
|
+
"decimal_digits": 2,
|
|
1238
|
+
"rounding": 0,
|
|
1239
|
+
"code": "ZAR",
|
|
1240
|
+
"name_plural": "South African rand"
|
|
1241
|
+
},
|
|
1242
|
+
"ZMK": {
|
|
1243
|
+
"symbol": "ZK",
|
|
1244
|
+
"name": "Zambian Kwacha",
|
|
1245
|
+
"symbol_native": "ZK",
|
|
1246
|
+
"decimal_digits": 0,
|
|
1247
|
+
"rounding": 0,
|
|
1248
|
+
"code": "ZMK",
|
|
1249
|
+
"name_plural": "Zambian kwachas"
|
|
1250
1250
|
}
|
|
1251
1251
|
};
|
|
1252
1252
|
|
|
1253
1253
|
var numberFormat = {
|
|
1254
|
-
am: {
|
|
1255
|
-
decimal: ".",
|
|
1256
|
-
group: ",",
|
|
1257
|
-
format: "$$###",
|
|
1258
|
-
currency: "AMD"
|
|
1259
|
-
},
|
|
1260
|
-
ar: {
|
|
1261
|
-
decimal: ".",
|
|
1262
|
-
group: ",",
|
|
1263
|
-
format: "$$ ###",
|
|
1264
|
-
currency: "ARS"
|
|
1265
|
-
},
|
|
1266
|
-
bg: {
|
|
1267
|
-
decimal: ",",
|
|
1268
|
-
group: " ",
|
|
1269
|
-
format: "### $$",
|
|
1270
|
-
currency: "BGN"
|
|
1271
|
-
},
|
|
1272
|
-
bn: {
|
|
1273
|
-
decimal: ".",
|
|
1274
|
-
group: ",",
|
|
1275
|
-
format: "###$$",
|
|
1276
|
-
currency: "BND"
|
|
1277
|
-
},
|
|
1278
|
-
ca: {
|
|
1279
|
-
decimal: ",",
|
|
1280
|
-
group: ".",
|
|
1281
|
-
format: "### $$",
|
|
1282
|
-
currency: "CAD"
|
|
1283
|
-
},
|
|
1284
|
-
cs: {
|
|
1285
|
-
decimal: ",",
|
|
1286
|
-
group: " ",
|
|
1287
|
-
format: "### $$",
|
|
1288
|
-
currency: "EUR"
|
|
1289
|
-
},
|
|
1290
|
-
da: {
|
|
1291
|
-
decimal: ",",
|
|
1292
|
-
group: ".",
|
|
1293
|
-
format: "### $$",
|
|
1294
|
-
currency: "DKK"
|
|
1295
|
-
},
|
|
1296
|
-
de: {
|
|
1297
|
-
decimal: ",",
|
|
1298
|
-
group: ".",
|
|
1299
|
-
format: "### $$",
|
|
1300
|
-
currency: ""
|
|
1301
|
-
},
|
|
1302
|
-
el: {
|
|
1303
|
-
decimal: ",",
|
|
1304
|
-
group: ".",
|
|
1305
|
-
format: "### $$",
|
|
1306
|
-
currency: ""
|
|
1307
|
-
},
|
|
1308
|
-
en: {
|
|
1309
|
-
decimal: ".",
|
|
1310
|
-
group: ",",
|
|
1311
|
-
format: "$$###",
|
|
1312
|
-
currency: ""
|
|
1254
|
+
"am": {
|
|
1255
|
+
"decimal": ".",
|
|
1256
|
+
"group": ",",
|
|
1257
|
+
"format": "$$###",
|
|
1258
|
+
"currency": "AMD"
|
|
1259
|
+
},
|
|
1260
|
+
"ar": {
|
|
1261
|
+
"decimal": ".",
|
|
1262
|
+
"group": ",",
|
|
1263
|
+
"format": "$$ ###",
|
|
1264
|
+
"currency": "ARS"
|
|
1265
|
+
},
|
|
1266
|
+
"bg": {
|
|
1267
|
+
"decimal": ",",
|
|
1268
|
+
"group": " ",
|
|
1269
|
+
"format": "### $$",
|
|
1270
|
+
"currency": "BGN"
|
|
1271
|
+
},
|
|
1272
|
+
"bn": {
|
|
1273
|
+
"decimal": ".",
|
|
1274
|
+
"group": ",",
|
|
1275
|
+
"format": "###$$",
|
|
1276
|
+
"currency": "BND"
|
|
1277
|
+
},
|
|
1278
|
+
"ca": {
|
|
1279
|
+
"decimal": ",",
|
|
1280
|
+
"group": ".",
|
|
1281
|
+
"format": "### $$",
|
|
1282
|
+
"currency": "CAD"
|
|
1283
|
+
},
|
|
1284
|
+
"cs": {
|
|
1285
|
+
"decimal": ",",
|
|
1286
|
+
"group": " ",
|
|
1287
|
+
"format": "### $$",
|
|
1288
|
+
"currency": "EUR"
|
|
1289
|
+
},
|
|
1290
|
+
"da": {
|
|
1291
|
+
"decimal": ",",
|
|
1292
|
+
"group": ".",
|
|
1293
|
+
"format": "### $$",
|
|
1294
|
+
"currency": "DKK"
|
|
1295
|
+
},
|
|
1296
|
+
"de": {
|
|
1297
|
+
"decimal": ",",
|
|
1298
|
+
"group": ".",
|
|
1299
|
+
"format": "### $$",
|
|
1300
|
+
"currency": ""
|
|
1301
|
+
},
|
|
1302
|
+
"el": {
|
|
1303
|
+
"decimal": ",",
|
|
1304
|
+
"group": ".",
|
|
1305
|
+
"format": "### $$",
|
|
1306
|
+
"currency": ""
|
|
1307
|
+
},
|
|
1308
|
+
"en": {
|
|
1309
|
+
"decimal": ".",
|
|
1310
|
+
"group": ",",
|
|
1311
|
+
"format": "$$###",
|
|
1312
|
+
"currency": ""
|
|
1313
1313
|
},
|
|
1314
1314
|
"en-GB": {
|
|
1315
|
-
decimal: ".",
|
|
1316
|
-
group: ",",
|
|
1317
|
-
format: "$$###",
|
|
1318
|
-
currency: ""
|
|
1315
|
+
"decimal": ".",
|
|
1316
|
+
"group": ",",
|
|
1317
|
+
"format": "$$###",
|
|
1318
|
+
"currency": ""
|
|
1319
1319
|
},
|
|
1320
|
-
es: {
|
|
1321
|
-
decimal: ",",
|
|
1322
|
-
group: ".",
|
|
1323
|
-
format: "### $$",
|
|
1324
|
-
currency: ""
|
|
1320
|
+
"es": {
|
|
1321
|
+
"decimal": ",",
|
|
1322
|
+
"group": ".",
|
|
1323
|
+
"format": "### $$",
|
|
1324
|
+
"currency": ""
|
|
1325
1325
|
},
|
|
1326
1326
|
"es-419": {
|
|
1327
|
-
decimal: ".",
|
|
1328
|
-
group: ",",
|
|
1329
|
-
format: "$$###",
|
|
1330
|
-
currency: ""
|
|
1331
|
-
},
|
|
1332
|
-
et: {
|
|
1333
|
-
decimal: ",",
|
|
1334
|
-
group: " ",
|
|
1335
|
-
format: "### $$",
|
|
1336
|
-
currency: ""
|
|
1337
|
-
},
|
|
1338
|
-
fa: {
|
|
1339
|
-
decimal: ".",
|
|
1340
|
-
group: ",",
|
|
1341
|
-
format: "$$ ###",
|
|
1342
|
-
currency: ""
|
|
1343
|
-
},
|
|
1344
|
-
fi: {
|
|
1345
|
-
decimal: ",",
|
|
1346
|
-
group: " ",
|
|
1347
|
-
format: "### $$",
|
|
1348
|
-
currency: ""
|
|
1349
|
-
},
|
|
1350
|
-
fil: {
|
|
1351
|
-
decimal: ".",
|
|
1352
|
-
group: ",",
|
|
1353
|
-
format: "$$###",
|
|
1354
|
-
currency: ""
|
|
1355
|
-
},
|
|
1356
|
-
fr: {
|
|
1357
|
-
decimal: ",",
|
|
1358
|
-
group: " ",
|
|
1359
|
-
format: "### $$",
|
|
1360
|
-
currency: ""
|
|
1361
|
-
},
|
|
1362
|
-
he: {
|
|
1363
|
-
decimal: ".",
|
|
1364
|
-
group: ",",
|
|
1365
|
-
format: "### $$",
|
|
1366
|
-
currency: ""
|
|
1367
|
-
},
|
|
1368
|
-
hi: {
|
|
1369
|
-
decimal: ".",
|
|
1370
|
-
group: ",",
|
|
1371
|
-
format: "$$###",
|
|
1372
|
-
currency: ""
|
|
1373
|
-
},
|
|
1374
|
-
hr: {
|
|
1375
|
-
decimal: ",",
|
|
1376
|
-
group: ".",
|
|
1377
|
-
format: "### $$",
|
|
1378
|
-
currency: ""
|
|
1379
|
-
},
|
|
1380
|
-
gu: {
|
|
1381
|
-
decimal: ".",
|
|
1382
|
-
group: ",",
|
|
1383
|
-
format: "$$###",
|
|
1384
|
-
currency: ""
|
|
1385
|
-
},
|
|
1386
|
-
hu: {
|
|
1387
|
-
decimal: ",",
|
|
1388
|
-
group: " ",
|
|
1389
|
-
format: "### $$",
|
|
1390
|
-
currency: ""
|
|
1391
|
-
},
|
|
1392
|
-
id: {
|
|
1393
|
-
decimal: ",",
|
|
1394
|
-
group: ".",
|
|
1395
|
-
format: "$$###",
|
|
1396
|
-
currency: ""
|
|
1397
|
-
},
|
|
1398
|
-
it: {
|
|
1399
|
-
decimal: ",",
|
|
1400
|
-
group: ".",
|
|
1401
|
-
format: "### $$",
|
|
1402
|
-
currency: ""
|
|
1403
|
-
},
|
|
1404
|
-
ja: {
|
|
1405
|
-
decimal: ".",
|
|
1406
|
-
group: ",",
|
|
1407
|
-
format: "$$###",
|
|
1408
|
-
currency: ""
|
|
1409
|
-
},
|
|
1410
|
-
kn: {
|
|
1411
|
-
decimal: ".",
|
|
1412
|
-
group: ",",
|
|
1413
|
-
format: "$$###",
|
|
1414
|
-
currency: ""
|
|
1415
|
-
},
|
|
1416
|
-
ko: {
|
|
1417
|
-
decimal: ".",
|
|
1418
|
-
group: ",",
|
|
1419
|
-
format: "$$###",
|
|
1420
|
-
currency: ""
|
|
1421
|
-
},
|
|
1422
|
-
lv: {
|
|
1423
|
-
decimal: ",",
|
|
1424
|
-
group: " ",
|
|
1425
|
-
format: "### $$",
|
|
1426
|
-
currency: ""
|
|
1427
|
-
},
|
|
1428
|
-
lt: {
|
|
1429
|
-
decimal: ",",
|
|
1430
|
-
group: " ",
|
|
1431
|
-
format: "### $$",
|
|
1432
|
-
currency: ""
|
|
1433
|
-
},
|
|
1434
|
-
ml: {
|
|
1435
|
-
decimal: ".",
|
|
1436
|
-
group: ",",
|
|
1437
|
-
format: "$$###",
|
|
1438
|
-
currency: ""
|
|
1439
|
-
},
|
|
1440
|
-
mr: {
|
|
1441
|
-
decimal: ".",
|
|
1442
|
-
group: ",",
|
|
1443
|
-
format: "$$###",
|
|
1444
|
-
currency: ""
|
|
1445
|
-
},
|
|
1446
|
-
ms: {
|
|
1447
|
-
decimal: ".",
|
|
1448
|
-
group: ",",
|
|
1449
|
-
format: "$$###",
|
|
1450
|
-
currency: ""
|
|
1451
|
-
},
|
|
1452
|
-
nb: {
|
|
1453
|
-
decimal: ",",
|
|
1454
|
-
group: " ",
|
|
1455
|
-
format: "$$ ###",
|
|
1456
|
-
currency: ""
|
|
1457
|
-
},
|
|
1458
|
-
nl: {
|
|
1459
|
-
decimal: ",",
|
|
1460
|
-
group: ".",
|
|
1461
|
-
format: "$$ ###",
|
|
1462
|
-
currency: ""
|
|
1463
|
-
},
|
|
1464
|
-
pt: {
|
|
1465
|
-
decimal: ",",
|
|
1466
|
-
group: ".",
|
|
1467
|
-
format: "$$ ###",
|
|
1468
|
-
currency: ""
|
|
1469
|
-
},
|
|
1470
|
-
pl: {
|
|
1471
|
-
decimal: ",",
|
|
1472
|
-
group: " ",
|
|
1473
|
-
format: "### $$",
|
|
1474
|
-
currency: ""
|
|
1327
|
+
"decimal": ".",
|
|
1328
|
+
"group": ",",
|
|
1329
|
+
"format": "$$###",
|
|
1330
|
+
"currency": ""
|
|
1331
|
+
},
|
|
1332
|
+
"et": {
|
|
1333
|
+
"decimal": ",",
|
|
1334
|
+
"group": " ",
|
|
1335
|
+
"format": "### $$",
|
|
1336
|
+
"currency": ""
|
|
1337
|
+
},
|
|
1338
|
+
"fa": {
|
|
1339
|
+
"decimal": ".",
|
|
1340
|
+
"group": ",",
|
|
1341
|
+
"format": "$$ ###",
|
|
1342
|
+
"currency": ""
|
|
1343
|
+
},
|
|
1344
|
+
"fi": {
|
|
1345
|
+
"decimal": ",",
|
|
1346
|
+
"group": " ",
|
|
1347
|
+
"format": "### $$",
|
|
1348
|
+
"currency": ""
|
|
1349
|
+
},
|
|
1350
|
+
"fil": {
|
|
1351
|
+
"decimal": ".",
|
|
1352
|
+
"group": ",",
|
|
1353
|
+
"format": "$$###",
|
|
1354
|
+
"currency": ""
|
|
1355
|
+
},
|
|
1356
|
+
"fr": {
|
|
1357
|
+
"decimal": ",",
|
|
1358
|
+
"group": " ",
|
|
1359
|
+
"format": "### $$",
|
|
1360
|
+
"currency": ""
|
|
1361
|
+
},
|
|
1362
|
+
"he": {
|
|
1363
|
+
"decimal": ".",
|
|
1364
|
+
"group": ",",
|
|
1365
|
+
"format": "### $$",
|
|
1366
|
+
"currency": ""
|
|
1367
|
+
},
|
|
1368
|
+
"hi": {
|
|
1369
|
+
"decimal": ".",
|
|
1370
|
+
"group": ",",
|
|
1371
|
+
"format": "$$###",
|
|
1372
|
+
"currency": ""
|
|
1373
|
+
},
|
|
1374
|
+
"hr": {
|
|
1375
|
+
"decimal": ",",
|
|
1376
|
+
"group": ".",
|
|
1377
|
+
"format": "### $$",
|
|
1378
|
+
"currency": ""
|
|
1379
|
+
},
|
|
1380
|
+
"gu": {
|
|
1381
|
+
"decimal": ".",
|
|
1382
|
+
"group": ",",
|
|
1383
|
+
"format": "$$###",
|
|
1384
|
+
"currency": ""
|
|
1385
|
+
},
|
|
1386
|
+
"hu": {
|
|
1387
|
+
"decimal": ",",
|
|
1388
|
+
"group": " ",
|
|
1389
|
+
"format": "### $$",
|
|
1390
|
+
"currency": ""
|
|
1391
|
+
},
|
|
1392
|
+
"id": {
|
|
1393
|
+
"decimal": ",",
|
|
1394
|
+
"group": ".",
|
|
1395
|
+
"format": "$$###",
|
|
1396
|
+
"currency": ""
|
|
1397
|
+
},
|
|
1398
|
+
"it": {
|
|
1399
|
+
"decimal": ",",
|
|
1400
|
+
"group": ".",
|
|
1401
|
+
"format": "### $$",
|
|
1402
|
+
"currency": ""
|
|
1403
|
+
},
|
|
1404
|
+
"ja": {
|
|
1405
|
+
"decimal": ".",
|
|
1406
|
+
"group": ",",
|
|
1407
|
+
"format": "$$###",
|
|
1408
|
+
"currency": ""
|
|
1409
|
+
},
|
|
1410
|
+
"kn": {
|
|
1411
|
+
"decimal": ".",
|
|
1412
|
+
"group": ",",
|
|
1413
|
+
"format": "$$###",
|
|
1414
|
+
"currency": ""
|
|
1415
|
+
},
|
|
1416
|
+
"ko": {
|
|
1417
|
+
"decimal": ".",
|
|
1418
|
+
"group": ",",
|
|
1419
|
+
"format": "$$###",
|
|
1420
|
+
"currency": ""
|
|
1421
|
+
},
|
|
1422
|
+
"lv": {
|
|
1423
|
+
"decimal": ",",
|
|
1424
|
+
"group": " ",
|
|
1425
|
+
"format": "### $$",
|
|
1426
|
+
"currency": ""
|
|
1427
|
+
},
|
|
1428
|
+
"lt": {
|
|
1429
|
+
"decimal": ",",
|
|
1430
|
+
"group": " ",
|
|
1431
|
+
"format": "### $$",
|
|
1432
|
+
"currency": ""
|
|
1433
|
+
},
|
|
1434
|
+
"ml": {
|
|
1435
|
+
"decimal": ".",
|
|
1436
|
+
"group": ",",
|
|
1437
|
+
"format": "$$###",
|
|
1438
|
+
"currency": ""
|
|
1439
|
+
},
|
|
1440
|
+
"mr": {
|
|
1441
|
+
"decimal": ".",
|
|
1442
|
+
"group": ",",
|
|
1443
|
+
"format": "$$###",
|
|
1444
|
+
"currency": ""
|
|
1445
|
+
},
|
|
1446
|
+
"ms": {
|
|
1447
|
+
"decimal": ".",
|
|
1448
|
+
"group": ",",
|
|
1449
|
+
"format": "$$###",
|
|
1450
|
+
"currency": ""
|
|
1451
|
+
},
|
|
1452
|
+
"nb": {
|
|
1453
|
+
"decimal": ",",
|
|
1454
|
+
"group": " ",
|
|
1455
|
+
"format": "$$ ###",
|
|
1456
|
+
"currency": ""
|
|
1457
|
+
},
|
|
1458
|
+
"nl": {
|
|
1459
|
+
"decimal": ",",
|
|
1460
|
+
"group": ".",
|
|
1461
|
+
"format": "$$ ###",
|
|
1462
|
+
"currency": ""
|
|
1463
|
+
},
|
|
1464
|
+
"pt": {
|
|
1465
|
+
"decimal": ",",
|
|
1466
|
+
"group": ".",
|
|
1467
|
+
"format": "$$ ###",
|
|
1468
|
+
"currency": ""
|
|
1469
|
+
},
|
|
1470
|
+
"pl": {
|
|
1471
|
+
"decimal": ",",
|
|
1472
|
+
"group": " ",
|
|
1473
|
+
"format": "### $$",
|
|
1474
|
+
"currency": ""
|
|
1475
1475
|
},
|
|
1476
1476
|
"pt-PT": {
|
|
1477
|
-
decimal: ",",
|
|
1478
|
-
group: " ",
|
|
1479
|
-
format: "### $$",
|
|
1480
|
-
currency: ""
|
|
1481
|
-
},
|
|
1482
|
-
ro: {
|
|
1483
|
-
decimal: ",",
|
|
1484
|
-
group: ".",
|
|
1485
|
-
format: "### $$",
|
|
1486
|
-
currency: ""
|
|
1487
|
-
},
|
|
1488
|
-
ru: {
|
|
1489
|
-
decimal: ",",
|
|
1490
|
-
group: " ",
|
|
1491
|
-
format: "### $$",
|
|
1492
|
-
currency: ""
|
|
1493
|
-
},
|
|
1494
|
-
sk: {
|
|
1495
|
-
decimal: ",",
|
|
1496
|
-
group: " ",
|
|
1497
|
-
format: "### $$",
|
|
1498
|
-
currency: ""
|
|
1499
|
-
},
|
|
1500
|
-
sl: {
|
|
1501
|
-
decimal: ",",
|
|
1502
|
-
group: ".",
|
|
1503
|
-
format: "### $$",
|
|
1504
|
-
currency: ""
|
|
1505
|
-
},
|
|
1506
|
-
sr: {
|
|
1507
|
-
decimal: ",",
|
|
1508
|
-
group: ".",
|
|
1509
|
-
format: "### $$",
|
|
1510
|
-
currency: ""
|
|
1511
|
-
},
|
|
1512
|
-
sv: {
|
|
1513
|
-
decimal: ",",
|
|
1514
|
-
group: " ",
|
|
1515
|
-
format: "### $$",
|
|
1516
|
-
currency: ""
|
|
1517
|
-
},
|
|
1518
|
-
sw: {
|
|
1519
|
-
decimal: ".",
|
|
1520
|
-
group: ",",
|
|
1521
|
-
format: "$$###",
|
|
1522
|
-
currency: ""
|
|
1523
|
-
},
|
|
1524
|
-
ta: {
|
|
1525
|
-
decimal: ".",
|
|
1526
|
-
group: ",",
|
|
1527
|
-
format: "$$ ###",
|
|
1528
|
-
currency: ""
|
|
1529
|
-
},
|
|
1530
|
-
te: {
|
|
1531
|
-
decimal: ".",
|
|
1532
|
-
group: ",",
|
|
1533
|
-
format: "$$###",
|
|
1534
|
-
currency: ""
|
|
1535
|
-
},
|
|
1536
|
-
th: {
|
|
1537
|
-
decimal: ".",
|
|
1538
|
-
group: ",",
|
|
1539
|
-
format: "$$###",
|
|
1540
|
-
currency: ""
|
|
1541
|
-
},
|
|
1542
|
-
tr: {
|
|
1543
|
-
decimal: ",",
|
|
1544
|
-
group: ".",
|
|
1545
|
-
format: "$$###",
|
|
1546
|
-
currency: ""
|
|
1547
|
-
},
|
|
1548
|
-
uk: {
|
|
1549
|
-
decimal: ",",
|
|
1550
|
-
group: " ",
|
|
1551
|
-
format: "### $$",
|
|
1552
|
-
currency: ""
|
|
1553
|
-
},
|
|
1554
|
-
vi: {
|
|
1555
|
-
decimal: ",",
|
|
1556
|
-
group: ".",
|
|
1557
|
-
format: "### $$",
|
|
1558
|
-
currency: ""
|
|
1477
|
+
"decimal": ",",
|
|
1478
|
+
"group": " ",
|
|
1479
|
+
"format": "### $$",
|
|
1480
|
+
"currency": ""
|
|
1481
|
+
},
|
|
1482
|
+
"ro": {
|
|
1483
|
+
"decimal": ",",
|
|
1484
|
+
"group": ".",
|
|
1485
|
+
"format": "### $$",
|
|
1486
|
+
"currency": ""
|
|
1487
|
+
},
|
|
1488
|
+
"ru": {
|
|
1489
|
+
"decimal": ",",
|
|
1490
|
+
"group": " ",
|
|
1491
|
+
"format": "### $$",
|
|
1492
|
+
"currency": ""
|
|
1493
|
+
},
|
|
1494
|
+
"sk": {
|
|
1495
|
+
"decimal": ",",
|
|
1496
|
+
"group": " ",
|
|
1497
|
+
"format": "### $$",
|
|
1498
|
+
"currency": ""
|
|
1499
|
+
},
|
|
1500
|
+
"sl": {
|
|
1501
|
+
"decimal": ",",
|
|
1502
|
+
"group": ".",
|
|
1503
|
+
"format": "### $$",
|
|
1504
|
+
"currency": ""
|
|
1505
|
+
},
|
|
1506
|
+
"sr": {
|
|
1507
|
+
"decimal": ",",
|
|
1508
|
+
"group": ".",
|
|
1509
|
+
"format": "### $$",
|
|
1510
|
+
"currency": ""
|
|
1511
|
+
},
|
|
1512
|
+
"sv": {
|
|
1513
|
+
"decimal": ",",
|
|
1514
|
+
"group": " ",
|
|
1515
|
+
"format": "### $$",
|
|
1516
|
+
"currency": ""
|
|
1517
|
+
},
|
|
1518
|
+
"sw": {
|
|
1519
|
+
"decimal": ".",
|
|
1520
|
+
"group": ",",
|
|
1521
|
+
"format": "$$###",
|
|
1522
|
+
"currency": ""
|
|
1523
|
+
},
|
|
1524
|
+
"ta": {
|
|
1525
|
+
"decimal": ".",
|
|
1526
|
+
"group": ",",
|
|
1527
|
+
"format": "$$ ###",
|
|
1528
|
+
"currency": ""
|
|
1529
|
+
},
|
|
1530
|
+
"te": {
|
|
1531
|
+
"decimal": ".",
|
|
1532
|
+
"group": ",",
|
|
1533
|
+
"format": "$$###",
|
|
1534
|
+
"currency": ""
|
|
1535
|
+
},
|
|
1536
|
+
"th": {
|
|
1537
|
+
"decimal": ".",
|
|
1538
|
+
"group": ",",
|
|
1539
|
+
"format": "$$###",
|
|
1540
|
+
"currency": ""
|
|
1541
|
+
},
|
|
1542
|
+
"tr": {
|
|
1543
|
+
"decimal": ",",
|
|
1544
|
+
"group": ".",
|
|
1545
|
+
"format": "$$###",
|
|
1546
|
+
"currency": ""
|
|
1547
|
+
},
|
|
1548
|
+
"uk": {
|
|
1549
|
+
"decimal": ",",
|
|
1550
|
+
"group": " ",
|
|
1551
|
+
"format": "### $$",
|
|
1552
|
+
"currency": ""
|
|
1553
|
+
},
|
|
1554
|
+
"vi": {
|
|
1555
|
+
"decimal": ",",
|
|
1556
|
+
"group": ".",
|
|
1557
|
+
"format": "### $$",
|
|
1558
|
+
"currency": ""
|
|
1559
1559
|
},
|
|
1560
1560
|
"zh-Hans": {
|
|
1561
|
-
decimal: ".",
|
|
1562
|
-
group: ",",
|
|
1563
|
-
format: "$$###",
|
|
1564
|
-
currency: ""
|
|
1561
|
+
"decimal": ".",
|
|
1562
|
+
"group": ",",
|
|
1563
|
+
"format": "$$###",
|
|
1564
|
+
"currency": ""
|
|
1565
1565
|
},
|
|
1566
|
-
zh: {
|
|
1567
|
-
decimal: ".",
|
|
1568
|
-
group: ",",
|
|
1569
|
-
format: "$$###",
|
|
1570
|
-
currency: ""
|
|
1566
|
+
"zh": {
|
|
1567
|
+
"decimal": ".",
|
|
1568
|
+
"group": ",",
|
|
1569
|
+
"format": "$$###",
|
|
1570
|
+
"currency": ""
|
|
1571
1571
|
},
|
|
1572
1572
|
"zh-Hant": {
|
|
1573
|
-
decimal: ".",
|
|
1574
|
-
group: ",",
|
|
1575
|
-
format: "$$###",
|
|
1576
|
-
currency: ""
|
|
1577
|
-
},
|
|
1578
|
-
c_1: {
|
|
1579
|
-
decimal: ".",
|
|
1580
|
-
group: ",",
|
|
1581
|
-
format: "$$###",
|
|
1582
|
-
currency: ""
|
|
1583
|
-
},
|
|
1584
|
-
c_2: {
|
|
1585
|
-
decimal: ".",
|
|
1586
|
-
group: ",",
|
|
1587
|
-
format: "$$ ###",
|
|
1588
|
-
currency: ""
|
|
1589
|
-
},
|
|
1590
|
-
c_3: {
|
|
1591
|
-
decimal: ",",
|
|
1592
|
-
group: ".",
|
|
1593
|
-
format: "### $$",
|
|
1594
|
-
currency: ""
|
|
1595
|
-
},
|
|
1596
|
-
c_4: {
|
|
1597
|
-
decimal: ",",
|
|
1598
|
-
group: " ",
|
|
1599
|
-
format: "### $$",
|
|
1600
|
-
currency: ""
|
|
1573
|
+
"decimal": ".",
|
|
1574
|
+
"group": ",",
|
|
1575
|
+
"format": "$$###",
|
|
1576
|
+
"currency": ""
|
|
1577
|
+
},
|
|
1578
|
+
"c_1": {
|
|
1579
|
+
"decimal": ".",
|
|
1580
|
+
"group": ",",
|
|
1581
|
+
"format": "$$###",
|
|
1582
|
+
"currency": ""
|
|
1583
|
+
},
|
|
1584
|
+
"c_2": {
|
|
1585
|
+
"decimal": ".",
|
|
1586
|
+
"group": ",",
|
|
1587
|
+
"format": "$$ ###",
|
|
1588
|
+
"currency": ""
|
|
1589
|
+
},
|
|
1590
|
+
"c_3": {
|
|
1591
|
+
"decimal": ",",
|
|
1592
|
+
"group": ".",
|
|
1593
|
+
"format": "### $$",
|
|
1594
|
+
"currency": ""
|
|
1595
|
+
},
|
|
1596
|
+
"c_4": {
|
|
1597
|
+
"decimal": ",",
|
|
1598
|
+
"group": " ",
|
|
1599
|
+
"format": "### $$",
|
|
1600
|
+
"currency": ""
|
|
1601
1601
|
}
|
|
1602
1602
|
};
|
|
1603
1603
|
|
|
@@ -2041,13 +2041,11 @@ var defaultLang = {
|
|
|
2041
2041
|
};
|
|
2042
2042
|
|
|
2043
2043
|
var invoiceHtmlWithDetails = (function (_ref) {
|
|
2044
|
-
var _customer$address, _customer$address2, _customer$address3, _customer$shippingAdd, _customer$shippingAdd2, _customer$shippingAdd3;
|
|
2045
|
-
|
|
2046
2044
|
var invoice = _ref.invoice,
|
|
2047
2045
|
_ref$lang = _ref.lang,
|
|
2048
2046
|
lang = _ref$lang === void 0 ? defaultLang : _ref$lang,
|
|
2049
2047
|
_ref$companyLogoBase = _ref.companyLogoBase,
|
|
2050
|
-
companyLogoBase = _ref$companyLogoBase === void 0 ?
|
|
2048
|
+
companyLogoBase = _ref$companyLogoBase === void 0 ? 'https://s3.amazonaws.com/bookipi/' : _ref$companyLogoBase,
|
|
2051
2049
|
_ref$isDeposit = _ref.isDeposit,
|
|
2052
2050
|
isDeposit = _ref$isDeposit === void 0 ? false : _ref$isDeposit,
|
|
2053
2051
|
_ref$isOffline = _ref.isOffline,
|
|
@@ -2056,8 +2054,8 @@ var invoiceHtmlWithDetails = (function (_ref) {
|
|
|
2056
2054
|
isFromReactnative = _ref$isFromReactnativ === void 0 ? false : _ref$isFromReactnativ,
|
|
2057
2055
|
_ref$removeHtmlStanda = _ref.removeHtmlStandardDom,
|
|
2058
2056
|
removeHtmlStandardDom = _ref$removeHtmlStanda === void 0 ? false : _ref$removeHtmlStanda;
|
|
2059
|
-
var company = invoice.company
|
|
2060
|
-
var document = invoice.document
|
|
2057
|
+
var company = invoice.company;
|
|
2058
|
+
var document = invoice.document;
|
|
2061
2059
|
var logoBase64 = invoice.logoBase64;
|
|
2062
2060
|
var attachments = invoice.attachments || [];
|
|
2063
2061
|
var customerSignBase64 = invoice.customerSignBase64;
|
|
@@ -2069,11 +2067,11 @@ var invoiceHtmlWithDetails = (function (_ref) {
|
|
|
2069
2067
|
documentName = company.doc[document.ty].n;
|
|
2070
2068
|
} else {
|
|
2071
2069
|
if (document.ty === 1) {
|
|
2072
|
-
documentName = company.r_inv ? company.r_inv : lang[
|
|
2070
|
+
documentName = company.r_inv ? company.r_inv : lang['document'];
|
|
2073
2071
|
} else if (document.ty === 2) {
|
|
2074
|
-
documentName = company.r_crd ? company.r_crd : lang[
|
|
2072
|
+
documentName = company.r_crd ? company.r_crd : lang['creditnote'];
|
|
2075
2073
|
} else {
|
|
2076
|
-
documentName = company.r_est ? company.r_est : lang[
|
|
2074
|
+
documentName = company.r_est ? company.r_est : lang['Estimate'];
|
|
2077
2075
|
}
|
|
2078
2076
|
}
|
|
2079
2077
|
|
|
@@ -2094,7 +2092,7 @@ var invoiceHtmlWithDetails = (function (_ref) {
|
|
|
2094
2092
|
d = d.tz(timeZone);
|
|
2095
2093
|
}
|
|
2096
2094
|
|
|
2097
|
-
return d.format(company.df === 0 ?
|
|
2095
|
+
return d.format(company.df === 0 ? 'D MMM YYYY' : company.df === 1 ? 'DD/MM/YYYY' : company.df === 3 ? 'MM/D/YYYY' : company.df === 4 ? 'YYYY/MM/DD' : 'MMM D, YYYY');
|
|
2098
2096
|
};
|
|
2099
2097
|
|
|
2100
2098
|
var companyAddress = {
|
|
@@ -2107,16 +2105,8 @@ var invoiceHtmlWithDetails = (function (_ref) {
|
|
|
2107
2105
|
country: company && company.address && company.address.country || null
|
|
2108
2106
|
};
|
|
2109
2107
|
var customer = document.cu;
|
|
2110
|
-
var customerAddress = customer
|
|
2111
|
-
|
|
2112
|
-
address2: ((_customer$address2 = customer.address) === null || _customer$address2 === void 0 ? void 0 : _customer$address2.address2) || customer.a2,
|
|
2113
|
-
address3: ((_customer$address3 = customer.address) === null || _customer$address3 === void 0 ? void 0 : _customer$address3.address3) || customer.a3
|
|
2114
|
-
}) : {};
|
|
2115
|
-
var customerShippingAddress = customer ? _extends({}, customer.shippingAddress, {
|
|
2116
|
-
address1: ((_customer$shippingAdd = customer.shippingAddress) === null || _customer$shippingAdd === void 0 ? void 0 : _customer$shippingAdd.address1) || customer.sa1,
|
|
2117
|
-
address2: ((_customer$shippingAdd2 = customer.shippingAddress) === null || _customer$shippingAdd2 === void 0 ? void 0 : _customer$shippingAdd2.address2) || customer.sa2,
|
|
2118
|
-
address3: ((_customer$shippingAdd3 = customer.shippingAddress) === null || _customer$shippingAdd3 === void 0 ? void 0 : _customer$shippingAdd3.address3) || customer.sa3
|
|
2119
|
-
}) : {};
|
|
2108
|
+
var customerAddress = customer.address || {};
|
|
2109
|
+
var customerShippingAddress = customer.shippingAddress || {};
|
|
2120
2110
|
var shippingAddressExists = customerShippingAddress.address1 || customerShippingAddress.address2 || customerShippingAddress.address3 || customerShippingAddress.city || customerShippingAddress.state || customerShippingAddress.zip || document.asi;
|
|
2121
2111
|
var taxPercent1 = document.tp ? parseFloat(document.tp) : 0;
|
|
2122
2112
|
var taxPercent2 = document.tp2 ? parseFloat(document.tp2) : 0;
|
|
@@ -2158,12 +2148,12 @@ var invoiceHtmlWithDetails = (function (_ref) {
|
|
|
2158
2148
|
}
|
|
2159
2149
|
}
|
|
2160
2150
|
|
|
2161
|
-
var itemsContainer =
|
|
2151
|
+
var itemsContainer = '';
|
|
2162
2152
|
|
|
2163
2153
|
if (document.it) {
|
|
2164
2154
|
for (var _iterator2 = _createForOfIteratorHelperLoose(document.it), _step2; !(_step2 = _iterator2()).done;) {
|
|
2165
2155
|
var _item = _step2.value;
|
|
2166
|
-
itemsContainer = itemsContainer + ("<tr>\n <td>\n <span class=\"text-inverse\"><strong>" + (_item.n || "") + "</strong></span>\n <div>" + (nl2br(_item.dsc) || "") + "</div>\n </td>\n <td class=\"text-center\">" + ((_item.p || _item.p == 0) && (_item.q || _item.q == 0) ? _item.q : "") + "</td>\n <td class=\"text-right\">\n " + (_item.p || _item.p == 0 ? FormatCurrency(_item.p, company.cr, company.la, company.cf) : "") + "\n </td>\n" + (discountOnItem ? "<td class=\"text-right\">" + ((_item.p || _item.p == 0) && _item.dc ? FormatCurrency(_item.dc, company.cr, company.la, company.cf) : "") + "</td>" :
|
|
2156
|
+
itemsContainer = itemsContainer + ("<tr>\n <td>\n <span class=\"text-inverse\"><strong>" + (_item.n || "") + "</strong></span>\n <div>" + (nl2br(_item.dsc) || "") + "</div>\n <div class=\"d-block d-sm-none mt-1\">\n " + ((_item.p || _item.p == 0) && (_item.q || _item.q == 0) ? FormatCurrency(_item.p, company.cr, company.la, company.cf) + " \u2715 " + _item.q : '') + "\n " + (discountOnItem && (_item.p || _item.p == 0) && _item.dc ? (_item.dc > 0 ? " - " : " + ") + FormatCurrency(Math.abs(_item.dc), company.cr, company.la, company.cf) : "") + "\n </div>\n </td>\n <td class=\"text-center\">" + ((_item.p || _item.p == 0) && (_item.q || _item.q == 0) ? _item.q : "") + "</td>\n <td class=\"text-right\">\n " + (_item.p || _item.p == 0 ? FormatCurrency(_item.p, company.cr, company.la, company.cf) : "") + "\n </td>\n" + (discountOnItem ? "<td class=\"text-right\">" + ((_item.p || _item.p == 0) && _item.dc ? FormatCurrency(_item.dc, company.cr, company.la, company.cf) : "") + "</td>" : '') + "\n<td class=\"text-right\">" + (_item.p || _item.p == 0 ? FormatCurrency(_item.t, company.cr, company.la, company.cf) : "") + "</td>\n</tr>");
|
|
2167
2157
|
}
|
|
2168
2158
|
}
|
|
2169
2159
|
|
|
@@ -2173,48 +2163,48 @@ var invoiceHtmlWithDetails = (function (_ref) {
|
|
|
2173
2163
|
var taxIncluded2;
|
|
2174
2164
|
|
|
2175
2165
|
if (document.tx != 0) {
|
|
2176
|
-
taxName1 = document.tn ? document.tn :
|
|
2177
|
-
taxIncluded1 = document.ti ?
|
|
2166
|
+
taxName1 = document.tn ? document.tn : 'Tax';
|
|
2167
|
+
taxIncluded1 = document.ti ? ' ' + (company.r_ic ? company.r_ic : lang["included"]) : ' ';
|
|
2178
2168
|
}
|
|
2179
2169
|
|
|
2180
2170
|
if (document.ttx && document.tx2 != 0) {
|
|
2181
|
-
taxName2 = document.tn2 ? document.tn2 :
|
|
2182
|
-
taxIncluded2 = document.ti ?
|
|
2171
|
+
taxName2 = document.tn2 ? document.tn2 : 'Tax 2';
|
|
2172
|
+
taxIncluded2 = document.ti ? ' ' + (company.r_ic ? company.r_ic : lang["included"]) : ' ';
|
|
2183
2173
|
}
|
|
2184
2174
|
|
|
2185
2175
|
function payment_on(date, brand, endNumber) {
|
|
2186
2176
|
if (brand && endNumber) {
|
|
2187
|
-
return
|
|
2177
|
+
return 'Paid on ' + date + ' using ' + brand + ' ending in ' + endNumber;
|
|
2188
2178
|
} else if (brand && !endNumber) {
|
|
2189
|
-
return
|
|
2179
|
+
return 'Paid on ' + date + ' using ' + brand;
|
|
2190
2180
|
} else {
|
|
2191
|
-
return
|
|
2181
|
+
return 'Paid on ' + date;
|
|
2192
2182
|
}
|
|
2193
2183
|
}
|
|
2194
2184
|
|
|
2195
|
-
var paymentContainer =
|
|
2185
|
+
var paymentContainer = '';
|
|
2196
2186
|
|
|
2197
2187
|
if (document.pm) {
|
|
2198
2188
|
for (var _iterator3 = _createForOfIteratorHelperLoose(document.pm), _step3; !(_step3 = _iterator3()).done;) {
|
|
2199
2189
|
var payment = _step3.value;
|
|
2200
|
-
paymentContainer = paymentContainer + ("<tr>\n <td></td>\n <td class=\"text-right\" width=\"25%\">" + (lang.payment_on ? lang.payment_on(formatDate(payment.d), payment.b) : payment_on(formatDate(payment.d), payment.b)) + "</td>\n <td class=\"text-right\" width=\"25%\">" + FormatCurrency(payment.a, company.cr, company.la, company.cf) + "</td>\n </tr>");
|
|
2190
|
+
paymentContainer = paymentContainer + ("<tr>\n <td class=\"d-sm-table-cell\"></td>\n <td class=\"text-right\" width=\"25%\">" + (lang.payment_on ? lang.payment_on(formatDate(payment.d), payment.b) : payment_on(formatDate(payment.d), payment.b)) + "</td>\n <td class=\"text-right\" width=\"25%\">" + FormatCurrency(payment.a, company.cr, company.la, company.cf) + "</td>\n </tr>");
|
|
2201
2191
|
}
|
|
2202
2192
|
}
|
|
2203
2193
|
|
|
2204
2194
|
var paymentOn = company.pi && document.ty === 1 && (company.p1 || company.p2 || company.p3);
|
|
2205
|
-
var attachmentContainer =
|
|
2195
|
+
var attachmentContainer = '';
|
|
2206
2196
|
|
|
2207
2197
|
if (attachments) {
|
|
2208
2198
|
for (var i = 0; i < attachments.length; i++) {
|
|
2209
|
-
attachmentContainer = attachmentContainer + ("<div class=\"mt-5\">\n <img src=\"" + (attachments[i].imageBase64 || attachments[i].imageUrl) + "\" style=\"max-width:100%\"/>\n <div><strong>" + (attachments[i].text || attachments[i].t ||
|
|
2199
|
+
attachmentContainer = attachmentContainer + ("<div class=\"mt-5\">\n <img src=\"" + (attachments[i].imageBase64 || attachments[i].imageUrl) + "\" style=\"max-width:100%\"/>\n <div><strong>" + (attachments[i].text || attachments[i].t || '') + "</strong></div>\n <div>" + (attachments[i].description || attachments[i].d || '') + "</div>\n </div>");
|
|
2210
2200
|
}
|
|
2211
2201
|
}
|
|
2212
2202
|
|
|
2213
|
-
var signatureContainer = document.sd
|
|
2214
|
-
var clientSignature = document.cs || customerSignBase64
|
|
2203
|
+
var signatureContainer = document.sd && "\n <div class=\"col-6\" style=\"text-align: center\">\n <strong>" + (document.cs || customerSignBase64 ? company.c : "") + "</strong>\n <div style=\"height:100px;border-bottom:2px solid #dee2e6; margin-right:40px; margin-left:40px\">\n " + (signatureBase64 && "<img src=\"" + signatureBase64 + "\" style=\"width:220px;margin-top:20px;\" />" || "") + "\n </div>\n <div style=\"font-size:16px\">" + (document.sd ? formatDate(document.sd) : "") + "</div>\n </div>" || "";
|
|
2204
|
+
var clientSignature = (document.cs || customerSignBase64) && "\n <div class=\"col-6\" style=\"text-align: center\">\n <strong>" + document.cu.c + "</strong>\n <div style=\"height:100px;border-bottom:2px solid #dee2e6; margin-right:40px; margin-left:40px\">\n " + (customerSignBase64 && "<img src=\"" + customerSignBase64 + "\" style=\"width:220px;margin-top:20px;\" />" || "") + "\n </div>\n <div style=\"font-size:16px\">" + (customerSignBase64 ? formatDate(new Date()) : "(   /  /  )") + "</div>\n </div>" || "";
|
|
2215
2205
|
var numOfRowsPaymentInstruction = (1 + (document.dc ? 1 : 0) + (document.sp && !document.sntx ? 1 : 0) + (document.tx != 0 ? 1 : 0) + (document.ttx && document.tx2 != 0 ? 1 : 0) + (document.sp && document.sntx ? 1 : 0) + (document.ti ? 1 : 0) + (document.ty == 1 || document.ty !== 1 && (document.t1d || document.ttx && document.tx2 > 0 && document.t2d) ? 1 : 0) + (document.sca ? 1 : 0)).toString();
|
|
2216
|
-
var paymentInstructionDetails = "\n " + (paymentOn ? "<h2 style=\"margin-top: 0; font-size: 18px; font-weight: 700;\">" + (company.r_pi ? company.r_pi : lang[
|
|
2217
|
-
var html = (!removeHtmlStandardDom ? '<!DOCTYPE html>\n<html>\n <head>\n <meta charset="utf-8">\n <title>Invoice</title>' : "") + "\n " + (isOffline ? "<style>" + bootstrapCss + "</style><style>" + fontawesomeCss + "</style>" : " <link rel=\"stylesheet\" href=\"https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css\" integrity=\"sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh\" crossorigin=\"anonymous\">\n <link href=\"https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css\" rel=\"stylesheet\">") + "\n " + (!removeHtmlStandardDom ? "</head>" : "") + "\n <style>\n * {\n -webkit-print-color-adjust: exact !important;\n color-adjust: exact !important;\n }\n html {\n min-width: 800px;\n }\n body {\n font-size: 18px;removeHtmlStandardDom\n -webkit-hyphens: auto;\n -ms-hyphens: auto;\n hyphens: auto;\n word-break: break-word;\n }\n .invoice-body {\n background: #fff;\n padding: 25px 50px;\n }\n\n .invoice-company {\n font-size: 20px\n }\n\n .invoice-header {\n /* margin: 0 -50px; */\n background: #f0f3f4;\n padding: 25px 50px;\n }\n .invoice-content {\n padding: 20px 38px 10px;\n }\n .invoice-date,\n .invoice-from,\n .invoice-to {\n /* display: table-cell; */\n /* width: 1% */\n }\n\n .table td, .table th {\n padding: .50rem .75rem;\n }\n\n .invoice-from,\n .invoice-to {\n padding-right: 20px\n }\n\n .invoice-date .date,\n .invoice-from strong,\n .invoice-to strong {\n font-size: 18px;\n font-weight: 600\n }\n\n .invoice-date {\n /* text-align: right; */\n padding-left: 20px\n }\n\n .invoice-price {\n /* background: #f0f3f4; */\n display: table;\n width: 100%\n }\n\n .invoice-price .invoice-price-left,\n .invoice-price .invoice-price-right {\n display: table-cell;\n padding: 28px 12px 16px;\n font-size: 20px;\n font-weight: 600;\n width: 70%;\n position: relative;\n vertical-align: middle\n }\n\n .invoice-price .invoice-price-left .sub-price {\n display: table-cell;\n vertical-align: middle;\n padding: 0 20px\n }\n\n .invoice-price small {\n font-size: 18px;\n font-weight: 400;\n display: block\n }\n\n .invoice-price .invoice-price-row {\n display: table;\n float: left\n }\n\n .invoice-price .invoice-price-right {\n width: 30%;\n background: #5B717D;\n color: #fff;\n font-size: 28px;\n text-align: right;\n vertical-align: bottom;\n font-weight: 300;\n right: 38px;\n }\n\n .invoice-price .invoice-price-right small {\n display: block;\n opacity: .7;\n position: absolute;\n top: 10px;\n left: 12px;\n font-size: 18px\n }\n\n .invoice-footer {\n border-top: 1px solid #ddd;\n padding-top: 10px;\n font-size: 18px\n }\n\n .invoice-note {\n color: #999;\n margin-top: 80px;\n font-size: 85%\n }\n\n .invoice-body > div:not(.invoice-footer) {\n margin-bottom: 20px\n }\n\n .btn.btn-white, .btn.btn-white.disabled, .btn.btn-white.disabled:focus, .btn.btn-white.disabled:hover, .btn.btn-white[disabled], .btn.btn-white[disabled]:focus, .btn.btn-white[disabled]:hover {\n color: #2d353c;\n background: #fff;\n border-color: #d9dfe3;\n }\n .table-inline-block{\n display: inline-block;\n }\n\n @media print {\n @page {\n size: A4;\n margin: 0 0.66cm 0 0.66cm;\n }\n body, page, html {\n /*width: 21cm; */\n /*margin: 0; */\n width: 100%;\n box-shadow: 0;\n background-color: #fff;\n display: block;\n }\n .print {\n max-width:100%\n margin: 0 auto 0 auto;\n }\n /* .invoice-body {\n padding:10;\n } */\n #invoice {\n " + (isFromReactnative ? "zoom: 0.8; max-width:calc(38cm - 1.32cm);margin: 0 auto 0 auto;" : "") + "\n }\n\n .invoice-price .invoice-price-right {\n background: #f0f3f4;\n color: black;\n border: 2px solid #f0f3f4;\n }\n \n .col-sm {\n -ms-flex-preferred-size: 0;\n flex-basis: 0;\n -ms-flex-positive: 1;\n flex-grow: 1;\n max-width: 100%;\n }\n \n .col-sm-6 {\n -ms-flex: 0 0 50%;\n flex: 0 0 50%;\n max-width: 50%;\n }\n }\n \n .text-left{\n text-align: left;\n }\n .text-center{\n text-align: center;\n } \n .text-right{\n text-align: right;\n }\n\n @media only screen {\n #invoice {\n margin-top:10px;\n max-width:28cm;\n zoom: 0.8;\n box-shadow: 0 0 0.5cm rgba(0,0,0,0.2);\n margin-right:auto;margin-left:auto;\n background: white;\n }\n }\n\n @media (min-width: 767.99px) {\n .invoice-detail-right {\n max-width: 200px;\n }\n }\n @media (max-width: 767.98px) {\n .invoice-body {\n padding: 30px\n }\n .invoice-header {\n padding: 20px 30px;\n }\n .invoice-content {\n padding: 18px;\n }\n .invoice-price .invoice-price-right {\n right: 18px;\n }\n #invoice-logo {\n max-width: 100%;\n display: block;\n }\n .invoice-date {\n margin-top:10px;\n /*border-top: 1px solid #dee2e6;*/\n }\n }\n\n .table-small td{\n padding: 8px 12px\n }\n .table-invoice-header{\n background: #f0f3f4\n }\n h1,h2,h3,h4 {margin-top:15px}\n h1 {font-size:27px}\n h2 {font-size:22px}\n </style>\n " + (!removeHtmlStandardDom ? "<body>" : "") + "\n <div id=\"invoice\" class=\"print\">\n <div class=\"invoice-body\">\n <!-- begin invoice-company -->\n <div class=\"row\">\n <div class=\"col\" style=\"padding-top:10px\">\n " + logoContainer + "\n </div>\n <div class=\"col text-right\">\n <h1>" + documentName + "</h1>\n <div class=\"text-inverse mb-1\" style=\"font-size: 20px;\">\n <strong>" + company.c + "</strong>\n </div>\n <address class=\"m-t-5 m-b-5\">\n <div class=\"mb-2\">\n " + (companyAddress.address1 ? "<div>" + companyAddress.address1 + "</div>" : "") + "\n " + (companyAddress.address2 ? "<div>" + companyAddress.address2 + "</div>" : "") + "\n " + (companyAddress.address3 ? "<div>" + companyAddress.address3 + "</div>" : "") + "\n " + (companyAddress.city || companyAddress.state || companyAddress.zip ? "<div>" + ((companyAddress.city ? companyAddress.city + " " : "") + (companyAddress.state ? companyAddress.state + " " : "") + (companyAddress.zip ? companyAddress.zip + " " : "")) + "</div>" : "") + "\n " + (companyAddress.country ? "<div>" + companyAddress.country + "</div>" : "") + "\n </div>\n " + (company.ai ? "<div>" + company.ai + "</div>" : "") + "\n " + (company.ph ? "<div>" + company.ph + "</div>" : "") + "\n " + (company.de ? "<div>" + company.de + "</div>" : "") + "\n " + (company.tfn ? "<div>" + ((company.bn ? company.bn : "Tax no.") + " : " + company.tfn) + "</div>" : "") + "\n </address>\n </div>\n </div>\n </div>\n <!-- end invoice-company -->\n <!-- begin invoice-header -->\n <div class=\"invoice-header\">\n <div class=\"row\">\n <div class=\"invoice-to col-6\">\n <strong>" + (company.r_bt ? company.r_bt : lang["bill_to"]) + "</strong>\n <div class=\"text-inverse mb-1\">\n <small style=\"font-size: 18px;\">" + (customer ? customer.c : '') + "</small>\n </div>\n <address class=\"m-t-5 m-b-5\">\n " + (customerAddress.address1 ? "<div>" + customerAddress.address1 + "</div>" : "") + "\n " + (customerAddress.address2 ? "<div>" + customerAddress.address2 + "</div>" : "") + "\n " + (customerAddress.address3 ? "<div>" + customerAddress.address3 + "</div>" : "") + "\n " + (customerAddress.city || customerAddress.state || customerAddress.zip ? "<div>" + ((customerAddress.city ? customerAddress.city + " " : "") + (customerAddress.state ? customerAddress.state + " " : "") + (customerAddress.zip ? customerAddress.zip + " " : "")) + "</div>" : "") + "\n " + (customerAddress.country ? "<div>" + customerAddress.country + "</div>" : "") + "\n " + (customer && customer.tfn ? "<div>" + (customer.tfn ? (company.bn || "Tax no.") + " : " + customer.tfn : "") + "</div>" : "") + "\n " + (customer && customer.ph ? "<div>" + customer.ph + "</div>" : "") + "\n </address>\n\n " + (shippingAddressExists ? "<strong stryle=\"margin-top:10px\">" + (company.r_st ? company.r_st : lang.ship_to) + "</strong>" : "") + "\n " + (shippingAddressExists ? "\n <address class=\"m-t-5 m-b-5\">\n " + (customerShippingAddress.address1 ? "<div>" + customerShippingAddress.address1 + "</div>" : "") + "\n " + (customerShippingAddress.address2 ? "<div>" + customerShippingAddress.address2 + "</div>" : "") + "\n " + (customerShippingAddress.address3 ? "<div>" + customerShippingAddress.address3 + "</div>" : "") + "\n " + (customerShippingAddress.city || customerShippingAddress.state || customerShippingAddress.zip ? "<div>" + ((customerShippingAddress.city ? customerShippingAddress.city + " " : "") + (customerShippingAddress.state ? customerShippingAddress.state + " " : "") + (customerShippingAddress.zip ? customerShippingAddress.zip + " " : "")) + "</div>" : "") + "\n " + (customerShippingAddress.country ? "<div>" + customerShippingAddress.country + "</div>" : "") + "\n " + (document.asi ? "<div>" + document.asi + "</div>" : "") + "\n </address>\n " : "") + "\n </div>\n\n <div class=\"invoice-date col-6\">\n <div class=\"row text-right\">\n <div class=\"col\">\n <strong>" + documentName + " #</strong>\n </div>\n <div class=\"col invoice-detail-right\">" + (document.no ? document.no : "") + "</div>\n </div>\n <div class=\"row text-right\">\n <div class=\"col\">\n <strong>" + (company.r_d ? company.r_d : lang["date"]) + "</strong>\n </div>\n <div class=\"col invoice-detail-right\">" + formatDate(document.d) + "</div>\n </div>\n " + (document.ty == 1 && !document.rd ? "<div class=\"row text-right\">\n <div class=\"col\">\n <strong>" + (company.r_dd ? company.r_dd : lang["due_date"]) + "</strong>\n </div>\n <div class=\"col invoice-detail-right\">\n " + (document.dd ? formatDate(document.dd) : formatDate(new Date(document.d).setDate(new Date(document.d).getDate() + parseInt(document.di)))) + "\n </div>\n </div>" : "") + "\n " + (document.pon ? "<div class=\"row text-right\">\n <div class=\"col\">\n <strong>" + (company.r_po ? company.r_po : lang["po_number"]) + "</strong>\n </div>\n <div class=\"col invoice-detail-right\">" + document.pon + "</div>\n </div>\n " : "") + "\n </div>\n </div>\n </div>\n <!-- end invoice-header -->\n <!-- begin invoice-content -->\n <div class=\"invoice-content\">\n <div class=\"table-responsive\">\n <table class=\"table table-invoice\">\n <thead>\n <tr class=\"table table-invoice\">\n <th class=\"text-left\">" + (company.r_it ? company.r_it : lang["item"]) + "</th>\n <th class=\"text-center\" width=\"15%\">" + (document.um ? document.um : company.r_q ? company.r_q : lang["quantity"]) + "</th>\n <th class=\"text-right\" width=\"15%\">" + (company.r_p ? company.r_p : lang["price"]) + "</th>\n " + (discountOnItem ? "<th class=\"text-right\" width=\"15%\">" + (company.r_dc ? company.r_dc : lang["discount"]) + "</th>" : "") + "\n <th class=\"text-right\" width=\"15%\">" + (company.r_a ? company.r_a : lang["amount"]) + "</th>\n </tr>\n </thead>\n <tbody>\n " + itemsContainer + "\n </tbody>\n </table>\n </div>\n \n <hr />\n <div class=\"row\">\n <div class=\"col-12\">\n <table class=\"table table-borderless table-small\">\n <tbody>\n <tr>\n <td class=\"d-table-cell\" rowspan=\"" + numOfRowsPaymentInstruction + "\">\n " + (paymentOn ? paymentInstructionDetails : "") + "\n </td>\n <td class=\"text-right\" width=\"25%\">" + (company.r_sb ? company.r_sb : lang["subtotal"]) + "</td>\n <td class=\"text-right\" width=\"25%\">" + FormatCurrency(document.st, company.cr, company.la, company.cf) + "</td>\n </tr>\n " + (document.dc ? "<tr>\n <td class=\"text-right\" width=\"25%\">" + ((company.r_dc ? company.r_dc : lang["discount"]) + (document.dcpo && document.dcp ? " (" + document.dcp + "%)" : "")) + "</td>\n <td class=\"text-right\" width=\"25%\">" + ("(" + FormatCurrency(document.dc, company.cr, company.la, company.cf) + ")") + "</td>\n </tr>" : "") + "\n " + (document.sp && !document.sntx ? "<tr>\n <td class=\"text-right\" width=\"25%\">" + (company.r_sp ? company.r_sp : lang["shipping"]) + "</td>\n <td class=\"text-right\" width=\"25%\">" + FormatCurrency(document.sp, company.cr, company.la, company.cf) + "</td>\n </tr>" : "") + "\n " + (document.tx != 0 ? "<tr>\n <td class=\"text-right\" width=\"25%\">" + (taxName1 + taxIncluded1 + "(" + document.tp + "%)") + "</td>\n <td class=\"text-right\" width=\"25%\">" + ((document.t1d ? "(" : "") + FormatCurrency(document.tx, company.cr, company.la, company.cf) + (document.t1d ? ")" : "")) + "</td>\n </tr>" : "") + "\n " + (document.ttx && document.tx2 != 0 ? "<tr>\n <td class=\"text-right\" width=\"25%\">" + (taxName2 + taxIncluded2 + "(" + document.tp2 + "%)") + "</td>\n <td class=\"text-right\" width=\"25%\">" + ((document.t2d ? "(" : "") + FormatCurrency(document.tx2, company.cr, company.la, company.cf) + (document.t2d ? ")" : "")) + "</td>\n </tr>" : "") + "\n " + (document.sp && document.sntx ? "<tr>\n <td class=\"text-right\" width=\"25%\">" + (company.r_sp ? company.r_sp : lang["shipping"]) + "</td>\n <td class=\"text-right\" width=\"25%\">" + FormatCurrency(document.sp, company.cr, company.la, company.cf) + "</td>\n </tr>" : "") + "\n " + (document.ti ? "<tr>\n <td class=\"text-right\" width=\"25%\" style=\"border-top: 1px solid #ddd\">" + (company.r_n ? company.r_n : lang["net"]) + "</td>\n <td class=\"text-right\" width=\"25%\" style=\"border-top: 1px solid #ddd\">" + FormatCurrency(document.tt - (document.tx || 0) - (document.tx2 || 0), company.cr, company.la, company.cd) + "</td>\n </tr>" : "") + "\n " + (document.ty == 1 || document.ty !== 1 && (document.t1d || document.ttx && document.tx2 > 0 && document.t2d) ? "<tr>\n <td class=\"text-right\" width=\"25%\" style=\"border-bottom: 1px solid #ddd\">" + (company.r_tt ? company.r_tt : lang["total"]) + "</td>\n <td class=\"text-right\" width=\"25%\" style=\"border-bottom: 1px solid #ddd\">" + FormatCurrency(document.tt ? document.tt : 0, company.cr, company.la, company.cf) + "</td>\n </tr>" : "") + "\n " + (document.sca ? "<tr>\n <td class=\"text-right\" width=\"25%\">" + lang["credit_card_surcharge"] + "</td>\n <td class=\"text-right\" width=\"25%\">" + FormatCurrency(document.sca, company.cr, company.la, company.cf) + "</td>\n </tr>" : "") + "\n " + (document.ty == 1 && document.pma && document.pm ? paymentContainer : "") + "\n </tbody>\n </table>\n </div>\n </div>\n </div>\n <!-- end invoice-content -->\n\n <!-- begin invoice price -->\n <div class=\"invoice-price\">\n <div class=\"invoice-price-left\">\n <div class=\"invoice-price-row\"></div>\n </div>\n <div class=\"invoice-price-right\">\n <small>" + (document.ty == 1 ? company.r_ad ? company.r_ad : lang["amount_due"] : company.r_gt ? company.r_gt : lang["grand_total"]) + "</small>\n <span class=\"f-w-600\">" + (isDeposit ? FormatCurrency(document.depositAmount, company.cr, company.la, company.cf) : FormatCurrency(document.ad, company.cr, company.la, company.cf)) + "</span>\n </div>\n </div>\n <!-- end invoice price -->\n\n <div class=\"invoice-body\">\n\n <!-- begin invoice-note -->\n " + (document.noteHtml ? "<div class=\"mt-1\">\n " + document.noteHtml + "\n </div>" : (document.nt ? "<div class=\"mt-1\">\n <h2>" + (company.r_nt ? company.r_nt : lang["note"]) + "</h2>\n " + nl2br(document.nt) + "\n </div>" : "") + "\n " + (document.tc ? "<div class=\"mt-1\">\n <h2>" + (company.r_tc ? company.r_tc : lang["terms"]) + "</h2>\n " + nl2br(document.tc) + "\n </div>" : "")) + "\n <!-- end invoice-note -->\n \n <!--- begin company signature -->\n <!-- begin invoice-signature -->\n " + (document.sd || document.cs || customerSignBase64 ? "<div>" + (company.r_bs || lang["by_signing"] || "") + "</div>\n <div class=\"row mt-1\">\n " + (signatureContainer || clientSignature || "") + "\n " + (signatureContainer && clientSignature || "") + "\n </div>" : "") + "\n <!-- end invoice-signature-->\n\n <!-- begin invoice attachments -->\n\n " + (attachments && attachments.length > 0 ? "<div style=\"text-align: center\">\n " + attachmentContainer + "\n </div>" : "") + "\n <!-- end invoice attachment -->\n </div>\n </div>\n\n" + (!removeHtmlStandardDom ? "</body></html>" : "") + "\n";
|
|
2206
|
+
var paymentInstructionDetails = "\n " + (paymentOn ? "<h2 style=\"margin-top: 0; font-size: 18px; font-weight: 700;\">" + (company.r_pi ? company.r_pi : lang['payment_instruction']) + "</h2>" : "") + "\n " + (paymentOn && company.p1 ? company.p1 + "<br>" : "") + "\n " + (paymentOn && company.p2 ? company.p2 + "<br>" : "") + "\n " + (paymentOn && company.p3 ? company.p3 + "<br>" : "") + "\n ";
|
|
2207
|
+
var html = (!removeHtmlStandardDom ? "<!DOCTYPE html>\n<html>\n <head>\n <meta charset=\"utf-8\">\n <title>Invoice</title>" : '') + "\n " + (isOffline ? "<style>" + bootstrapCss + "</style><style>" + fontawesomeCss + "</style>" : " <link rel=\"stylesheet\" href=\"https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css\" integrity=\"sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh\" crossorigin=\"anonymous\">\n <link href=\"https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css\" rel=\"stylesheet\">") + "\n " + (!removeHtmlStandardDom ? "</head>" : "") + "\n <style>\n body {\n font-size: 18px;removeHtmlStandardDom\n -webkit-hyphens: auto;\n -ms-hyphens: auto;\n hyphens: auto;\n word-break: break-all;\n }\n .invoice-body {\n background: #fff;\n padding: 25px 50px;\n }\n\n .invoice-company {\n font-size: 20px\n }\n\n .invoice-header {\n /* margin: 0 -50px; */\n background: #f0f3f4;\n padding: 25px 50px;\n }\n .invoice-content {\n padding: 20px 38px 10px;\n }\n .invoice-date,\n .invoice-from,\n .invoice-to {\n /* display: table-cell; */\n /* width: 1% */\n }\n\n .table td, .table th {\n padding: .50rem .75rem;\n }\n\n .invoice-from,\n .invoice-to {\n padding-right: 20px\n }\n\n .invoice-date .date,\n .invoice-from strong,\n .invoice-to strong {\n font-size: 18px;\n font-weight: 600\n }\n\n .invoice-date {\n /* text-align: right; */\n padding-left: 20px\n }\n\n .invoice-price {\n /* background: #f0f3f4; */\n display: table;\n width: 100%\n }\n\n .invoice-price .invoice-price-left,\n .invoice-price .invoice-price-right {\n display: table-cell;\n padding: 28px 12px 16px;\n font-size: 20px;\n font-weight: 600;\n width: 70%;\n position: relative;\n vertical-align: middle\n }\n\n .invoice-price .invoice-price-left .sub-price {\n display: table-cell;\n vertical-align: middle;\n padding: 0 20px\n }\n\n .invoice-price small {\n font-size: 18px;\n font-weight: 400;\n display: block\n }\n\n .invoice-price .invoice-price-row {\n display: table;\n float: left\n }\n\n .invoice-price .invoice-price-right {\n width: 30%;\n background: #2d353c;\n color: #fff;\n font-size: 28px;\n text-align: right;\n vertical-align: bottom;\n font-weight: 300;\n right: 38px;\n }\n\n .invoice-price .invoice-price-right small {\n display: block;\n opacity: .7;\n position: absolute;\n top: 10px;\n left: 12px;\n font-size: 18px\n }\n\n .invoice-footer {\n border-top: 1px solid #ddd;\n padding-top: 10px;\n font-size: 18px\n }\n\n .invoice-note {\n color: #999;\n margin-top: 80px;\n font-size: 85%\n }\n\n .invoice-body > div:not(.invoice-footer) {\n margin-bottom: 20px\n }\n\n .btn.btn-white, .btn.btn-white.disabled, .btn.btn-white.disabled:focus, .btn.btn-white.disabled:hover, .btn.btn-white[disabled], .btn.btn-white[disabled]:focus, .btn.btn-white[disabled]:hover {\n color: #2d353c;\n background: #fff;\n border-color: #d9dfe3;\n }\n .table-inline-block{\n display: inline-block;\n }\n\n @media print {\n @page {\n size: A4;\n margin: 0;\n }\n body, page, html {\n /*width: 21cm; */\n /*margin: 0; */\n width: 100%;\n box-shadow: 0;\n background-color: #fff;\n }\n .print {\n max-width: " + 28 / (isFromReactnative ? 1 : 0.7) + "cm;\n margin: 0 auto 0 auto;\n }\n /* .invoice-body {\n padding:10;\n } */\n #invoice {\n " + (isFromReactnative ? 'zoom: 0.7' : '') + ";\n }\n\n .invoice-price .invoice-price-right {\n background: #f0f3f4;\n color: black;\n border: 2px solid #f0f3f4;\n }\n \n .col-sm {\n -ms-flex-preferred-size: 0;\n flex-basis: 0;\n -ms-flex-positive: 1;\n flex-grow: 1;\n max-width: 100%;\n }\n \n .col-sm-6 {\n -ms-flex: 0 0 50%;\n flex: 0 0 50%;\n max-width: 50%;\n }\n }\n \n .text-left{\n text-align: left;\n }\n .text-center{\n text-align: center;\n } \n .text-right{\n text-align: right;\n }\n\n @media only screen {\n #invoice {\n margin-top:10px;\n max-width:28cm;\n zoom: 0.8;\n box-shadow: 0 0 0.5cm rgba(0,0,0,0.2);\n margin-right:auto;margin-left:auto;\n background: white;\n }\n }\n\n @media (min-width: 767.99px) {\n .invoice-detail-right {\n max-width: 200px;\n }\n }\n @media (max-width: 767.98px) {\n .invoice-body {\n padding: 30px\n }\n .invoice-header {\n padding: 20px 30px;\n }\n .invoice-content {\n padding: 18px;\n }\n .invoice-price .invoice-price-right {\n right: 18px;\n }\n #invoice-logo {\n max-width: 100%;\n display: block;\n }\n .invoice-date {\n margin-top:10px;\n /*border-top: 1px solid #dee2e6;*/\n }\n }\n\n .table-small td{\n padding: 8px 12px\n }\n .table-invoice-header{\n background: #f0f3f4\n }\n h1,h2,h3,h4 {margin-top:15px}\n h1 {font-size:27px}\n h2 {font-size:22px}\n </style>\n " + (!removeHtmlStandardDom ? '<body>' : '') + "\n <div id=\"invoice\" class=\"print\">\n <div class=\"invoice-body\">\n <!-- begin invoice-company -->\n <div class=\"row\">\n <div class=\"col\" style=\"padding-top:10px\">\n " + logoContainer + "\n </div>\n <div class=\"col text-right\">\n <h1>" + documentName + "</h1>\n <div class=\"text-inverse mb-1\" style=\"font-size: 20px;\">\n <strong>" + company.c + "</strong>\n </div>\n <address class=\"m-t-5 m-b-5\">\n <div class=\"mb-2\">\n " + (companyAddress.address1 ? "<div>" + companyAddress.address1 + "</div>" : "") + "\n " + (companyAddress.address2 ? "<div>" + companyAddress.address2 + "</div>" : "") + "\n " + (companyAddress.address3 ? "<div>" + companyAddress.address3 + "</div>" : "") + "\n " + (companyAddress.city || companyAddress.state || companyAddress.zip ? "<div>" + ((companyAddress.city ? companyAddress.city + " " : "") + (companyAddress.state ? companyAddress.state + " " : "") + (companyAddress.zip ? companyAddress.zip + " " : "")) + "</div>" : "") + "\n " + (companyAddress.country ? "<div>" + companyAddress.country + "</div>" : "") + "\n </div>\n " + (company.ai ? "<div>" + company.ai + "</div>" : "") + "\n " + (company.ph ? "<div>" + company.ph + "</div>" : "") + "\n " + (company.de ? "<div>" + company.de + "</div>" : "") + "\n " + (company.tfn ? "<div>" + ((company.bn ? company.bn : "Tax no.") + " : " + company.tfn) + "</div>" : "") + "\n </address>\n </div>\n </div>\n </div>\n <!-- end invoice-company -->\n <!-- begin invoice-header -->\n <div class=\"invoice-header\">\n <div class=\"row\">\n <div class=\"invoice-to col-6\">\n <strong>" + (company.r_bt ? company.r_bt : lang["bill_to"]) + "</strong>\n <div class=\"text-inverse mb-1\">\n <small style=\"font-size: 18px;\">" + document.cu.c + "</small>\n </div>\n <address class=\"m-t-5 m-b-5\">\n " + (customerAddress.address1 ? "<div>" + customerAddress.address1 + "</div>" : "") + "\n " + (customerAddress.address2 ? "<div>" + customerAddress.address2 + "</div>" : "") + "\n " + (customerAddress.address3 ? "<div>" + customerAddress.address3 + "</div>" : "") + "\n " + (customerAddress.city || customerAddress.state || customerAddress.zip ? "<div>" + ((customerAddress.city ? customerAddress.city + " " : "") + (customerAddress.state ? customerAddress.state + " " : "") + (customerAddress.zip ? customerAddress.zip + " " : "")) + "</div>" : "") + "\n " + (customerAddress.country ? "<div>" + customerAddress.country + "</div>" : "") + "\n " + (document.cu.tfn ? "<div>" + (document.cu.tfn ? (company.bn || "Tax no.") + " : " + document.cu.tfn : "") + "</div>" : "") + "\n " + (document.cu.ph ? "<div>" + document.cu.ph + "</div>" : "") + "\n </address>\n\n " + (shippingAddressExists ? "<strong stryle=\"margin-top:10px\">" + (company.r_st ? company.r_st : lang.ship_to) + "</strong>" : "") + "\n " + (shippingAddressExists ? "\n <address class=\"m-t-5 m-b-5\">\n " + (customerShippingAddress.address1 ? "<div>" + customerShippingAddress.address1 + "</div>" : "") + "\n " + (customerShippingAddress.address2 ? "<div>" + customerShippingAddress.address2 + "</div>" : "") + "\n " + (customerShippingAddress.address3 ? "<div>" + customerShippingAddress.address3 + "</div>" : "") + "\n " + (customerShippingAddress.city || customerShippingAddress.state || customerShippingAddress.zip ? "<div>" + ((customerShippingAddress.city ? customerShippingAddress.city + " " : "") + (customerShippingAddress.state ? customerShippingAddress.state + " " : "") + (customerShippingAddress.zip ? customerShippingAddress.zip + " " : "")) + "</div>" : "") + "\n " + (customerShippingAddress.country ? "<div>" + customerShippingAddress.country + "</div>" : "") + "\n " + (document.asi ? "<div>" + document.asi + "</div>" : "") + "\n </address>\n " : "") + "\n </div>\n\n <div class=\"invoice-date col-6\">\n <div class=\"row text-right\">\n <div class=\"col\">\n <strong>" + documentName + " #</strong>\n </div>\n <div class=\"col invoice-detail-right\">" + (document.no ? document.no : "") + "</div>\n </div>\n <div class=\"row text-right\">\n <div class=\"col\">\n <strong>" + (company.r_d ? company.r_d : lang["date"]) + "</strong>\n </div>\n <div class=\"col invoice-detail-right\">" + formatDate(document.d) + "</div>\n </div>\n " + (document.ty == 1 && !document.rd ? "<div class=\"row text-right\">\n <div class=\"col\">\n <strong>" + (company.r_dd ? company.r_dd : lang["due_date"]) + "</strong>\n </div>\n <div class=\"col invoice-detail-right\">\n " + (document.dd ? formatDate(document.dd) : formatDate(new Date(document.d).setDate(new Date(document.d).getDate() + parseInt(document.di)))) + "\n </div>\n </div>" : '') + "\n " + (document.pon ? "<div class=\"row text-right\">\n <div class=\"col\">\n <strong>" + (company.r_po ? company.r_po : lang['po_number']) + "</strong>\n </div>\n <div class=\"col invoice-detail-right\">" + document.pon + "</div>\n </div>\n " : '') + "\n </div>\n </div>\n </div>\n <!-- end invoice-header -->\n <!-- begin invoice-content -->\n <div class=\"invoice-content\">\n <div class=\"table-responsive\">\n <table class=\"table table-invoice\">\n <thead>\n <tr class=\"table table-invoice\">\n <th class=\"text-left\">" + (company.r_it ? company.r_it : lang['item']) + "</th>\n <th class=\"text-center\" width=\"15%\">" + (document.um ? document.um : company.r_q ? company.r_q : lang['quantity']) + "</th>\n <th class=\"text-right\" width=\"15%\">" + (company.r_p ? company.r_p : lang['price']) + "</th>\n " + (discountOnItem ? "<th class=\"text-right\" width=\"15%\">" + (company.r_dc ? company.r_dc : lang['discount']) + "</th>" : '') + "\n <th class=\"text-right\" width=\"15%\">" + (company.r_a ? company.r_a : lang['amount']) + "</th>\n </tr>\n </thead>\n <tbody>\n " + itemsContainer + "\n </tbody>\n </table>\n </div>\n \n <hr />\n <div class=\"row\">\n <div class=\"col-12\">\n <table class=\"table table-borderless table-small\">\n <tbody>\n <tr>\n <td class=\"d-table-cell\" rowspan=\"" + numOfRowsPaymentInstruction + "\">\n " + (paymentOn ? paymentInstructionDetails : "") + "\n </td>\n <td class=\"text-right\" width=\"25%\">" + (company.r_sb ? company.r_sb : lang["subtotal"]) + "</td>\n <td class=\"text-right\" width=\"25%\">" + FormatCurrency(document.st, company.cr, company.la, company.cf) + "</td>\n </tr>\n " + (document.dc ? "<tr>\n <td class=\"text-right\" width=\"25%\">" + ((company.r_dc ? company.r_dc : lang["discount"]) + (document.dcpo && document.dcp ? " (" + document.dcp + "%)" : "")) + "</td>\n <td class=\"text-right\" width=\"25%\">" + ("(" + FormatCurrency(document.dc, company.cr, company.la, company.cf) + ")") + "</td>\n </tr>" : '') + "\n " + (document.sp && !document.sntx ? "<tr>\n <td class=\"text-right\" width=\"25%\">" + (company.r_sp ? company.r_sp : lang["shipping"]) + "</td>\n <td class=\"text-right\" width=\"25%\">" + FormatCurrency(document.sp, company.cr, company.la, company.cf) + "</td>\n </tr>" : '') + "\n " + (document.tx != 0 ? "<tr>\n <td class=\"text-right\" width=\"25%\">" + (taxName1 + taxIncluded1 + "(" + document.tp + "%)") + "</td>\n <td class=\"text-right\" width=\"25%\">" + ((document.t1d ? "(" : "") + FormatCurrency(document.tx, company.cr, company.la, company.cf) + (document.t1d ? ")" : "")) + "</td>\n </tr>" : '') + "\n " + (document.ttx && document.tx2 != 0 ? "<tr>\n <td class=\"text-right\" width=\"25%\">" + (taxName2 + taxIncluded2 + "(" + document.tp2 + "%)") + "</td>\n <td class=\"text-right\" width=\"25%\">" + ((document.t2d ? "(" : "") + FormatCurrency(document.tx2, company.cr, company.la, company.cf) + (document.t2d ? ")" : "")) + "</td>\n </tr>" : '') + "\n " + (document.sp && document.sntx ? "<tr>\n <td class=\"text-right\" width=\"25%\">" + (company.r_sp ? company.r_sp : lang["shipping"]) + "</td>\n <td class=\"text-right\" width=\"25%\">" + FormatCurrency(document.sp, company.cr, company.la, company.cf) + "</td>\n </tr>" : '') + "\n " + (document.ti ? "<tr>\n <td class=\"text-right\" width=\"25%\" style=\"border-top: 1px solid #ddd\">" + (company.r_n ? company.r_n : lang["net"]) + "</td>\n <td class=\"text-right\" width=\"25%\" style=\"border-top: 1px solid #ddd\">" + FormatCurrency(document.tt - (document.tx || 0) - (document.tx2 || 0), company.cr, company.la, company.cd) + "</td>\n </tr>" : '') + "\n " + (document.ty == 1 || document.ty !== 1 && (document.t1d || document.ttx && document.tx2 > 0 && document.t2d) ? "<tr>\n <td class=\"text-right\" width=\"25%\" style=\"border-bottom: 1px solid #ddd\">" + (company.r_tt ? company.r_tt : lang["total"]) + "</td>\n <td class=\"text-right\" width=\"25%\" style=\"border-bottom: 1px solid #ddd\">" + FormatCurrency(document.tt ? document.tt : 0, company.cr, company.la, company.cf) + "</td>\n </tr>" : '') + "\n " + (document.sca ? "<tr>\n <td class=\"text-right\" width=\"25%\">" + lang["credit_card_surcharge"] + "</td>\n <td class=\"text-right\" width=\"25%\">" + FormatCurrency(document.sca, company.cr, company.la, company.cf) + "</td>\n </tr>" : '') + "\n " + (document.ty == 1 && document.pma && document.pm ? paymentContainer : '') + "\n </tbody>\n </table>\n </div>\n </div>\n </div>\n <!-- end invoice-content -->\n\n <!-- begin invoice price -->\n <div class=\"invoice-price\">\n <div class=\"invoice-price-left\">\n <div class=\"invoice-price-row\"></div>\n </div>\n <div class=\"invoice-price-right\">\n <small>" + (document.ty == 1 ? company.r_ad ? company.r_ad : lang["amount_due"] : company.r_gt ? company.r_gt : lang["grand_total"]) + "</small>\n <span class=\"f-w-600\">" + (isDeposit ? FormatCurrency(document.depositAmount, company.cr, company.la, company.cf) : FormatCurrency(document.ad, company.cr, company.la, company.cf)) + "</span>\n </div>\n </div>\n <!-- end invoice price -->\n\n <div class=\"invoice-body\">\n\n <!-- begin invoice-note -->\n " + (document.noteHtml ? "<div class=\"mt-1\">\n " + document.noteHtml + "\n </div>" : (document.nt ? "<div class=\"mt-1\">\n <h2>" + (company.r_nt ? company.r_nt : lang["note"]) + "</h2>\n " + nl2br(document.nt) + "\n </div>" : '') + "\n " + (document.tc ? "<div class=\"mt-1\">\n <h2>" + (company.r_tc ? company.r_tc : lang["terms"]) + "</h2>\n " + nl2br(document.tc) + "\n </div>" : '')) + "\n <!-- end invoice-note -->\n \n <!--- begin company signature -->\n <!-- begin invoice-signature -->\n " + (document.sd || document.cs || customerSignBase64 ? "<div>" + (company.r_bs || lang['by_signing'] || "") + "</div>\n <div class=\"row mt-1\">\n " + (signatureContainer || clientSignature || "") + "\n " + (signatureContainer && clientSignature || "") + "\n </div>" : '') + "\n <!-- end invoice-signature-->\n\n <!-- begin invoice attachments -->\n\n " + (attachments && attachments.length > 0 ? "<div style=\"text-align: center\">\n " + attachmentContainer + "\n </div>" : '') + "\n <!-- end invoice attachment -->\n </div>\n </div>\n\n" + (!removeHtmlStandardDom ? '</body></html>' : '') + "\n";
|
|
2218
2208
|
return {
|
|
2219
2209
|
html: html,
|
|
2220
2210
|
timeZone: timeZone,
|
|
@@ -2229,7 +2219,7 @@ var invoiceHtml = (function (_ref) {
|
|
|
2229
2219
|
lang = _ref$lang === void 0 ? defaultLang : _ref$lang,
|
|
2230
2220
|
referral = _ref.referral,
|
|
2231
2221
|
_ref$companyLogoBase = _ref.companyLogoBase,
|
|
2232
|
-
companyLogoBase = _ref$companyLogoBase === void 0 ?
|
|
2222
|
+
companyLogoBase = _ref$companyLogoBase === void 0 ? 'https://s3.amazonaws.com/bookipi/' : _ref$companyLogoBase,
|
|
2233
2223
|
_ref$isDeposit = _ref.isDeposit,
|
|
2234
2224
|
isDeposit = _ref$isDeposit === void 0 ? false : _ref$isDeposit,
|
|
2235
2225
|
_ref$isOffline = _ref.isOffline,
|
|
@@ -2250,11 +2240,10 @@ var invoiceHtml = (function (_ref) {
|
|
|
2250
2240
|
}).html;
|
|
2251
2241
|
});
|
|
2252
2242
|
|
|
2253
|
-
var docTypeMapping = new Map([[0,
|
|
2243
|
+
var docTypeMapping = new Map([[0, 'estimate'], [1, 'invoice'], [2, 'credit_note'], [3, 'delivery_note'], [4, 'purchase_order'], ['estimate', 0], ['invoice', 1], ['credit_note', 2], ['delivery_note', 3], ['purchase_order', 4]]);
|
|
2254
2244
|
|
|
2255
2245
|
var ItemCompat = function ItemCompat(item) {
|
|
2256
|
-
|
|
2257
|
-
var mapping = new Map([["name", "n"], ["description", "dsc"], ["price", "p"], ["quantity", "q"], ["tax", "tx"], ["tax2", "tx2"], ["discount", "dc"], ["total", "t"]]);
|
|
2246
|
+
var mapping = new Map([['name', 'n'], ['description', 'dsc'], ['price', 'p'], ['quantity', 'q'], ['tax', 'tx'], ['tax2', 'tx2'], ['discount', 'dc'], ['total', 't']]);
|
|
2258
2247
|
return Object.fromEntries(Object.entries(item).map(function (_ref) {
|
|
2259
2248
|
var k = _ref[0],
|
|
2260
2249
|
v = _ref[1];
|
|
@@ -2263,8 +2252,7 @@ var ItemCompat = function ItemCompat(item) {
|
|
|
2263
2252
|
};
|
|
2264
2253
|
|
|
2265
2254
|
var PaymentCompat = function PaymentCompat(payment) {
|
|
2266
|
-
|
|
2267
|
-
var mapping = new Map([["amount", "a"], ["date", "d"], ["chargeId", "cid"], ["surchargeRate", "sr"], ["last4", "l"], ["brand", "b"]]);
|
|
2255
|
+
var mapping = new Map([['amount', 'a'], ['date', 'd'], ['chargeId', 'cid'], ['surchargeRate', 'sr'], ['last4', 'l'], ['brand', 'b']]);
|
|
2268
2256
|
return Object.fromEntries(Object.entries(payment).map(function (_ref2) {
|
|
2269
2257
|
var k = _ref2[0],
|
|
2270
2258
|
v = _ref2[1];
|
|
@@ -2273,8 +2261,7 @@ var PaymentCompat = function PaymentCompat(payment) {
|
|
|
2273
2261
|
};
|
|
2274
2262
|
|
|
2275
2263
|
var CustomerCompat = function CustomerCompat(customer) {
|
|
2276
|
-
|
|
2277
|
-
var mapping = new Map([["companyName", "c"], ["firstName", "f"], ["lastName", "l"], ["email", "e"], ["additionalInfo", "ai"], ["address1", "a1"], ["address2", "a2"], ["address3", "a3"], ["shippingAddress1", "sa1"], ["shippingAddress2", "sa2"], ["shippingAddress3", "sa3"], ["mobile", "mb"], ["phone", "ph"], ["TFN", "tfn"], ["trashed", "tr"], ["trashedDate", "trd"], ["company", "ui"], ["fax", "fax"]]);
|
|
2264
|
+
var mapping = new Map([['companyName', 'c'], ['firstName', 'f'], ['lastName', 'l'], ['email', 'e'], ['additionalInfo', 'ai'], ['address1', 'a1'], ['address2', 'a2'], ['address3', 'a3'], ['shippingAddress1', 'sa1'], ['shippingAddress2', 'sa2'], ['shippingAddress3', 'sa3'], ['mobile', 'mb'], ['phone', 'ph'], ['TFN', 'tfn'], ['trashed', 'tr'], ['trashedDate', 'trd'], ['company', 'ui'], ['fax', 'fax']]);
|
|
2278
2265
|
return Object.fromEntries(Object.entries(customer).map(function (_ref3) {
|
|
2279
2266
|
var k = _ref3[0],
|
|
2280
2267
|
v = _ref3[1];
|
|
@@ -2283,8 +2270,7 @@ var CustomerCompat = function CustomerCompat(customer) {
|
|
|
2283
2270
|
};
|
|
2284
2271
|
|
|
2285
2272
|
var InvoiceCompat = function InvoiceCompat(doc) {
|
|
2286
|
-
|
|
2287
|
-
var mapping = new Map([["address1", "a1"], ["address2", "a2"], ["address3", "a3"], ["customer", ["cu", CustomerCompat]], ["items", ["it", ItemCompat]], ["taxInclusive", "ti"], ["taxPercentage", "tp"], ["taxDeductible", "t1d"], ["taxInclusive", "ti"], ["taxName", "tn"], ["twoTaxes", "ttx"], ["taxName2", "tn2"], ["taxPercentage2", "tp2"], ["taxDeductible2", "t2d"], ["taxAmount", "tx"], ["tax2", "tx2"], ["taxDeductibleInc2", "t2di"], ["shippingCost", "sp"], ["shippingNonTax", "sntx"], ["total", "tt"], ["subTotal", "st"], ["amountDue", "ad"], ["discount", "dc"], ["discountOption", "dco"], ["discountPercentage", "dcp"], ["discountPercentageOption", "dcpo"], ["payments", ["pm", PaymentCompat]], ["timeZone", "tz"], ["type", "ty"], ["date", "d"], ["dueDate", "dd"], ["dueIn", "di"], ["removeDueDate", "rd"], ["purchaseOrderNumber", "pon"], ["note", "nt"]]);
|
|
2273
|
+
var mapping = new Map([['address1', 'a1'], ['address2', 'a2'], ['address3', 'a3'], ['customer', ['cu', CustomerCompat]], ['items', ['it', ItemCompat]], ['taxInclusive', 'ti'], ['taxPercentage', 'tp'], ['taxDeductible', 't1d'], ['taxInclusive', 'ti'], ['taxName', 'tn'], ['twoTaxes', 'ttx'], ['taxName2', 'tn2'], ['taxPercentage2', 'tp2'], ['taxDeductible2', 't2d'], ['taxAmount', 'tx'], ['tax2', 'tx2'], ['taxDeductibleInc2', 't2di'], ['shippingCost', 'sp'], ['shippingNonTax', 'sntx'], ['total', 'tt'], ['subTotal', 'st'], ['amountDue', 'ad'], ['discount', 'dc'], ['discountOption', 'dco'], ['discountPercentage', 'dcp'], ['discountPercentageOption', 'dcpo'], ['payments', ['pm', PaymentCompat]], ['timeZone', 'tz'], ['type', 'ty'], ['date', 'd'], ['dueDate', 'dd'], ['dueIn', 'di'], ['removeDueDate', 'rd'], ['purchaseOrderNumber', 'pon'], ['note', 'nt']]);
|
|
2288
2274
|
return Object.fromEntries(Object.entries(doc).map(function (_ref4) {
|
|
2289
2275
|
var k = _ref4[0],
|
|
2290
2276
|
v = _ref4[1];
|
|
@@ -2307,8 +2293,7 @@ var InvoiceCompat = function InvoiceCompat(doc) {
|
|
|
2307
2293
|
};
|
|
2308
2294
|
|
|
2309
2295
|
var TemplateCompat = function TemplateCompat(template) {
|
|
2310
|
-
|
|
2311
|
-
var mapping = new Map([["billTo", "r_bt"], ["shipTo", "r_st"], ["item", "r_it"], ["quantity", "r_q"], ["price", "r_p"], ["amount", "r_a"], ["date", "r_d"], ["dueDate", "r_dd"], ["postCode", "r_po"], ["shipping", "r_sp"], ["included", "r_ic"], ["subtotal", "r_sb"], ["net", "r_n"], ["total", "r_tt"], ["amountDue", "r_ad"], ["grandTotal", "r_gt"], ["payInt", "r_pi"], ["note", "r_nt"], ["Tos", "r_tc"], ["bySigning", "r_bs"]]);
|
|
2296
|
+
var mapping = new Map([['billTo', 'r_bt'], ['shipTo', 'r_st'], ['item', 'r_it'], ['quantity', 'r_q'], ['price', 'r_p'], ['amount', 'r_a'], ['date', 'r_d'], ['dueDate', 'r_dd'], ['postCode', 'r_po'], ['shipping', 'r_sp'], ['included', 'r_ic'], ['subtotal', 'r_sb'], ['net', 'r_n'], ['total', 'r_tt'], ['amountDue', 'r_ad'], ['grandTotal', 'r_gt'], ['payInt', 'r_pi'], ['note', 'r_nt'], ['Tos', 'r_tc'], ['bySigning', 'r_bs']]);
|
|
2312
2297
|
return Object.fromEntries(Object.entries(template).map(function (_ref5) {
|
|
2313
2298
|
var k = _ref5[0],
|
|
2314
2299
|
v = _ref5[1];
|
|
@@ -2317,8 +2302,7 @@ var TemplateCompat = function TemplateCompat(template) {
|
|
|
2317
2302
|
};
|
|
2318
2303
|
|
|
2319
2304
|
var DocumentDefinitionCompat = function DocumentDefinitionCompat(dd) {
|
|
2320
|
-
|
|
2321
|
-
var docTypeMapping = new Map([[0, "estimate"], [1, "invoice"], [2, "credit_note"], [3, "delivery_note"], [4, "purchase_order"], ["estimate", 0], ["invoice", 1], ["credit_note", 2], ["delivery_note", 3], ["purchase_order", 4]]);
|
|
2305
|
+
var docTypeMapping = new Map([[0, 'estimate'], [1, 'invoice'], [2, 'credit_note'], [3, 'delivery_note'], [4, 'purchase_order'], ['estimate', 0], ['invoice', 1], ['credit_note', 2], ['delivery_note', 3], ['purchase_order', 4]]);
|
|
2322
2306
|
var docs = [];
|
|
2323
2307
|
var ms = [];
|
|
2324
2308
|
var nt = [];
|
|
@@ -2350,9 +2334,8 @@ var DocumentDefinitionCompat = function DocumentDefinitionCompat(dd) {
|
|
|
2350
2334
|
};
|
|
2351
2335
|
|
|
2352
2336
|
var CompanyCompat = function CompanyCompat(doc) {
|
|
2353
|
-
|
|
2354
|
-
var
|
|
2355
|
-
var rootMapping = new Map([["template", TemplateCompat], ["documentDefinitions", DocumentDefinitionCompat]]);
|
|
2337
|
+
var mapping = new Map([['dateFormat', 'df'], ['timeZone', 'tz'], ['language', 'la'], ['TFN', 'tfn'], ['paymentInstruction1', 'p1'], ['paymentInstruction2', 'p2'], ['paymentInstruction3', 'p3'], ['invoiceColor', 'ct'], ['taxPercentage', 'tp'], ['taxDeductible', 't1d'], ['taxInclusive', 'ti'], ['taxName', 'tn'], ['twoTaxes', 'ttx'], ['taxName2', 'tn2'], ['taxPercentage2', 'tp2'], ['taxDeductible2', 't2d'], ['name', 'c'], ['hasPaymentInstruction', 'pi'], ['additionalInfo', 'ai'], ['phoneNumber', 'ph'], ['displayEmail', 'de'], ['email', 'e'], ['logoExists', 'lg']]);
|
|
2338
|
+
var rootMapping = new Map([['template', TemplateCompat], ['documentDefinitions', DocumentDefinitionCompat]]);
|
|
2356
2339
|
var newCompany = Object.fromEntries(Object.entries(doc).map(function (_ref6) {
|
|
2357
2340
|
var k = _ref6[0],
|
|
2358
2341
|
v = _ref6[1];
|
|
@@ -2390,7 +2373,7 @@ var CompanyCompat = function CompanyCompat(doc) {
|
|
|
2390
2373
|
var ret = doc.documentDefinitions.map(function (def, idx) {
|
|
2391
2374
|
var enabled = false;
|
|
2392
2375
|
|
|
2393
|
-
if (typeof def.enabled ===
|
|
2376
|
+
if (typeof def.enabled === 'undefined') {
|
|
2394
2377
|
if (def.name) {
|
|
2395
2378
|
enabled = true;
|
|
2396
2379
|
}
|