Commit 8a5e7617 by Nilu

listinng invoices

parent 8e25861a
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
String nextPage = WebUtils.getSamePageInRenderMode(request, "Page"); String nextPage = WebUtils.getSamePageInRenderMode(request, "Page");
StripeUtils.retrieveInvoices(company); List<Invoice> invoices = StripeUtils.retrieveInvoices(company);
%> %>
<div class="container-fluid"> <div class="container-fluid">
...@@ -48,24 +48,24 @@ ...@@ -48,24 +48,24 @@
<div class="line-break"></div> <div class="line-break"></div>
<%-- <%
for(invoices) for(Invoice invoice : invoices)
{ {
%> %>
<div class="a-label-row"> <div class="a-label-row">
<div class="col-md-2 col-sm-2 col-xs-2 text-left inv-det"> <div class="col-md-2 col-sm-2 col-xs-2 text-left inv-det">
<oneit:toString value="<%= DateDiff.getToday() %>" mode="MidDate"/> <oneit:toString value="<%= new Date(invoice.getDate() * 1000) %>" mode="MidDate"/>
</div> </div>
<div class="col-md-6 col-sm-6 col-xs-6 text-left inv-des"> <div class="col-md-6 col-sm-6 col-xs-6 text-left inv-des">
Subscription 5 Jobs per month (Annual discount) Subscription <%= StringUtils.subNulls(invoice.getDescription(), "") %>
<div class="inv-det">#12536536</div> <!--<div class="inv-det">#12536536</div>-->
</div> </div>
<div class="col-md-2 col-sm-2 col-xs-2 text-right inv-amt"> <div class="col-md-2 col-sm-2 col-xs-2 text-right inv-amt">
<oneit:toString value="<%= 1500D %>" mode="Currency"/> <oneit:toString value="<%= invoice.getAmountDue() * 0.01 %>" mode="Currency"/>
</div> </div>
<div class="col-md-2 col-sm-2 col-xs-2 text-right inv-det"> <div class="col-md-2 col-sm-2 col-xs-2 text-right inv-det">
<a href="#"> <a href="#">
<span class=""><img src="images/pdf.png" class="inv-pdf"/><span> <span class=""><img src="images/pdf.svg" class="inv-pdf"/><span>
&nbsp; &nbsp;
PDF PDF
</a> </a>
...@@ -75,7 +75,7 @@ ...@@ -75,7 +75,7 @@
<div class="line-break"></div> <div class="line-break"></div>
<% <%
} }
--%> %>
</div> </div>
</div> </div>
</div> </div>
......
<?xml version="1.0" encoding="UTF-8"?>
<svg width="19px" height="24px" viewBox="0 0 19 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<!-- Generator: sketchtool 48.2 (47327) - http://www.bohemiancoding.com/sketch -->
<title>C8712D45-F20C-4D6B-8B1B-7BF5B326C740</title>
<desc>Created with sketchtool.</desc>
<defs>
<polygon id="path-1" points="0.0177487805 0.0224188235 16.8673079 0.0224188235 16.8673079 22.1449412 0.0177487805 22.1449412"></polygon>
<polygon id="path-3" points="0 23.9775812 18.9526738 23.9775812 18.9526738 0.0564705882 0 0.0564705882"></polygon>
</defs>
<g id="HT024---Invoices" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" transform="translate(-1304.000000, -514.000000)">
<g id="Group-2-Copy-2" transform="translate(706.000000, 514.000000)">
<g id="pdf" transform="translate(598.000000, 0.000000)">
<g id="Group-3" transform="translate(2.085366, 0.034052)">
<mask id="mask-2" fill="white">
<use xlink:href="#path-1"></use>
</mask>
<g id="Clip-2"></g>
<path d="M7.64427927,21.2940988 L1.96148354,21.2940988 C1.37057195,21.2940988 0.890590244,20.7648 0.890590244,20.11392 L0.890590244,9.82689882 L0.0177487805,9.82689882 L0.0177487805,20.11392 C0.0177487805,21.2336753 0.889721341,22.1449412 1.96148354,22.1449412 L8.31889512,22.1449412 L7.64427927,21.2940988 Z M12.4516848,5.32585412 C12.1410232,5.32585412 11.8879409,5.03909647 11.8879409,4.68598588 L11.8879409,1.53865412 L15.4403037,5.32585412 L12.4516848,5.32585412 Z M11.6478921,0.0223623529 L1.96148354,0.0223623529 C0.889721341,0.0223623529 0.0177487805,0.933628235 0.0177487805,2.05338353 L0.0177487805,3.89212235 L0.890590244,3.89212235 L0.890590244,2.05338353 C0.890590244,1.40250353 1.37057195,0.873261176 1.96148354,0.873261176 L11.0150415,0.873261176 L11.0150415,4.68598588 C11.0150415,5.50791529 11.6593616,6.17669647 12.4516848,6.17669647 L15.9944896,6.17669647 L15.9944896,20.11392 C15.9944896,20.7648 15.5143921,21.2940988 14.9235384,21.2940988 L13.6727823,21.2940988 L12.9981085,22.1449412 L14.9235384,22.1449412 C15.9953006,22.1449412 16.8673311,21.2336753 16.8673311,20.11392 L16.8673311,5.58618353 L11.6478921,0.0223623529 Z" id="Fill-1" fill="#4D4D4D" mask="url(#mask-2)"></path>
</g>
<mask id="mask-4" fill="white">
<use xlink:href="#path-3"></use>
</mask>
<g id="Clip-5"></g>
<polygon id="Fill-4" fill="#E03E1A" mask="url(#mask-4)" points="0 9.26575059 11.5930122 9.26575059 11.5930122 4.52188235 0 4.52188235"></polygon>
<path d="M9.05765915,18.7693271 C8.94823537,18.7693271 8.84831159,18.8299765 8.80011646,18.9258071 C8.75186341,19.0215247 8.76373841,19.1357082 8.83070183,19.2200753 L12.5170494,23.86896 C12.5713848,23.9375153 12.6552049,23.9776094 12.7440646,23.9776094 C12.8328665,23.9776094 12.9166866,23.9375153 12.9710799,23.86896 L16.6574854,19.2200753 C16.7244488,19.1357082 16.7363238,19.0215247 16.6880707,18.9258071 C16.6398756,18.8299765 16.5399518,18.7693271 16.4304701,18.7693271 L15.072839,18.7693271 C14.9935951,18.7693271 14.9293543,18.7067576 14.9293543,18.6294494 L14.9293543,13.6545035 C14.9293543,13.5 14.8008726,13.3748047 14.6424427,13.3748047 L10.8457445,13.3748047 C10.6873146,13.3748047 10.5588329,13.5 10.5588329,13.6545035 L10.5588329,18.6294494 C10.5588329,18.7067576 10.4945921,18.7693271 10.4153482,18.7693271 L9.05765915,18.7693271 Z" id="Fill-6" fill="#E03E1A" mask="url(#mask-4)"></path>
<path d="M2.56623384,6.78934588 C2.6268253,6.80301176 2.7010875,6.80747294 2.80350213,6.80747294 C3.18066372,6.80747294 3.41347165,6.62134588 3.41347165,6.30816 C3.41347165,6.02693647 3.21333445,5.85888 2.8595753,5.85888 C2.71522165,5.85888 2.6173253,5.87248941 2.56623384,5.88609882 L2.56623384,6.78934588 Z M1.8633497,5.40056471 C2.08202348,5.36414118 2.38915152,5.33703529 2.82232835,5.33703529 C3.25990762,5.33703529 3.57195945,5.41863529 3.78124909,5.58206118 C3.98173384,5.73645176 4.11670335,5.99056941 4.11670335,6.29008941 C4.11670335,6.58960941 4.01428872,6.84389647 3.82776433,7.01635765 C3.58597774,7.23879529 3.22729482,7.33863529 2.80842591,7.33863529 C2.71522165,7.33863529 2.63140152,7.33411765 2.56623384,7.32491294 L2.56623384,8.41880471 L1.8633497,8.41880471 L1.8633497,5.40056471 Z" id="Fill-7" fill="#FFFFFF" mask="url(#mask-4)"></path>
<path d="M5.28203476,7.89680753 C5.34227866,7.91047341 5.44011707,7.91047341 5.52851341,7.91047341 C6.17109573,7.915104 6.5903122,7.57012518 6.5903122,6.83922635 C6.59483049,6.20381929 6.21315061,5.86804518 5.60312317,5.86804518 C5.44469329,5.86804518 5.34227866,5.88171106 5.28203476,5.89515106 L5.28203476,7.89680753 Z M4.56965061,5.40052518 C4.83014756,5.35969694 5.17017805,5.33699576 5.52851341,5.33699576 C6.12440671,5.33699576 6.51112622,5.44135341 6.81362012,5.66384753 C7.13963232,5.89983812 7.34440366,6.27655341 7.34440366,6.81658165 C7.34440366,7.40212518 7.1255561,7.80605929 6.82312012,8.05565929 C6.49253171,8.32349929 5.98949512,8.45061459 5.37494939,8.45061459 C5.00711402,8.45061459 4.74632744,8.42785694 4.56965061,8.40515576 L4.56965061,5.40052518 Z" id="Fill-8" fill="#FFFFFF" mask="url(#mask-4)"></path>
<polygon id="Fill-9" fill="#FFFFFF" mask="url(#mask-4)" points="7.81178049 5.35968565 9.72962195 5.35968565 9.72962195 5.92698918 8.52410671 5.92698918 8.52410671 6.62598212 9.65078354 6.62598212 9.65078354 7.18893741 8.52410671 7.18893741 8.52410671 8.41881035 7.81178049 8.41881035"></polygon>
</g>
</g>
</g>
</svg>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment