1
0

rekonKAI.jsp 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649
  1. <%@ include file="../common/header.jsp"%>
  2. <script type="text/javascript" src="./js/jquery/jquery-1.4.2.min.js"></script>
  3. <script type="text/javascript">
  4. var errorhandler = function(xhr, textStatus, error){
  5. // do something on error case
  6. };
  7. $(document).ready(function(){
  8. var errorhandler = function(xhr, textStatus, error){
  9. $("#alertContainer").html("error ocurredx");
  10. };
  11. $("#viewRekonData").click(function() {
  12. $("#viewRekonData").attr("disabled", true);
  13. //console.log("viewInfo clicked");
  14. $.post(
  15. "rekon.do" ,
  16. {
  17. action: 'viewRekonInfo',
  18. startDate: $('#startDate').val(),
  19. endDate: $('#endDate').val(),
  20. fileDate: $('#fileDate').val(),
  21. billerId: '200301422',
  22. folder:'/KAI/COREBP',
  23. downloadedDir: '/KAI/SYB',
  24. downloadedFileExtension: '.RPT',
  25. fileName: '200[QL:KAI05]-[DF:[LD],yyyy-MM-dd,yyyyMMdd]01.TXT',
  26. //fileName2: '200[QL:KAI05]-[DF:[LD],yyyy-MM-dd,yyyyMMdd]02.TXT',
  27. regionCode: '01',
  28. uploadedDir: '/KAI/COREBP',
  29. uploadedFileExtension: '.TXT',
  30. chanel: $('#biller').val()
  31. } ,
  32. function(data){
  33. //console.log("success submit");
  34. //console.log(data);
  35. var downloadLink = "?rekon.do?action=download&file=";
  36. var uploadedFiles = data["uploadedFiles"];
  37. $("#generatedListTable > tbody").find("tr").remove();
  38. if (uploadedFiles != "NOT_EXISTS") {
  39. for (var i=0; i < uploadedFiles.length; i++) {
  40. var uploadedFile = uploadedFiles[i];
  41. downloadLink = '<a href="rekon.do?action=download&file='+ uploadedFile.fileName +'&folder=' + uploadedFile.directory + '">' + uploadedFile.fileName + '</a>';
  42. $("#generatedListTable > tbody").append('<tr class="tr1"><td>' + downloadLink + '</td><td>' + uploadedFile.fileSize + '</td><td>' + uploadedFile.created + '</td><td></td></tr>');
  43. }
  44. $("#generateAlert").html("Success get generated files");
  45. } else {
  46. $("#generateAlert").html("Generate file not exist");
  47. }
  48. var uploadLogs = data["uploadLogs"];
  49. $("#uploadedListTable > tbody").find("tr").remove();
  50. if (uploadLogs != "NOT_EXISTS") {
  51. for (var i=0; i < uploadLogs.length; i++) {
  52. var uploadLog = uploadLogs[i];
  53. //console.log("upload log: " + uploadLog);
  54. $("#uploadedListTable > tbody").append('<tr class="tr1"><td>Uploaded</td><td>' + uploadLog.fromApp + '</td><td>' + uploadLog.dateString + '</td><td></td></tr>');
  55. }
  56. $("#uploadAlert").html("Success download upload logs");
  57. } else {
  58. $("#uploadAlert").html("Upload logs not exists");
  59. }
  60. var downloadedFiles = data["downloadedFiles"];
  61. $("#downloadedListTable > tbody").find("tr").remove();
  62. if (downloadedFiles != "NOT_EXISTS") {
  63. for (var i=0; i < downloadedFiles.length; i++) {
  64. var downloadedFile = downloadedFiles[i];
  65. downloadLink = '<a href="rekon.do?action=download&file='+ downloadedFile.fileName +'&folder=' + downloadedFile.directory + '">' + downloadedFile.fileName + '</a>';
  66. $("#downloadedListTable > tbody").append('<tr class="tr1"><td>' + downloadLink + '</td><td>' + downloadedFile.fileSize + '</td><td>' + downloadedFile.created + '</td><td></td></tr>');
  67. }
  68. $("#downloadAlert").html("Success get download file");
  69. } else {
  70. $("#downloadAlert").html("Downloaded files not exist");
  71. }
  72. var settlements = data["settlements"];
  73. $("#settlementListTable > tbody").find("tr").remove();
  74. if (settlements != "NOT_EXISTS") {
  75. for (var i=0; i < settlements.length; i++) {
  76. var settlement = settlements[i];
  77. downloadLink = '<a href="rekon.do?action=download&file='+ settlement.fileName +'&folder=' + settlement.directory + '">' + settlement.fileName + '</a>';
  78. $("#settlementListTable > tbody").append('<tr class="tr1"><td>' + downloadLink + '</td><td>' + settlement.fileSize + '</td><td>' + settlement.created + '</td><td></td></tr>');
  79. }
  80. $("#settlementAlert").html("Success get settlements files");
  81. } else {
  82. $("#settlementAlert").html("Settlement files not exist");
  83. }
  84. $("#uploadAlert").fadeIn();
  85. $("#uploadAlert").delay(<bean:message key="rekon.jquery.delay"/>).fadeOut(<bean:message key="rekon.jquery.fadeout"/>);
  86. $("#generateAlert").fadeIn();
  87. $("#generateAlert").delay(<bean:message key="rekon.jquery.delay"/>).fadeOut(<bean:message key="rekon.jquery.fadeout"/>);
  88. $("#downloadAlert").fadeIn();
  89. $("#downloadAlert").delay(<bean:message key="rekon.jquery.delay"/>).fadeOut(<bean:message key="rekon.jquery.fadeout"/>);
  90. $("#settlementAlert").fadeIn();
  91. $("#settlementAlert").delay(<bean:message key="rekon.jquery.delay"/>).fadeOut(<bean:message key="rekon.jquery.fadeout"/>);
  92. //console.log(downloadedFiles);
  93. //console.log(uploadedFiles);
  94. //console.log(settlements);
  95. $("#viewRekonData").attr("disabled", false);
  96. }, "json"
  97. );
  98. });
  99. $("#generatePrepaidRekon").click(function() {
  100. $("#generatePrepaidRekon").attr("disabled", true);
  101. $('#fileName').val("200[QL:KAI05]-[DF:[LD],yyyy-MM-dd,yyyyMMdd]01.TXT")
  102. $('#fileName2').val("200[QL:KAI05]-[DF:[LD],yyyy-MM-dd,yyyyMMdd]02.TXT")
  103. $('#folder').val("/KAI/COREBP")
  104. $('#step').val("KAI_PROC")
  105. $.ajax({
  106. url: 'rekon.do',
  107. data: {
  108. action: 'generate',
  109. startDate: $('#startDate').val(),
  110. endDate: $('#endDate').val(),
  111. fileDate: $('#fileDate').val(),
  112. chanel: $('#biller').val(),
  113. fileName: '200[QL:KAI05]-[DF:[LD],yyyy-MM-dd,yyyyMMdd]01.TXT',
  114. //fileName2: '200[QL:KAI05]-[DF:[LD],yyyy-MM-dd,yyyyMMdd]02.TXT',
  115. folder: '/KAI/COREBP',
  116. step: $('#step').val()
  117. },
  118. type: 'post',
  119. success: function(response){
  120. //console.log("success submit");
  121. //console.log(response);
  122. if (response != "NOT_EXISTS") {
  123. $("#generatedListTable > tbody").find("tr").remove();
  124. for (var i=0; i < response.length; i++) {
  125. var generatedFile = response[i];
  126. var downloadLink = "?rekon.do?action=download&file=";
  127. downloadLink = '<a href="rekon.do?action=download&file='+ generatedFile.fileName +'&folder=' + generatedFile.directory + '">' + generatedFile.fileName + '</a>';
  128. $("#generatedListTable > tbody").append('<tr class="tr1"><td>' + downloadLink + '</td><td>' + generatedFile.fileSize + '</td><td>' + generatedFile.created + '</td><td></td></tr>');
  129. }
  130. $("#generateAlert").html("Success generate files");
  131. } else {
  132. $("#generateAlert").html("Generated file not exist");
  133. }
  134. $("#generateAlert").fadeIn();
  135. $("#generateAlert").delay(<bean:message key="rekon.jquery.delay"/>).fadeOut(<bean:message key="rekon.jquery.fadeout"/>);
  136. $("#generatePrepaidRekon").attr("disabled", false);
  137. },
  138. error: errorhandler,
  139. dataType: 'json'
  140. });
  141. });
  142. $("#upload").click(function() {
  143. //console.log("upload clicked");
  144. $("#upload").attr("disabled", true);
  145. $('#step').val("KAI_SYBUPLOAD")
  146. $.ajax({
  147. url: 'rekon.do',
  148. data: {
  149. action: 'upload',
  150. startDate: $('#startDate').val(),
  151. endDate: $('#endDate').val(),
  152. fileDate: $('#fileDate').val(),
  153. fileName: '200[QL:KAI05]-[DF:[LD],yyyy-MM-dd,yyyyMMdd]01.TXT',
  154. chanel: $('#biller').val(),
  155. step: $('#step').val()
  156. },
  157. type: 'post',
  158. success: function(response){
  159. //console.log("success submit");
  160. //console.log(response);
  161. if (response != "NOT_EXISTS") {
  162. $("#uploadedListTable > tbody").find("tr").remove();
  163. for (var i=0; i < response.length; i++) {
  164. var uploadedFile = response[i];
  165. //console.log("uploaded file: " + uploadedFile);
  166. $("#uploadedListTable > tbody").append('<tr class="tr1"><td>Uploaded</td><td>' + uploadedFile.fromApp + '</td><td>' + uploadedFile.dateString + '</td><td></td></tr>');
  167. }
  168. $("#uploadAlert").html("success upload files");
  169. } else {
  170. $("#uploadAlert").html("Can not get uploaded files");
  171. }
  172. $("#uploadAlert").fadeIn();
  173. $("#uploadAlert").delay(<bean:message key="rekon.jquery.delay"/>).fadeOut(<bean:message key="rekon.jquery.fadeout"/>);
  174. $("#upload").attr("disabled", false);
  175. },
  176. error: errorhandler,
  177. dataType: 'json'
  178. });
  179. });
  180. $("#download").click(function() {
  181. //console.log("viewGeneratedFile clicked");
  182. $("#download").attr("disabled", true);
  183. $('#step').val("KAI_SYBDOWNLOAD")
  184. $.ajax({
  185. url: "rekon.do",
  186. data: {
  187. action: 'downloadFtp',
  188. startDate: $('#startDate').val(),
  189. endDate: $('#endDate').val(),
  190. fileDate: $('#fileDate').val(),
  191. chanel: $('#biller').val(),
  192. uploadedDir: '/KAI/COREBP',
  193. uploadedFileExtension: '.TXT',
  194. downloadedDir: '/KAI/SYB',
  195. downloadedFileExtension: '.TXT',
  196. tempFileFormat: 'yyyyMMdd',
  197. regionCode: '01',
  198. billerId: '200301422',
  199. fileName: '200[QL:KAI05]-[DF:[LD],yyyy-MM-dd,yyyyMMdd]01.RPT',
  200. //fileName2: '200[QL:KAI05]-[DF:[LD],yyyy-MM-dd,yyyyMMdd]02.RPT',
  201. step: $('#step').val()
  202. },
  203. type: 'post',
  204. success: function(response){
  205. //console.log("success submit");
  206. //console.log(response);
  207. if (response != "NOT_EXISTS") {
  208. $("#downloadedListTable > tbody").find("tr").remove();
  209. for (var i=0; i < response.length; i++) {
  210. var downloadedFile = response[i];
  211. var downloadLink = "?rekon.do?action=download&file=";
  212. downloadLink = '<a href="rekon.do?action=download&file='+ downloadedFile.fileName +'&folder=' + downloadedFile.directory + '">' + downloadedFile.fileName + '</a>';
  213. $("#downloadedListTable > tbody").append('<tr class="tr1"><td>' + downloadLink + '</td><td>' + downloadedFile.fileSize + '</td><td>' + downloadedFile.created + '</td><td></td></tr>');
  214. }
  215. $("#downloadAlert").html("Success download files");
  216. } else {
  217. $("#downloadAlert").html("Download files not exist");
  218. }
  219. $("#downloadAlert").fadeIn();
  220. $("#downloadAlert").delay(<bean:message key="rekon.jquery.delay"/>).fadeOut(<bean:message key="rekon.jquery.fadeout"/>);
  221. $("#download").attr("disabled", false);
  222. },
  223. error: errorhandler,
  224. dataType: 'json'
  225. });
  226. });
  227. $("#runSettlement").click(function() {
  228. $("#runSettlement").attr("disabled", true);
  229. $.ajax({
  230. url: "rekon.do" ,
  231. data: {
  232. action: 'runSettlement',
  233. startDate: $('#startDate').val(),
  234. endDate: $('#endDate').val(),
  235. fileDate: $('#fileDate').val(),
  236. chanel: 'KAI',
  237. step: $('#step').val()
  238. },
  239. type: 'post',
  240. success: function(response){
  241. //console.log(response);
  242. if (response != "NOT_EXISTS") {
  243. if (response.errorCode == null) {
  244. $("#settlementListTable > tbody").find("tr").remove();
  245. for (var i=0; i < response.length; i++) {
  246. var settlement = response[i];
  247. var downloadLink = "?rekon.do?action=download&file=";
  248. downloadLink = '<a href="rekon.do?action=download&file='+ settlement.fileName +'&folder=' + settlement.directory + '">' + settlement.fileName + '</a>';
  249. $("#settlementListTable > tbody").append('<tr class="tr1"><td>' + downloadLink + '</td><td>' + settlement.fileSize + '</td><td>' + settlement.created + '</td><td></td></tr>');
  250. }
  251. $("#settlementAlert").html("Succes generated settlements");
  252. } else {
  253. $("#settlementAlert").html("There some error while generating report, please call your administrator");
  254. }
  255. } else {
  256. $("#settlementAlert").html("Settlement files not exist");
  257. }
  258. $("#settlementAlert").fadeIn();
  259. $("#settlementAlert").delay(<bean:message key="rekon.jquery.delay"/>).fadeOut(<bean:message key="rekon.jquery.fadeout"/>);
  260. $("#runSettlement").attr("disabled", false);
  261. },
  262. error: errorhandler,
  263. dataType: 'json'
  264. });
  265. });
  266. });
  267. function page(start, count){
  268. document.forms.appSetting.start.value=start;
  269. document.forms.appSetting.count.value=count;
  270. document.forms.appSetting.action.value="list";
  271. document.forms.appSetting.submit();
  272. }
  273. function doChangePage(count){
  274. document.forms.appSetting.start.value= (document.forms.appSetting.startx.value-1)*20;
  275. if(document.forms.appSetting.start.value=="NaN") document.forms.appSetting.start.value = 0;
  276. document.forms.appSetting.count.value=count;
  277. document.forms.appSetting.action.value="list";
  278. document.forms.appSetting.submit();
  279. //doDisable(document.forms.appSetting, "button");
  280. }
  281. function fillIndex(val){
  282. document.forms.appSetting.startx.value = val.value;
  283. }
  284. function doCreate(){
  285. document.forms.rekonFirst.action.value="generate";
  286. document.forms.rekonFirst.chanel.value = document.forms.rekonForm.billler.value;
  287. document.forms.rekonFirst.submit();
  288. doDisable(document.forms.rekonFirst, "button");
  289. }
  290. function doDetail(code){
  291. document.forms.appSetting.code.value=code;
  292. document.forms.appSetting.action.value="detail";
  293. document.forms.appSetting.submit();
  294. }
  295. function doFilter(){
  296. document.forms.appSetting.action.value="list";
  297. document.forms.appSetting.submit();
  298. doDisable(document.forms.appSetting, "button");
  299. }
  300. function doReset(){
  301. document.forms.appSetting.appSetting_code_filter.value="";
  302. document.forms.appSetting.appSetting_name_filter.value="";
  303. document.forms.appSetting.clear.value="true";
  304. document.forms.appSetting.action.value="list";
  305. document.forms.appSetting.submit();
  306. doDisable(document.forms.appSetting, "button");
  307. }
  308. function doOrder(field, type){
  309. document.forms.appSetting.appSetting_fieldOrder.value=field;
  310. document.forms.appSetting.appSetting_orderType.value=type;
  311. document.forms.appSetting.action.value="list";
  312. document.forms.appSetting.submit();
  313. doDisable(document.forms.status, "button");
  314. }
  315. </script>
  316. <!-- CONTENT -->
  317. <form name="rekonForm" method="post" action="appSetting.do">
  318. <input type="hidden" name="biller" value="KAI">
  319. <input type="hidden" name="start" value="">
  320. <input type="hidden" name="startx" value="">
  321. <input type="hidden" name="action" value="">
  322. <input type="hidden" name="count" value="">
  323. <input type="hidden" name="code" value="">
  324. <input type="hidden" name="clear" value="">
  325. <input type="hidden" name="focus_field" value=""/>
  326. <!--td width="80%" valign="top"-->
  327. <table width="100%" border="0" cellspacing="1" cellpadding="2">
  328. <tr>
  329. <td colspan="3" class="AddressTitle">REKON</td>
  330. </tr>
  331. <tr>
  332. <td width="20%">Biller</td>
  333. <td width="2%">:</td>
  334. <td width="78%">
  335. &nbsp;KAI
  336. </td>
  337. </tr>
  338. <tr>
  339. <td width="20%">Start Date</td>
  340. <td width="2%">:</td>
  341. <td width="78%">
  342. <input type="text" id="startDate" name="startDate" value="" size="15" maxlength="10" >
  343. <a href="javascript:cal_startDate.popup();"><img src="./images/cal.gif" width="16" height="16" border="0" alt=""></a>
  344. <script type="text/javascript" language="javascript">
  345. var cal_startDate= new calendar1(document.forms['rekonForm'].elements['startDate']);
  346. </script>
  347. </td>
  348. </tr>
  349. <tr>
  350. <td width="20%">End Date</td>
  351. <td width="2%">:</td>
  352. <td width="78%">
  353. <input type="text" id="endDate" "name="endDate" value="" size="15" maxlength="10" >
  354. <a href="javascript:cal_endDate.popup();"><img src="./images/cal.gif" width="16" height="16" border="0" alt=""></a>
  355. <script type="text/javascript" language="javascript">
  356. var cal_endDate = new calendar1(document.forms['rekonForm'].elements['endDate']);
  357. </script>
  358. </td>
  359. </tr>
  360. <tr>
  361. <td width="20%">Rekon Date</td>
  362. <td width="2%">:</td>
  363. <td width="78%">
  364. <input type="text" id="fileDate" name="fileDate" value="" size="15" maxlength="10" >
  365. <a href="javascript:cal_rekonDate.popup();"><img src="./images/cal.gif" width="16" height="16" border="0" alt=""></a>
  366. <script type="text/javascript" language="javascript">
  367. var cal_rekonDate = new calendar1(document.forms['rekonForm'].elements['fileDate']);
  368. </script>
  369. </td>
  370. </tr>
  371. <tr>
  372. <td colspan="3">
  373. <input type="button" id="viewRekonData" name="viewRekonData" value="View"></td>
  374. </tr>
  375. </table>
  376. </form>
  377. <br>
  378. <script language="javascript">
  379. function toggle(targetId) {
  380. target = document.all(targetId);
  381. if (target.style.display == "none"){
  382. target.style.display="";
  383. } else {
  384. target.style.display="none";
  385. }
  386. }
  387. //-->
  388. </script>
  389. <table width="100%" cellspacing="5" cellpadding="5">
  390. <tr>
  391. <td align="center" class="boxWhite">
  392. <table width="100%" border="0" cellspacing="1" cellpadding="2">
  393. <tr>
  394. <td colspan="3"><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td class="AddressTitle2">Generate Transaction Text </td><td align="right" class="AddressTitle2"><a href="javascript:toggle('generateLink')">View</a></td></tr></table></td>
  395. </tr>
  396. </table>
  397. <table width="100%" border="0" cellspacing="2" cellpadding="2">
  398. <tr>
  399. <td colspan="3">
  400. <table width="100%" cellpadding="0" cellspacing="0" border="0">
  401. <tr>
  402. <td class="AddressTitle2"><span id="generateAlert"></span></td>
  403. </tr></table></td>
  404. </tr>
  405. </table>
  406. <div id="generateLink" >
  407. <form name="rekonFirst" method="post" action="rekon.do">
  408. <input type="hidden" name="action" value="">
  409. <input type="hidden" name="chanel" value="">
  410. <input type="hidden" id="step" "name="step" value="1">
  411. <table width="100%" border="0" cellspacing="1" cellpadding="2">
  412. <tr>
  413. <td><input type="button" name="generatePrepaidRekon" id="generatePrepaidRekon" value="Generate" /></td>
  414. <td>&nbsp;</td>
  415. <td>
  416. </td>
  417. </tr>
  418. </table>
  419. <br>
  420. <table id="generatedListTable" width="100%" border="0" cellspacing="1" cellpadding="2">
  421. <thead>
  422. <tr>
  423. <td class="titleField">File Name</td>
  424. <td class="titleField">File Size</td>
  425. <td class="titleField">Date</td>
  426. <td class="titleField">&nbsp;</td>
  427. </tr>
  428. </thead>
  429. <tbody>
  430. <tr class="tr1">
  431. <td align="center">&nbsp;</td>
  432. <td align="center">&nbsp;</td>
  433. <td align="center">&nbsp;</td>
  434. <td align="center">&nbsp;</td>
  435. </tr>
  436. </tbody>
  437. </table>
  438. </form>
  439. </div>
  440. </td>
  441. </tr>
  442. <tr>
  443. <!-- -->
  444. <td class="boxWhite">
  445. <table width="100%" border="0" cellspacing="1" cellpadding="2">
  446. <tr>
  447. <td colspan="3"><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td class="AddressTitle2">Upload Data </td><td align="right" class="AddressTitle2"><a href="javascript:toggle('uploadLink','slide')">View</a></td></tr></table></td>
  448. </tr>
  449. </table>
  450. <table width="100%" border="0" cellspacing="2" cellpadding="2">
  451. <tr>
  452. <td colspan="3">
  453. <table width="100%" cellpadding="0" cellspacing="0" border="0">
  454. <tr>
  455. <td class="AddressTitle2"><span id="uploadAlert"></span></td>
  456. </tr>
  457. </table>
  458. </td>
  459. </tr>
  460. </table>
  461. <div id="uploadLink">
  462. <table width="100%" border="0" cellspacing="1" cellpadding="2">
  463. <tr>
  464. <td><input type="reset" name="upload" id="upload" value="Upload" /></td>
  465. <td>&nbsp;</td>
  466. <td></td>
  467. </tr>
  468. </table>
  469. <br/>
  470. <table id="uploadedListTable" width="100%" border="0" cellspacing="1" cellpadding="2">
  471. <thead>
  472. <tr>
  473. <td class="titleField">Upload Status</td>
  474. <td class="titleField">App</td>
  475. <td class="titleField">Date</td>
  476. <td class="titleField">&nbsp;</td>
  477. </tr>
  478. </thead>
  479. <tbody>
  480. <tr class="tr1">
  481. <td align="center">&nbsp;</td>
  482. <td align="center">&nbsp;</td>
  483. <td align="center">&nbsp;</td>
  484. <td align="center">&nbsp;</td>
  485. </tr>
  486. </tbody>
  487. </table>
  488. </div>
  489. </td>
  490. </tr>
  491. <tr>
  492. <td class="boxWhite">
  493. <table width="100%" border="0" cellspacing="1" cellpadding="2">
  494. <tr>
  495. <td colspan="3"><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td class="AddressTitle2">Download Data </td><td align="right" class="AddressTitle2"><a href="javascript:toggle('downloadLink','slide')">View</a></td></tr></table></td>
  496. </tr>
  497. </table>
  498. <table width="100%" border="0" cellspacing="2" cellpadding="2">
  499. <tr>
  500. <td colspan="3">
  501. <table width="100%" cellpadding="0" cellspacing="0" border="0">
  502. <tr><td class="AddressTitle2"><span id="downloadAlert"></span></td>
  503. </tr>
  504. </table>
  505. </td>
  506. </tr>
  507. </table>
  508. <div id="downloadLink">
  509. <table width="100%" border="0" cellspacing="1" cellpadding="2">
  510. <tr>
  511. <td><input type="reset" name="download" id="download" value="Download" /></td>
  512. <td>&nbsp;</td>
  513. <td></td>
  514. </tr>
  515. </table>
  516. <br/>
  517. <table id="downloadedListTable" width="100%" border="0" cellspacing="1" cellpadding="2">
  518. <thead>
  519. <tr>
  520. <td class="titleField">File Name</td>
  521. <td class="titleField">File Size</td>
  522. <td class="titleField">Date</td>
  523. <td class="titleField">&nbsp;</td>
  524. </tr>
  525. </thead>
  526. <tbody>
  527. <tr class="tr1">
  528. <td align="center">&nbsp;</td>
  529. <td align="center">&nbsp;</td>
  530. <td align="center">&nbsp;</td>
  531. <td align="center">&nbsp;</td>
  532. </tr>
  533. </tbody>
  534. </table>
  535. </div>
  536. </td>
  537. </tr>
  538. <!--<tr>
  539. <td class="boxWhite">
  540. <table width="100%" border="0" cellspacing="2" cellpadding="2">
  541. <tr>
  542. <td colspan="3"><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td class="AddressTitle2">Rekon KAI</td><td align="right" class="AddressTitle2"><a href="javascript:toggle('Link3','slide')">View</a></td></tr></table></td>
  543. </tr>
  544. </table>
  545. <table width="100%" border="0" cellspacing="2" cellpadding="2">
  546. <tr>
  547. <td colspan="3">
  548. <table width="100%" cellpadding="0" cellspacing="0" border="0">
  549. <tr><td class="AddressTitle2"><span id="settlementAlert"></span></td>
  550. </tr>
  551. </table>
  552. </td>
  553. </tr>
  554. </table>
  555. <div id="Link3">
  556. <table width="100%" border="0" cellspacing="2" cellpadding="2">
  557. <tr>
  558. <td><input type="button" value="Run Settlement" name="runSettlement" id="runSettlement" /></td>
  559. <td>&nbsp;</td>
  560. <td></td>
  561. </tr>
  562. </table>
  563. <br/>
  564. <table id="settlementListTable" width="100%" border="0" cellspacing="1" cellpadding="2">
  565. <thead>
  566. <tr>
  567. <td class="titleField">File Name</td>
  568. <td class="titleField">File Size</td>
  569. <td class="titleField">Date</td>
  570. <td class="titleField">&nbsp;</td>
  571. </tr>
  572. </thead>
  573. <tbody>
  574. <tr class="tr1">
  575. <td align="center">&nbsp;</td>
  576. <td align="center">&nbsp;</td>
  577. <td align="center">&nbsp;</td>
  578. <td align="center">&nbsp;</td>
  579. </tr>
  580. </tbody>
  581. </table>
  582. </div>
  583. </td>
  584. </tr>
  585. --></table>
  586. <!-- END CONTENT -->
  587. <logic:notEmpty name="focus"><bean:write name="focus" filter="false" /></logic:notEmpty>
  588. <%@ include file="../common/footer.jsp"%>