import React,{Component} from 'react'
import {Table,Modal,Button} from 'antd'

export const InputSize = null
export const Currency=window.CUR
export const COUNTRY = [
    {code:"AD",name:"Andorra	"},
    {code:"AE",name:"United Arab Emirates	"},
    {code:"AF",name:"Afghanistan	"},
    {code:"AG",name:"Antigua & Barbuda	"},
    {code:"AI",name:"Anguilla	"},
    {code:"AL",name:"Albania	"},
    {code:"AM",name:"Armenia	"},
    {code:"AO",name:"Angola	"},
    {code:"AQ",name:"Antarctica	"},
    {code:"AR",name:"Argentina	"},
    {code:"AS",name:"American Samoa	"},
    {code:"AT",name:"Austria	"},
    {code:"AU",name:"Australia	"},
    {code:"AW",name:"Aruba	"},
    {code:"AX",name:"?aland Island	"},
    {code:"AZ",name:"Azerbaijan	"},
    {code:"BA",name:"Bosnia & Herzegovina	"},
    {code:"BB",name:"Barbados	"},
    {code:"BD",name:"Bangladesh	"},
    {code:"BE",name:"Belgium	"},
    {code:"BF",name:"Burkina	"},
    {code:"BG",name:"Bulgaria	"},
    {code:"BH",name:"Bahrain	"},
    {code:"BI",name:"Burundi	"},
    {code:"BJ",name:"Benin	"},
    {code:"BL",name:"Saint Barthélemy	"},
    {code:"BM",name:"Bermuda	"},
    {code:"BN",name:"Brunei	"},
    {code:"BO",name:"Bolivia	"},
    {code:"BQ",name:"Caribbean Netherlands	"},
    {code:"BR",name:"Brazil	"},
    {code:"BS",name:"The Bahamas	"},
    {code:"BT",name:"Bhutan	"},
    {code:"BV",name:"Bouvet Island	"},
    {code:"BW",name:"Botswana	"},
    {code:"BY",name:"Belarus	"},
    {code:"BZ",name:"Belize	"},
    {code:"CA",name:"Canada	"},
    {code:"CC",name:"Cocos (Keeling) Islands	"},
    {code:"CD",name:"Democratic Republic of the Congo	"},
    {code:"CF",name:"Central African Republic	"},
    {code:"CG",name:"Republic of the Congo	"},
    {code:"CH",name:"Switzerland	"},
    {code:"CI",name:"C?te d'Ivoire	"},
    {code:"CK",name:"Cook Islands	"},
    {code:"CL",name:"Chile	"},
    {code:"CM",name:"Cameroon	"},
    {code:"CN",name:"China	"},
    {code:"CO",name:"Colombia	"},
    {code:"CR",name:"Costa Rica	"},
    {code:"CU",name:"Cuba	"},
    {code:"CV",name:"Cape Verde	"},
    {code:"CX",name:"Christmas Island	"},
    {code:"CY",name:"Cyprus	"},
    {code:"CZ",name:"Czech Republic	"},
    {code:"DE",name:"Germany	"},
    {code:"DJ",name:"Djibouti	"},
    {code:"DK",name:"Denmark	"},
    {code:"DM",name:"Dominica	"},
    {code:"DO",name:"Dominican Republic	"},
    {code:"DZ",name:"Algeria	"},
    {code:"EC",name:"Ecuador	"},
    {code:"EE",name:"Estonia	"},
    {code:"EG",name:"Egypt	"},
    {code:"EH",name:"Western Sahara	"},
    {code:"ER",name:"Eritrea	"},
    {code:"ES",name:"Spain	"},
    {code:"ET",name:"Ethiopia	"},
    {code:"FI",name:"Finland	"},
    {code:"FJ",name:"Fiji	"},
    {code:"FK",name:"Falkland Islands	"},
    {code:"FM",name:"Federated States of Micronesia	"},
    {code:"FO",name:"Faroe Islands	"},
    {code:"FR",name:"France	"},
    {code:"GA",name:"Gabon	"},
    {code:"GB",name:"Great Britain (United Kingdom; England)	"},
    {code:"GD",name:"Grenada	"},
    {code:"GE",name:"Georgia	"},
    {code:"GF",name:"French Guiana	"},
    {code:"GG",name:"Guernsey	"},
    {code:"GH",name:"Ghana	"},
    {code:"GI",name:"Gibraltar	"},
    {code:"GL",name:"Greenland	"},
    {code:"GM",name:"Gambia	"},
    {code:"GN",name:"Guinea	"},
    {code:"GP",name:"Guadeloupe	"},
    {code:"GQ",name:"Equatorial Guinea	"},
    {code:"GR",name:"Greece	"},
    {code:"GS",name:"South Georgia and the South Sandwich Islands	"},
    {code:"GT",name:"Guatemala	"},
    {code:"GU",name:"Guam	"},
    {code:"GW",name:"Guinea-Bissau	"},
    {code:"GY",name:"Guyana	"},
    {code:"HK",name:"Hong Kong	"},
    {code:"HM",name:"Heard Island and McDonald Islands	"},
    {code:"HN",name:"Honduras	"},
    {code:"HR",name:"Croatia	"},
    {code:"HT",name:"Haiti	"},
    {code:"HU",name:"Hungary	"},
    {code:"ID",name:"Indonesia	"},
    {code:"IE",name:"Ireland	"},
    {code:"IL",name:"Israel	"},
    {code:"IM",name:"Isle of Man	"},
    {code:"IN",name:"India	"},
    {code:"IO",name:"British Indian Ocean Territory	"},
    {code:"IQ",name:"Iraq	"},
    {code:"IR",name:"Iran	"},
    {code:"IS",name:"Iceland	"},
    {code:"IT",name:"Italy	"},
    {code:"JE",name:"Jersey	"},
    {code:"JM",name:"Jamaica	"},
    {code:"JO",name:"Jordan	"},
    {code:"JP",name:"Japan	"},
    {code:"KE",name:"Kenya	"},
    {code:"KG",name:"Kyrgyzstan	"},
    {code:"KH",name:"Cambodia	"},
    {code:"KI",name:"Kiribati	"},
    {code:"KM",name:"The Comoros	"},
    {code:"KN",name:"St. Kitts & Nevis	"},
    {code:"KP",name:"North Korea	"},
    {code:"KR",name:"South Korea	"},
    {code:"KW",name:"Kuwait	"},
    {code:"KY",name:"Cayman Islands	"},
    {code:"KZ",name:"Kazakhstan	"},
    {code:"LA",name:"Laos	"},
    {code:"LB",name:"Lebanon	"},
    {code:"LC",name:"St. Lucia	"},
    {code:"LI",name:"Liechtenstein	"},
    {code:"LK",name:"Sri Lanka	"},
    {code:"LR",name:"Liberia	"},
    {code:"LS",name:"Lesotho	"},
    {code:"LT",name:"Lithuania	"},
    {code:"LU",name:"Luxembourg	"},
    {code:"LV",name:"Latvia	"},
    {code:"LY",name:"Libya	"},
    {code:"MA",name:"Morocco	"},
    {code:"MC",name:"Monaco	"},
    {code:"MD",name:"Moldova	"},
    {code:"ME",name:"Montenegro	"},
    {code:"MF",name:"Saint Martin (France)	"},
    {code:"MG",name:"Madagascar	"},
    {code:"MH",name:"Marshall islands	"},
    {code:"MK",name:"Republic of Macedonia (FYROM)	"},
    {code:"ML",name:"Mali	"},
    {code:"MM",name:"Myanmar (Burma)	"},
    {code:"MN",name:"Mongolia	"},
    {code:"MO",name:"Macao	"},
    {code:"MP",name:"Northern Mariana Islands	"},
    {code:"MQ",name:"Martinique	"},
    {code:"MR",name:"Mauritania	"},
    {code:"MS",name:"Montserrat	"},
    {code:"MT",name:"Malta	"},
    {code:"MU",name:"Mauritius	"},
    {code:"MV",name:"Maldives	"},
    {code:"MW",name:"Malawi	"},
    {code:"MX",name:"Mexico	"},
    {code:"MY",name:"Malaysia	"},
    {code:"MZ",name:"Mozambique	"},
    {code:"NA",name:"Namibia	"},
    {code:"NC",name:"New Caledonia	"},
    {code:"NE",name:"Niger	"},
    {code:"NF",name:"Norfolk Island	"},
    {code:"NG",name:"Nigeria	"},
    {code:"NI",name:"Nicaragua	"},
    {code:"NL",name:"Netherlands	"},
    {code:"NO",name:"Norway	"},
    {code:"NP",name:"Nepal	"},
    {code:"NR",name:"Nauru	"},
    {code:"NU",name:"Niue	"},
    {code:"NZ",name:"New Zealand	"},
    {code:"OM",name:"Oman	"},
    {code:"PA",name:"Panama	"},
    {code:"PE",name:"Peru	"},
    {code:"PF",name:"French polynesia	"},
    {code:"PG",name:"Papua New Guinea	"},
    {code:"PH",name:"The Philippines	"},
    {code:"PK",name:"Pakistan	"},
    {code:"PL",name:"Poland	"},
    {code:"PM",name:"Saint-Pierre and Miquelon	"},
    {code:"PN",name:"Pitcairn Islands	"},
    {code:"PR",name:"Puerto Rico	"},
    {code:"PS",name:"Palestinian territories	"},
    {code:"PT",name:"Portugal	"},
    {code:"PW",name:"Palau	"},
    {code:"PY",name:"Paraguay	"},
    {code:"QA",name:"Qatar	"},
    {code:"RE",name:"Réunion	"},
    {code:"RO",name:"Romania	"},
    {code:"RS",name:"Serbia	"},
    {code:"RU",name:"Russian Federation	"},
    {code:"RW",name:"Rwanda	"},
    {code:"SA",name:"Saudi Arabia	"},
    {code:"SB",name:"Solomon Islands	"},
    {code:"SC",name:"Seychelles	"},
    {code:"SD",name:"Sudan	"},
    {code:"SE",name:"Sweden	"},
    {code:"SG",name:"Singapore	"},
    {code:"SH",name:"St. Helena & Dependencies	"},
    {code:"SI",name:"Slovenia	"},
    {code:"SJ",name:"Template:Country data SJM Svalbard	"},
    {code:"SK",name:"Slovakia	"},
    {code:"SL",name:"Sierra Leone	"},
    {code:"SM",name:"San Marino	"},
    {code:"SN",name:"Senegal	"},
    {code:"SO",name:"Somalia	"},
    {code:"SR",name:"Suriname	"},
    {code:"SS",name:"South Sudan	"},
    {code:"ST",name:"Sao Tome & Principe	"},
    {code:"SV",name:"El Salvador	"},
    {code:"SY",name:"Syria	"},
    {code:"SZ",name:"Swaziland	"},
    {code:"TC",name:"Turks & Caicos Islands	"},
    {code:"TD",name:"Chad	"},
    {code:"TF",name:"French Southern Territories	"},
    {code:"TG",name:"Togo	"},
    {code:"TH",name:"Thailand	"},
    {code:"TJ",name:"Tajikistan	"},
    {code:"TK",name:"Tokelau	"},
    {code:"TL",name:"Timor-Leste (East Timor)	"},
    {code:"TM",name:"Turkmenistan	"},
    {code:"TN",name:"Tunisia	"},
    {code:"TO",name:"Tonga	"},
    {code:"TR",name:"Turkey	"},
    {code:"TT",name:"Trinidad & Tobago	"},
    {code:"TV",name:"Tuvalu	"},
    {code:"TW",name:"Taiwan	"},
    {code:"TZ",name:"Tanzania	"},
    {code:"UA",name:"Ukraine	"},
    {code:"UG",name:"Uganda	"},
    {code:"UM",name:"United States Minor Outlying Islands	"},
    {code:"US",name:"United States of America (USA)	"},
    {code:"UY",name:"Uruguay	"},
    {code:"UZ",name:"Uzbekistan	"},
    {code:"VA",name:"Vatican City (The Holy See)	"},
    {code:"VC",name:"St. Vincent & the Grenadines	"},
    {code:"VE",name:"Venezuela	"},
    {code:"VG",name:"British Virgin Islands	"},
    {code:"VI",name:"United States Virgin Islands	"},
    {code:"VN",name:"Vietnam	"},
    {code:"VU",name:"Vanuatu	"},
    {code:"WF",name:"Wallis and Futuna	"},
    {code:"WS",name:"Samoa	"},
    {code:"YE",name:"Yemen	"},
    {code:"YT",name:"Mayotte	"},
    {code:"ZA",name:"South Africa	"},
    {code:"ZM",name:"Zambia	"},
    {code:"ZW",name:"Zimbabwe	"},
]

export const Language = [
    {code:"AA",name: "Afar"                              },
    {code:"AB",name: "Abkhazian"                         },
    {code:"AF",name: "Afrikaans"                         },
    {code:"AM",name: "Amharic"                           },
    {code:"AR",name: "Arabic"                            },
    {code:"AS",name: "Assamese"                          },
    {code:"AY",name: "Aymara"                            },
    {code:"AZ",name: "Azerbaijani"                       },
    {code:"BA",name: "Bashkir"                           },
    {code:"BE",name: "Byelorussian"                      },
    {code:"BG",name: "Bulgarian"                         },
    {code:"BH",name: "Bihari"                            },
    {code:"BI",name: "Bislama"                           },
    {code:"BN",name: "Bengali/Bangla"                    },
    {code:"BO",name: "Tibetan"                           },
    {code:"BR",name: "Breton"                            },
    {code:"CA",name: "Catalan"                           },
    {code:"CO",name: "Corsican"                          },
    {code:"CS",name: "Czech"                             },
    {code:"CY",name: "Welsh"                             },
    {code:"DA",name: "Danish"                            },
    {code:"DE",name: "German"                            },
    {code:"DZ",name: "Bhutani"                           },
    {code:"EL",name: "Greek"                             },
    {code:"EN",name: "English/  American"                },
    {code:"EO",name: "Esperanto"                         },
    {code:"ES",name: "Spanish"                           },
    {code:"ET",name: "Estonian"                          },
    {code:"EU",name: "Basque"                            },
    {code:"FA",name: "Persian"                           },
    {code:"FI",name: "Finnish"                           },
    {code:"FJ",name: "Fiji"                              },
    {code:"FO",name: "Faeroese"                          },
    {code:"FR",name: "French"                            },
    {code:"FY",name: "Frisian"                           },
    {code:"GA",name: "Irish"                             },
    {code:"GD",name: "Gaelic"                            },
    {code:"GL",name: "Galician"                          },
    {code:"GN",name: "Guarani"                           },
    {code:"GU",name: "Gujarati"                          },
    {code:"HA",name: "Hausa"                             },
    {code:"HI",name: "Hindi"                             },
    {code:"HR",name: "Croatian"                          },
    {code:"HU",name: "Hungarian"                         },
    {code:"HY",name: "Armenian"                          },
    {code:"IA",name: "Interlingua"                       },
    {code:"IE",name: "Interlingue"                       },
    {code:"IK",name: "Inupiak"                           },
    {code:"IN",name: "Indonesian"                        },
    {code:"IS",name: "Icelandic"                         },
    {code:"IT",name: "Italian"                           },
    {code:"IW",name: "Hebrew"                            },
    {code:"JA",name: "Japanese"                          },
    {code:"JI",name: "Yiddish"                           },
    {code:"JW",name: "Javanese"                          },
    {code:"KA",name: "Georgian"                          },
    {code:"KK",name: "Kazakh"                            },
    {code:"KL",name: "Greenlandic"                       },
    {code:"KM",name: "Cambodian"                         },
    {code:"KN",name: "Kannada"                           },
    {code:"KO",name: "Korean"                            },
    {code:"KS",name: "Kashmiri"                          },
    {code:"KU",name: "Kurdish"                           },
    {code:"KY",name: "Kirghiz"                           },
    {code:"LA",name: "Latin"                             },
    {code:"LN",name: "Lingala"                           },
    {code:"LO",name: "Laothian"                          },
    {code:"LT",name: "Lithuanian"                        },
    {code:"LV",name: "Latvian"                           },
    {code:"MG",name: "Malagasy"                          },
    {code:"MI",name: "Maori"                             },
    {code:"MK",name: "Macedonian"                        },
    {code:"ML",name: "Malayalam"                         },
    {code:"MN",name: "Mongolian"                         },
    {code:"MO",name: "Moldavian"                         },
    {code:"MR",name: "Marathi"                           },
    {code:"MS",name: "Malay"                             },
    {code:"MT",name: "Maltese"                           },
    {code:"MY",name: "Burmese"                           },
    {code:"NA",name: "Nauru"                             },
    {code:"NE",name: "Nepali"                            },
    {code:"NL",name: "Dutch"                             },
    {code:"NO",name: "Norwegian"                         },
    {code:"OC",name: "Occitan"                           },
    {code:"OM",name: "Oromo"                       },
    {code:"OR",name: "Oriya"                             },
    {code:"PA",name: "Punjabi"                           },
    {code:"PL",name: "Polish"                            },
    {code:"PS",name: "Pashto"                  },
    {code:"PT",name: "Portuguese"                        },
    {code:"QU",name: "Quechua"                           },
    {code:"RM",name: "Rhaeto-Romance"                    },
    {code:"RN",name: "Kirundi"                           },
    {code:"RO",name: "Romanian"                          },
    {code:"RU",name: "Russian"                           },
    {code:"RW",name: "Kinyarwanda"                       },
    {code:"SA",name: "Sanskrit"                          },
    {code:"SD",name: "Sindhi"                            },
    {code:"SG",name: "Sangro"                            },
    {code:"SH",name: "Serbo-Croatian"                    },
    {code:"SI",name: "Singhalese"                        },
    {code:"SK",name: "Slovak"                            },
    {code:"SL",name: "Slovenian"                         },
    {code:"SM",name: "Samoan"                            },
    {code:"SN",name: "Shona"                             },
    {code:"SO",name: "Somali"                            },
    {code:"SQ",name: "Albanian"                          },
    {code:"SR",name: "Serbian"                           },
    {code:"SS",name: "Siswati"                           },
    {code:"ST",name: "Sesotho"                           },
    {code:"SU",name: "Sudanese"                          },
    {code:"SV",name: "Swedish"                           },
    {code:"SW",name: "Swahili"                           },
    {code:"TA",name: "Tamil"                             },
    {code:"TE",name: "Tegulu"                            },
    {code:"TG",name: "Tajik"                             },
    {code:"TH",name: "Thai"                              },
    {code:"TI",name: "Tigrinya"                          },
    {code:"TK",name: "Turkmen"                           },
    {code:"TL",name: "Tagalog"                           },
    {code:"TN",name: "Setswana"                          },
    {code:"TO",name: "Tonga"                             },
    {code:"TR",name: "Turkish"                           },
    {code:"TS",name: "Tsonga"                            },
    {code:"TT",name: "Tatar"                             },
    {code:"TW",name: "Twi"                               },
    {code:"UK",name: "Ukrainian"                         },
    {code:"UR",name: "Urdu"                              },
    {code:"UZ",name: "Uzbek"                             },
    {code:"VI",name: "Vietnamese"                        },
    {code:"VO",name: "Volapuk"                           },
    {code:"WO",name: "Wolof"                             },
    {code:"XH",name: "Xhosa"                             },
    {code:"YO",name: "Yoruba"                            },
    {code:"ZH",name: "Chinese"                           },
    {code:"ZU",name: "Zulu"                              },
]

export const _12A = [
    {code:"CLAS",name:"Classification Type"},
    {code:"OPST",name:"Option Style"},
    {code:"OPTI",name:"Option Type"},
]

export const _13A = [
    {code:"LINK",name:"Linked Message"},
    
]

export const _13B = [
    {code:"CERT",name:"Certificate Number"},
    {code:"LOTS",name:"Lot Number"},
]


export const mt320_22B = [
    {code:"CONF",name:"irst confirmation."},
    {code:"MATU",name:"confirmation of the liquidation of a fixed loan/deposit."},
    {code:"ROLL",name:"confirmation of a mutually agreed rollover/renewal with/without change"},
]

export const mt320_14D = [
    {code:"30E/360",name:"30E/360 or Eurobond Basis"},
    {code:"360/360",name:"30/360, 360/360 or Bond Basis"},
    {code:"ACT/360",name:"Actual/360 (28-31/360)"},
    {code:"ACT/365",name:"Actual/365 or Actual/Actual (28-31/365-6)"},
    {code:"AFI/365",name:"Actual/365 (fixed) (28-31/365)"},
]


export const mt300_24D = [
    {code:"BROK",name:"Deal made via a money broker"},
    {code:"ELEC",name:"Deal made via an electronic system (Reuters, EBS etc.)"},
    {code:"PHON",name:"Deal agreed on the phone"},
    {code:"FAXT",name:"Deal agreed by fax"},
    {code:"TELX",name:"Deal agreed by telex"},
]

export const mt320_24D = [
    {code:"BROK",name:"Deal made via a money broker"},
    {code:"ELEC",name:"Deal made via an electronic system (Reuters, EBS etc.)"},
    {code:"PHON",name:"Deal agreed on the phone"},
]

export const _34C = [
    {code:"ACCA",name:"Accrued Capitalisation      "},
    {code:"ACRU",name:"Accrued Interest Amount     "},
    {code:"AKTI",name:"Aktiengewinn                "},
    {code:"ANTO",name:"Net Gain/Loss Amount        "},
    {code:"BAKL",name:"Backload Fees Amount        "},
    {code:"CBCH",name:"Correspondent Bank Charges  "},
    {code:"CHAR",name:"Charges/Fees                "},
    {code:"COAX",name:"Consumption Tax             "},
    {code:"COUN",name:"Country, National, Federal Tax"},
    {code:"CREB",name:"Rebate/Bonification         "},
    {code:"DEAL",name:"Trade Amount                "},
    {code:"DSCA",name:"Discount Amount             "},
    {code:"ENTF",name:"Entrance Fees Amount        "},
    {code:"EQUL",name:"Equalisation/Depreciation Deposit"},
    {code:"ERFE",name:"Early Redemption Fee Amount "},
    {code:"EUTR",name:"EU Tax Retention Amount     "},
    {code:"EXEC",name:"Executing Broker's Commission"},
    {code:"HDGE",name:"Hedging cost                "},
    {code:"ISDI",name:"Issue Discount/Allowance    "},
    {code:"LADT",name:"Local Tax (Country specific 1)"},
    {code:"LEVY",name:"Payment Levy Tax            "},
    {code:"LIDT",name:"Local Tax (Country specific 2)"},
    {code:"LOCL",name:"Local Tax                   "},
    {code:"LOCO",name:"Local Broker's Commission   "},
    {code:"LOTE",name:"Local Tax (Country specific 3)"},
    {code:"LYDT",name:"Local Tax (Country specific 4)"},
    {code:"MACO",name:"Matching/Confirmation Fee   "},
    {code:"MARG",name:"Margin Amount               "},
    {code:"OCMT",name:"Original Currency Amount    "},
    {code:"OTHR",name:"Other Amount                "},
    {code:"OTMG",name:"On top Margin               "},
    {code:"PRDF",name:"Difference in Price         "},
    {code:"PRMA",name:"Premium Amount              "},
    {code:"PRWI",name:"Partial Redemption Withholding Amount"},
    {code:"REFD",name:"Expected Refund             "},
    {code:"REGF",name:"Regulatory Fees             "},
    {code:"REMU",name:"Remuneration Amount         "},
    {code:"RESU",name:"Resulting Amount            "},
    {code:"RSCH",name:"Research fees               "},
    {code:"SAMG",name:"Sales Margin                "},
    {code:"SETT",name:"Settlement Amount           "},
    {code:"SHIP",name:"Shipping Amount             "},
    {code:"SPCN",name:"Special Concessions         "},
    {code:"STAM",name:"Stamp Duty                  "},
    {code:"STEX",name:"Stock Exchange Tax          "},
    {code:"SUBS",name:"Subscription Interest       "},
    {code:"TOTL",name:"Total value of all commissions"},
    {code:"TRAN",name:"Transfer Tax                "},
    {code:"TRAX",name:"Transaction Tax             "},
    {code:"VATA",name:"Value-Added Tax             "},
    {code:"WITH",name:"Withholding Tax             "},
    {code:"ZWIS",name:"Zwischengewinn              "},
]


export const mt300_77H = [
    {code:"AFB",name:"AFB Master Agreement"},
    {code:"DERV",name:"Deutscher Rahmenvertrag für Finanztermingeschäfte"},
    {code:"FBF",name:"Fédération Bancaire Française Master Agreement"},
    {code:"FEOMA",name:"FEOMA Master Agreement"},
    {code:"ICOM",name:"ICOM Master Agreement"},
    {code:"IFEMA",name:"IFEMA Master Agreement"},
    {code:"ISDA",name:"ISDA Master Agreement"},
    {code:"ISDACN",name:"ISDA Master Agreement plus Additional for CNY"},
    {code:"OTHER",name:"OTHER..."},
]

export const mt300_17M = [
    {code:"A",name:"Assurance undertaking authorised"},
    {code:"C",name:"Credit institution authorised"},
    {code:"F",name:"Investment firm"},
    {code:"I",name:"Insurance undertaking authorised"},
    {code:"L",name:"Alternative investment fund managed by AIFMs authorised"},
    {code:"O",name:"Institution for occupational retirement provision"},
    {code:"R",name:"Reinsurance undertaking authorised"},
    {code:"U",name:"UCITS and its management company, authorised"},
    
]

export const mt300_21H = [
    {code:"EAMT",name:"Early delivery"},
    {code:"PEAM",name:"Partial early delivery"},
    {code:"PRUR",name:"Partial unwind rollover"},
    {code:"PRUW",name:"Partial unwind"},
    {code:"ROLL",name:"Rollover"},
    {code:"UNWD",name:"Unwind"},
    {code:"UNWR",name:"Unwind rollover"},
    
    
]

export function FormatAmount(amt)
{
    if(!amt)
        return ;
    //amt = amt.replace(/[]/g,'')
    amt = amt.replace('.',',')
    if(amt.indexOf(',')<0)
        amt = amt + ','
    return amt
}

