# Conflicts: # pom.xml # src/main/java/au/com/royalpay/payment/manage/dev/web/TestController.javamaster
commit
ab6de4d914
@ -0,0 +1,221 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta charset="utf-8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1"/>
|
||||
<meta http-equiv="cache-control" content="max-age=0"/>
|
||||
<meta http-equiv="cache-control" content="no-cache"/>
|
||||
<meta http-equiv="expires" content="0"/>
|
||||
<meta http-equiv="expires" content="Tue, 01 Jan 1980 1:00:00 GMT"/>
|
||||
<title> [[${#dates.format((new java.util.Date()), 'dd-MM-yyyy')}]] [[${parmerters.partnerCode}]] Invoice</title>
|
||||
<link rel="stylesheet" href="/static/templates/mch_invoice.css"/>
|
||||
<style type="text/css">
|
||||
.divcontent {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
float: left;
|
||||
margin: 1px;
|
||||
align-items: start;
|
||||
display: flex;
|
||||
text-align: center;
|
||||
margin-top: 5%;
|
||||
margin-left: 5%;
|
||||
margin-right: 5%;
|
||||
}
|
||||
|
||||
.divcontent_left {
|
||||
width: 50%;
|
||||
height: auto;
|
||||
text-align: left;
|
||||
float: left;
|
||||
white-space: normal;
|
||||
word-break: break-all;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
.divcontent_right {
|
||||
width: 50%;
|
||||
height: auto;
|
||||
float: right;
|
||||
text-align: left;
|
||||
white-space: normal;
|
||||
word-break: break-all;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
.divinvoicesTitle {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
float: left;
|
||||
background: #FF6600;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
text-align: left;
|
||||
padding-top: 10px;
|
||||
padding-bottom: 10px;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.divinvoicesContent {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
float: left;
|
||||
background: white;;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
text-align: left;
|
||||
padding-top: 10px;
|
||||
padding-bottom: 10px;
|
||||
color: black;
|
||||
}
|
||||
|
||||
.divinvoiceItem {
|
||||
height: auto;
|
||||
float: left;
|
||||
padding-left: 3px;
|
||||
white-space: normal;
|
||||
word-break: break-all;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
.spantitle {
|
||||
color: #FF6600;
|
||||
font-size: 20px;
|
||||
height: auto;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.divSumary {
|
||||
child-align: middle;
|
||||
border-bottom: 2px solid #000;
|
||||
margin-bottom: 10px;
|
||||
padding-bottom: 10px;
|
||||
width: 85%;
|
||||
}
|
||||
|
||||
.spancontent-title {
|
||||
width: 40%;
|
||||
float: left;
|
||||
color: #000000;
|
||||
font-size: 17px;
|
||||
font-weight: bold;
|
||||
vertical-align: center;
|
||||
|
||||
}
|
||||
|
||||
.spancontent-value {
|
||||
color: #000000;
|
||||
font-size: 17px;
|
||||
font-weight: bold;
|
||||
padding-left: 5px;
|
||||
vertical-align: center;
|
||||
|
||||
}
|
||||
|
||||
.statement_title {
|
||||
padding-bottom: 2%;
|
||||
padding-top: 2%;
|
||||
float: left;
|
||||
padding-left: 5%;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="divcontent">
|
||||
|
||||
<div class="divcontent_left">
|
||||
<img src="https://mpay.royalpay.com.au/static/images/rp_logo.png" alt="" height="100px"/>
|
||||
<img th:if="${orgInfo.logo!='none'}" th:src="${orgInfo.logo}" width="100px" height="100px" style="padding-left: 10px"/>
|
||||
<br/>
|
||||
<span>Tunnel Show Pty Ltd trading as RoyalPay</span><br/>
|
||||
<span>ABN 16 601 619 685</span><br/>
|
||||
<span> Representative of AFSL 448066</span>
|
||||
<br/><br/>
|
||||
<span th:text="${parmerters.clientName}"></span><br/>
|
||||
|
||||
</div>
|
||||
<div class="divcontent_right">
|
||||
<div style="padding-bottom: 10%">
|
||||
<span class="spantitle">Tax Invoice </span>
|
||||
</div>
|
||||
<div class="divSumary"><span class="spancontent-title">Merchant code</span><span class="spancontent-value"
|
||||
th:text="${parmerters.partnerCode}"></span>
|
||||
</div>
|
||||
<div class="divSumary"><span class="spancontent-title">Statement</span><span class="spancontent-value"
|
||||
th:text="${parmerters.dateRange}"></span>
|
||||
</div>
|
||||
<div class="divSumary"><span class="spancontent-title">
|
||||
Issue Date</span>
|
||||
<span class="spancontent-value"
|
||||
th:text="${#dates.format((new java.util.Date()), 'dd-MM-yyyy')}"></span>
|
||||
</div>
|
||||
<div class="divSumary"><span class="spancontent-title">Current</span><span class="spancontent-value"
|
||||
th:text="${parmerters.balance}"></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="statement_title">
|
||||
<span class="spantitle">Your Statement</span><br/>
|
||||
</div>
|
||||
<div class="divinvoicesTitle">
|
||||
<div class="divinvoiceItem" style="width: 16%">
|
||||
<span>Date/Time</span>
|
||||
</div>
|
||||
<div class="divinvoiceItem" style="width: 22%">
|
||||
<span>Transaction ID</span>
|
||||
|
||||
</div>
|
||||
<div class="divinvoiceItem" style="width: 10%">
|
||||
<span>Debit</span>
|
||||
|
||||
</div>
|
||||
<div class="divinvoiceItem" style="width: 10%">
|
||||
<span>Credit</span>
|
||||
|
||||
</div>
|
||||
<div class="divinvoiceItem" style="width: 14%">
|
||||
<span>Service Fee for RoyalPay (GST inclu)</span>
|
||||
|
||||
</div>
|
||||
<div class="divinvoiceItem" style="width: 12%">
|
||||
<span>Service fee for Mini Program(GST Inclu)</span>
|
||||
</div>
|
||||
|
||||
<div class="divinvoiceItem" style="width: 11%">
|
||||
<span>Settlement Amount</span>
|
||||
</div>
|
||||
</div>
|
||||
<div th:each="invoicedata:${dataList}">
|
||||
<div class="divinvoicesContent">
|
||||
<div class="divinvoiceItem" style="width: 16%">
|
||||
<span th:text="${invoicedata.transaction_time}?:'-'"></span>
|
||||
</div>
|
||||
<div class="divinvoiceItem" style="width: 22%">
|
||||
<span th:text="${invoicedata.order_id}?:'-'"></span>
|
||||
|
||||
</div>
|
||||
<div class="divinvoiceItem" style="width: 10%;padding-left: 10px">
|
||||
<span th:text="${invoicedata.debit}?:'-'">-</span>
|
||||
|
||||
</div>
|
||||
<div class="divinvoiceItem" style="width: 10%">
|
||||
<span th:text="${invoicedata.credit}?:'-'">-</span>
|
||||
</div>
|
||||
<div class="divinvoiceItem" style="width: 14%">
|
||||
<span th:text="${invoicedata.real_royalpay_surcharge}?:'-'"></span>
|
||||
|
||||
</div>
|
||||
<div class="divinvoiceItem" style="width: 12%">
|
||||
<span th:text="${invoicedata.incremental_surcharge}?:'-'"></span>
|
||||
</div>
|
||||
|
||||
<div class="divinvoiceItem" style="width: 11%">
|
||||
<span th:text="${invoicedata.settle_amount}?:'-'"></span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,108 @@
|
||||
.divcontent {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
float: left;
|
||||
margin: 1px;
|
||||
align-items: start;
|
||||
display: flex;
|
||||
text-align: center;
|
||||
margin-top: 5%;
|
||||
margin-left: 5%;
|
||||
margin-right: 5%;
|
||||
}
|
||||
|
||||
.divcontent_left {
|
||||
width: 50%;
|
||||
height: auto;
|
||||
text-align: left;
|
||||
float: left;
|
||||
white-space: normal;
|
||||
word-break: break-all;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
.divcontent_right {
|
||||
width: 50%;
|
||||
height: auto;
|
||||
float: right;
|
||||
text-align: left;
|
||||
white-space: normal;
|
||||
word-break: break-all;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
.divinvoicesTitle {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
float: left;
|
||||
background: #FF6600;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
text-align: left;
|
||||
padding-top: 10px;
|
||||
padding-bottom: 10px;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.divinvoicesContent {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
float: left;
|
||||
background: white;;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
text-align: left;
|
||||
padding-top: 10px;
|
||||
padding-bottom: 10px;
|
||||
color: black;
|
||||
}
|
||||
|
||||
.divinvoiceItem {
|
||||
height: auto;
|
||||
float: left;
|
||||
padding-left: 3px;
|
||||
white-space: normal;
|
||||
word-break: break-all;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
.spantitle {
|
||||
color: #FF6600;
|
||||
font-size: 20px;
|
||||
height: auto;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.divSumary {
|
||||
child-align: middle;
|
||||
border-bottom: 2px solid #000;
|
||||
margin-bottom: 10px;
|
||||
padding-bottom: 10px;
|
||||
width: 85%;
|
||||
}
|
||||
|
||||
.spancontent-title {
|
||||
width: 40%;
|
||||
float: left;
|
||||
color: #000000;
|
||||
font-size: 17px;
|
||||
font-weight: bold;
|
||||
vertical-align: center;
|
||||
|
||||
}
|
||||
|
||||
.spancontent-value {
|
||||
color: #000000;
|
||||
font-size: 17px;
|
||||
font-weight: bold;
|
||||
padding-left: 5px;
|
||||
vertical-align: center;
|
||||
|
||||
}
|
||||
.statement_title{
|
||||
padding-bottom: 2%;
|
||||
padding-top: 2%;
|
||||
float: left;
|
||||
padding-left: 5%;
|
||||
}
|
Loading…
Reference in new issue