International.cshtml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332
  1. @model economy.Models.View<economy.Models.Financial.International.Request, economy.Models.Financial.International.Response>
  2. @{
  3. ViewData["Title"] = "국제 금리";
  4. }
  5. <div class="container">
  6. <h3>국제 금리</h3>
  7. @await Html.PartialAsync("NavTab")
  8. <div class="row mt-3 mb-3">
  9. <div class="col-auto">
  10. <input type="date" name="date" id="date" class="form-control" value="@Model.Request.DateFormatted" form="fSearch" />
  11. </div>
  12. </div>
  13. <p>
  14. 한국수출입은행이 제공하는 국제 금리 정보입니다.
  15. 각 대출기간에 대한 고정기준금리를 일 기준으로 제공합니다.
  16. </p>
  17. <div id="financialInternational" class="row row-cols-sm-1 row-cols-md-2 row-cols-lg-3 row-cols-xl-4">
  18. <div class="col">
  19. <table class="table table-bordered table-hover">
  20. <thead>
  21. <tr>
  22. <th>통화</th>
  23. <th>기준</th>
  24. <th>금리</th>
  25. </tr>
  26. </thead>
  27. <tbody>
  28. @if (Model.Response?.SofrList != null && Model.Response?.SofrList.Count() > 0)
  29. {
  30. @foreach (var row in Model.Response.SofrList)
  31. {
  32. <tr>
  33. <td>@row.CurFund</td>
  34. <td>@row.InterestName</td>
  35. <td>@row.InterestRate</td>
  36. </tr>
  37. }
  38. }
  39. else
  40. {
  41. <tr>
  42. <td colspan="3">
  43. No data.
  44. </td>
  45. </tr>
  46. }
  47. </tbody>
  48. </table>
  49. </div>
  50. <div class="col">
  51. <table class="table table-bordered table-hover">
  52. <thead>
  53. <tr>
  54. <th>통화</th>
  55. <th>기준</th>
  56. <th>금리</th>
  57. </tr>
  58. </thead>
  59. <tbody>
  60. @if (Model.Response?.EstrList != null && Model.Response?.EstrList.Count() > 0)
  61. {
  62. @foreach (var row in Model.Response.EstrList)
  63. {
  64. <tr>
  65. <td>@row.CurFund</td>
  66. <td>@row.InterestName</td>
  67. <td>@row.InterestRate</td>
  68. </tr>
  69. }
  70. }
  71. else
  72. {
  73. <tr>
  74. <td colspan="3">
  75. No data.
  76. </td>
  77. </tr>
  78. }
  79. </tbody>
  80. </table>
  81. </div>
  82. <div class="col">
  83. <table class="table table-bordered table-hover">
  84. <thead>
  85. <tr>
  86. <th>통화</th>
  87. <th>기준</th>
  88. <th>금리</th>
  89. </tr>
  90. </thead>
  91. <tbody>
  92. @if (Model.Response?.EuriborList != null && Model.Response?.EuriborList.Count() > 0)
  93. {
  94. @foreach (var row in Model.Response.EuriborList)
  95. {
  96. <tr>
  97. <td>@row.CurFund</td>
  98. <td>@row.InterestName</td>
  99. <td>@row.InterestRate</td>
  100. </tr>
  101. }
  102. }
  103. else
  104. {
  105. <tr>
  106. <td colspan="3">
  107. No data.
  108. </td>
  109. </tr>
  110. }
  111. </tbody>
  112. </table>
  113. </div>
  114. <div class="col">
  115. <table class="table table-bordered table-hover">
  116. <thead>
  117. <tr>
  118. <th>통화</th>
  119. <th>기준</th>
  120. <th>금리</th>
  121. </tr>
  122. </thead>
  123. <tbody>
  124. @if (Model.Response?.TonaList != null && Model.Response?.TonaList.Count() > 0)
  125. {
  126. @foreach (var row in Model.Response.TonaList)
  127. {
  128. <tr>
  129. <td>@row.CurFund</td>
  130. <td>@row.InterestName</td>
  131. <td>@row.InterestRate</td>
  132. </tr>
  133. }
  134. }
  135. else
  136. {
  137. <tr>
  138. <td colspan="3">
  139. No data.
  140. </td>
  141. </tr>
  142. }
  143. </tbody>
  144. </table>
  145. </div>
  146. <div class="col">
  147. <table class="table table-bordered table-hover">
  148. <thead>
  149. <tr>
  150. <th>통화</th>
  151. <th>기준</th>
  152. <th>금리</th>
  153. </tr>
  154. </thead>
  155. <tbody>
  156. @if (Model.Response?.TiborList != null && Model.Response?.TiborList.Count() > 0)
  157. {
  158. @foreach (var row in Model.Response.TiborList)
  159. {
  160. <tr>
  161. <td>@row.CurFund</td>
  162. <td>@row.InterestName</td>
  163. <td>@row.InterestRate</td>
  164. </tr>
  165. }
  166. }
  167. else
  168. {
  169. <tr>
  170. <td colspan="3">
  171. No data.
  172. </td>
  173. </tr>
  174. }
  175. </tbody>
  176. </table>
  177. </div>
  178. <div class="col">
  179. <table class="table table-bordered table-hover">
  180. <thead>
  181. <tr>
  182. <th>통화</th>
  183. <th>기준</th>
  184. <th>금리</th>
  185. </tr>
  186. </thead>
  187. <tbody>
  188. @if (Model.Response?.SwapRfrList != null && Model.Response?.SwapRfrList.Count() > 0)
  189. {
  190. @foreach (var row in Model.Response.SwapRfrList)
  191. {
  192. <tr>
  193. <td>@row.CurFund</td>
  194. <td>@row.InterestName</td>
  195. <td>@row.InterestRate</td>
  196. </tr>
  197. }
  198. }
  199. else
  200. {
  201. <tr>
  202. <td colspan="3">
  203. No data.
  204. </td>
  205. </tr>
  206. }
  207. </tbody>
  208. </table>
  209. </div>
  210. <div class="col">
  211. <table class="table table-bordered table-hover">
  212. <thead>
  213. <tr>
  214. <th>통화</th>
  215. <th>기준</th>
  216. <th>금리</th>
  217. </tr>
  218. </thead>
  219. <tbody>
  220. @if (Model.Response?.LiborList != null && Model.Response?.LiborList.Count() > 0)
  221. {
  222. @foreach (var row in Model.Response.LiborList)
  223. {
  224. <tr>
  225. <td>@row.CurFund</td>
  226. <td>@row.InterestName</td>
  227. <td>@row.InterestRate</td>
  228. </tr>
  229. }
  230. }
  231. else
  232. {
  233. <tr>
  234. <td colspan="3">
  235. No data.
  236. </td>
  237. </tr>
  238. }
  239. </tbody>
  240. </table>
  241. </div>
  242. <div class="col">
  243. <table class="table table-bordered table-hover">
  244. <thead>
  245. <tr>
  246. <th>통화</th>
  247. <th>기준</th>
  248. <th>금리</th>
  249. </tr>
  250. </thead>
  251. <tbody>
  252. @if (Model.Response?.SwapList != null && Model.Response?.SwapList.Count() > 0)
  253. {
  254. @foreach (var row in Model.Response.SwapList)
  255. {
  256. <tr>
  257. <td>@row.CurFund</td>
  258. <td>@row.InterestName</td>
  259. <td>@row.InterestRate</td>
  260. </tr>
  261. }
  262. }
  263. else
  264. {
  265. <tr>
  266. <td colspan="3">
  267. No data.
  268. </td>
  269. </tr>
  270. }
  271. </tbody>
  272. </table>
  273. </div>
  274. <div class="col">
  275. <table class="table table-bordered table-hover">
  276. <thead>
  277. <tr>
  278. <th>통화</th>
  279. <th>기준</th>
  280. <th>금리</th>
  281. </tr>
  282. </thead>
  283. <tbody>
  284. @if (Model.Response?.CirrList != null && Model.Response?.CirrList.Count() > 0)
  285. {
  286. @foreach (var row in Model.Response.CirrList)
  287. {
  288. <tr>
  289. <td>@row.CurFund</td>
  290. <td>@row.InterestName</td>
  291. <td>@row.InterestRate</td>
  292. </tr>
  293. }
  294. }
  295. else
  296. {
  297. <tr>
  298. <td colspan="3">
  299. No data.
  300. </td>
  301. </tr>
  302. }
  303. </tbody>
  304. </table>
  305. </div>
  306. </div>
  307. <form id="fSearch" method="get" accept-charset="UTF-8" rel="search" autocomplete="off" asp-controller="Financial" asp-action="International"></form>
  308. </div>
  309. @section Scripts {
  310. <script src="~/js/financial.js" asp-append-version="true"></script>
  311. }
  312. @section Styles {
  313. <link href="~/css/style.css" rel="stylesheet" asp-append-version="true" />
  314. }