Skip to content

Commit

Permalink
feat: add rest of payment detail pages
Browse files Browse the repository at this point in the history
  • Loading branch information
namanaman committed Aug 9, 2024
1 parent b3e408d commit 00c68fb
Show file tree
Hide file tree
Showing 12 changed files with 2,754 additions and 8 deletions.
2 changes: 1 addition & 1 deletion cypress/fixtures/paymentDetail/paymentDetail.min.js

Large diffs are not rendered by default.

331 changes: 331 additions & 0 deletions cypress/fixtures/paymentDetail/paymentDetailLeaveEndedFLI.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,331 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<!-- <script
src="/x-Son-call-your-ble-hastlement-ins-hold-noised-h"
async
></script> -->
<title>payment page</title>
<link rel="stylesheet" type="text/css" href="../sharedAssets/dabi.css" />
<script type="text/javascript">
const overrideScript = document.createElement("script");
overrideScript.defer = true;
overrideScript.src = "./paymentDetail.min.js";
document.head.appendChild(overrideScript);
</script>

<!--
<script src="https://beta.nj.gov/files/tdi-fli-claim-status/paymentDetailOverride.min.js" defer></script>
-->
</head>

<script type="text/javascript">
//alert("starting at the top of dabiPayment.jsp");

function claimdetail() {
document.forms[0].seqNum.value = "002";
document.forms[0].action = "/DOL_DABI/jsp/dabiDetail.jsp";
document.forms[0].target = "_parent";
document.forms[0].submit();

//document.forms[0].action="/DOL_DABI/DOL_DABI_CLAIMDETAIL";
//document.forms[0].submit();
}
function userLogout() {
document.forms[0].action = "/DOL_DABI/jsp/logout.jsp";
document.forms[0].submit();
}
</script>
<body bgcolor="#003366" onLoad="document.forms[0].reset();">
<form name="claimlist" method="post">
<input type="hidden" name="seqNum" value=" " />
<div align="center" bgcolor="#FFFFFF" width="100%">
<table
border="1"
bgcolor="#FFFFFF"
cellpadding="0"
cellspacing="0"
style="border-collapse: collapse"
bordercolor="#111111"
width="100%"
height="94"
id="AutoNumber1"
>
<tr width="100%" height="94">
<td width="80%" align="left" class="backgroundColor">
<img src="../sharedAssets/lwd_banner.jpg" height="60" />
</td>
<td width="20%" align="center" class="backgroundColor">
<img src="../sharedAssets/lwd_logo.jpg" height="60" />
</td>
</tr>

<tr></tr>
</table>
</div>
<div bgcolor="#FFFFFF" width="100%" align="center">
<table
border="0"
cellpadding="0"
cellspacing="0"
style="border-collapse: collapse"
bordercolor="#111111"
width="100%"
id="AutoNumber2"
bgcolor="#FFFFFF"
>
<!-- A1 row -->
<tr>
<td width="30%">&nbsp;&nbsp;</td>
<td width="30%" align="center">
<font size="4"><b>PAYMENT DETAIL</b></font>
</td>
<td width="40%">&nbsp;&nbsp;</td>
</tr>

<tr>
<td colspan="3" align="left" class="indent">
<font size="4"><b>JENNI MAHLSTEDT </b></font
><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;XXX-XX-2204
</td>
</tr>

<!-- space row -->
<tr>
<td width="30%">&nbsp;&nbsp;</td>
<td width="30%">&nbsp;&nbsp;</td>
<td width="40%">&nbsp;&nbsp;</td>
</tr>
<!-- A1 row -->
<tr>
<td width="25%" class="indent">
Sequence Number:&nbsp;002<br />&nbsp;&nbsp;&nbsp;&nbsp; Claim
Type:&nbsp;&nbsp;&nbsp;&nbsp;FLI
</td>
<td width="30%">&nbsp;&nbsp;</td>
<td width="45%">&nbsp;&nbsp;</td>
</tr>

<!-- space row -->
<tr>
<td width="30%">&nbsp;&nbsp;</td>
<td width="30%">&nbsp;&nbsp;</td>
<td width="40%">&nbsp;&nbsp;</td>
</tr>

<!-- space row -->
<tr>
<td width="25%" class="indent">Request for continued</td>
<td width="30%">&nbsp;&nbsp;</td>
<td width="45%">&nbsp;&nbsp;</td>
</tr>

<!-- space row -->
<tr>
<td colspan="3">
<table border="0" bgcolor="#FFFFFF">
<tr>
<td width="25%" class="indent">claim information mailed:</td>
<td width="30%">
&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp;&nbsp;
</td>
<td width="45%">&nbsp;&nbsp;</td>
</tr>
</table>
</td>
</tr>

<!-- space row -->
<tr>
<td width="30%">&nbsp;&nbsp;</td>
<td width="30%">&nbsp;&nbsp;</td>
<td width="40%">&nbsp;&nbsp;</td>
</tr>

<!-- payment type row -->
<tr>
<td colspan="3">
<table border="0" bgcolor="#FFFFFF">
<tr>
<td width="20%" class="indent" valign="top">
Payment Type:&nbsp;
</td>
<td width="80%" colspan="2">
<!-- Replaced text2. Your payment is being applied to a debit card issued by the Bank of America. For additional information regarding <a href="http://lwd.dol.state.nj.us/labor/tdi/content/debit_cards.html">Debit Cards</a>, please see our website.-->
Your payment method is a prepaid debit card. For additional
information regarding
<a
href="http://lwd.dol.state.nj.us/labor/tdi/content/debit_cards.html"
>Debit Cards</a
>, please see our website.
</td>
</tr>
</table>
</td>
</tr>

<!-- space row -->
<tr>
<td width="30%">&nbsp;&nbsp;</td>
<td width="30%">&nbsp;&nbsp;</td>
<td width="40%">&nbsp;&nbsp;</td>
</tr>

<!-- B11 row -->
<tr>
<td colspan="3">
<table border="0" bgcolor="#FFFFFF">
<tr>
<td width="20%" class="indent" valign="top">
Payment Information:&nbsp;
</td>
<td width="80%" colspan="2">
Your disability / family leave ended on 05/06/2024.
</td>
</tr>
</table>
</td>
</tr>

<!-- space row -->
<tr>
<td width="30%">&nbsp;&nbsp;</td>
<td width="30%">&nbsp;&nbsp;</td>
<td width="40%">&nbsp;&nbsp;</td>
</tr>
</table>
</div>
<div bgcolor="#FFFFFF">
<table
width="100%"
border="1"
align="center"
cellpadding="0"
cellspacing="0"
>
<!-- occuring up to 50 times and depend on sequence # -->
<tr>
<th width="8%">Date</th>
<th width="8%">Gross</th>
<th width="8%">FICA</th>
<th width="8%">Medicare</th>
<th width="8%">DI Offset</th>
<th width="8%">Garnishment</th>
<th width="7%">FIT</th>
<th width="7%">Net</th>
<th width="8%">Payment ID #</th>
<th width="9%">From</th>
<th width="9%">To</th>
</tr>

<tr>
<td width="8%" class="tableBA">08/13/2024</td>
<td width="8%" align="right" bgcolor="#ffffff">$770.00</td>
<td width="8%" class="tableBA">$47.74</td>
<td width="8%" class="tableBA">$11.17</td>
<td width="8%" class="tableBA">$0.00</td>
<td width="8%" class="tableBA">$0.00</td>
<td width="7%" class="tableBA">$0.00</td>
<td width="7%" align="right" bgcolor="#ffffff">$711.09</td>
<td width="8%" class="tableBA">0D015768</td>
<td width="9%" class="tableBA">04/30/2024</td>
<td width="9%" class="tableBA">05/05/2024</td>
</tr>

<tr>
<td width="8%" class="tableBA">05/06/2024</td>
<td width="8%" align="right" bgcolor="#ffffff">$1,669.00</td>
<td width="8%" class="tableBA">$103.48</td>
<td width="8%" class="tableBA">$24.20</td>
<td width="8%" class="tableBA">$0.00</td>
<td width="8%" class="tableBA">$0.00</td>
<td width="7%" class="tableBA">$0.00</td>
<td width="7%" align="right" bgcolor="#ffffff">$1,541.32</td>
<td width="8%" class="tableBA">0D015766</td>
<td width="9%" class="tableBA">04/17/2024</td>
<td width="9%" class="tableBA">04/29/2024</td>
</tr>

<tr>
<td width="8%" class="tableBA">05/06/2024</td>
<td width="8%" align="right" bgcolor="#ffffff">$1,798.00</td>
<td width="8%" class="tableBA">$111.48</td>
<td width="8%" class="tableBA">$26.07</td>
<td width="8%" class="tableBA">$0.00</td>
<td width="8%" class="tableBA">$0.00</td>
<td width="7%" class="tableBA">$0.00</td>
<td width="7%" align="right" bgcolor="#ffffff">$1,660.45</td>
<td width="8%" class="tableBA">0D015764</td>
<td width="9%" class="tableBA">04/03/2024</td>
<td width="9%" class="tableBA">04/16/2024</td>
</tr>

<tr>
<td width="8%" class="tableBA">05/06/2024</td>
<td width="8%" align="right" bgcolor="#ffffff">$899.00</td>
<td width="8%" class="tableBA">$55.74</td>
<td width="8%" class="tableBA">$13.04</td>
<td width="8%" class="tableBA">$0.00</td>
<td width="8%" class="tableBA">$0.00</td>
<td width="7%" class="tableBA">$0.00</td>
<td width="7%" align="right" bgcolor="#ffffff">$830.23</td>
<td width="8%" class="tableBA">0D015765</td>
<td width="9%" class="tableBA">03/27/2024</td>
<td width="9%" class="tableBA">04/02/2024</td>
</tr>
</table>
<!--<hr>-->
<table
width="100%"
border="0"
align="center"
cellpadding="0"
cellspacing="0"
bgcolor="#FFFFFF"
>
<tr>
<td align="center">
<br />
<input
type="button"
name="btnclaimDetail"
value="Claimant Detail"
onClick="claimdetail();"
width="100"
style="width: 140px"
/>
<br /><br />
</td>

<td align="center">
<br />
<input
type="button"
name="print"
value="Print this Page"
onClick="window.print();"
width="100"
style="width: 140px"
/>
<br /><br />
</td>

<td align="center">
<br />
<input
type="button"
name="logout"
value="Logout"
onClick="userLogout();"
width="100"
style="width: 140px"
/>
<br /><br />
</td>
</tr>
</table>
</div>
</form>
</body>
</html>
Loading

0 comments on commit 00c68fb

Please sign in to comment.