diff --git a/src/main/resources/apple_message_cert_product.p12 b/src/main/resources/apple_message_cert_product.p12
index 58c694512..205da3527 100644
Binary files a/src/main/resources/apple_message_cert_product.p12 and b/src/main/resources/apple_message_cert_product.p12 differ
diff --git a/src/main/resources/apple_message_cert_product20180413.p12 b/src/main/resources/apple_message_cert_product20180413.p12
new file mode 100644
index 000000000..58c694512
Binary files /dev/null and b/src/main/resources/apple_message_cert_product20180413.p12 differ
diff --git a/src/main/resources/au/com/royalpay/payment/manage/mappers/payment/TransactionMapper.xml b/src/main/resources/au/com/royalpay/payment/manage/mappers/payment/TransactionMapper.xml
index 0a984284a..dececd472 100644
--- a/src/main/resources/au/com/royalpay/payment/manage/mappers/payment/TransactionMapper.xml
+++ b/src/main/resources/au/com/royalpay/payment/manage/mappers/payment/TransactionMapper.xml
@@ -211,7 +211,7 @@
c.client_moniker client_moniker
FROM pmt_transactions t
INNER JOIN sys_clients c ON t.client_id = c.client_id
- INNER JOIN sys_client_config cc on cc.client_id = c.client_id AND cc.enable_refund_auth = 0
+ INNER JOIN sys_client_config cc on cc.client_id = c.client_id AND cc.enable_refund_auth = 1
GROUP BY c.client_id) a
WHERE a.amount < 0
diff --git a/src/main/resources/jasper/partner_invoice_gst.jasper b/src/main/resources/jasper/partner_invoice_gst.jasper
index 9f8703f18..a5111a4fa 100644
Binary files a/src/main/resources/jasper/partner_invoice_gst.jasper and b/src/main/resources/jasper/partner_invoice_gst.jasper differ
diff --git a/src/main/ui/index.html b/src/main/ui/index.html
index 3f7b55aa6..2bcc76f7a 100644
--- a/src/main/ui/index.html
+++ b/src/main/ui/index.html
@@ -517,6 +517,9 @@ margin-bottom: 10%;"/>
.ng-cloak, [ng-cloak] {
display: none !important;
}
+ .ng-show{
+ display: block !important;
+ }
@keyframes myfirst {
0% {
@@ -743,7 +746,7 @@ margin-bottom: 10%;"/>
-
@@ -773,12 +776,12 @@ margin-bottom: 10%;"/>
+
@@ -845,7 +849,7 @@ margin-bottom: 10%;"/>
-
+
diff --git a/src/main/ui/static/analysis/templates/settle_estimate_analysis.html b/src/main/ui/static/analysis/templates/settle_estimate_analysis.html
index 64a08240e..e2eb2bed8 100644
--- a/src/main/ui/static/analysis/templates/settle_estimate_analysis.html
+++ b/src/main/ui/static/analysis/templates/settle_estimate_analysis.html
@@ -43,12 +43,13 @@
-
diff --git a/src/main/ui/static/css/style.css b/src/main/ui/static/css/style.css
index d6716370e..0e1be58c1 100644
--- a/src/main/ui/static/css/style.css
+++ b/src/main/ui/static/css/style.css
@@ -2819,13 +2819,24 @@ label {
#topnav #navigation {
display: block
}
+ #topnav{
+ display: block;
+ }
+ #toggle{
+ display: none;
+ }
}
@media (max-width: 991px) {
.container-fluid {
width: 100%
}
-
+ #topnav{
+ display: none;
+ }
+ .sm_hid{
+ display: none;
+ }
#topnav .navigation-menu {
float: none;
max-height: 400px;
diff --git a/src/main/ui/static/dashboard/templates/partner_dashboard.html b/src/main/ui/static/dashboard/templates/partner_dashboard.html
index b988db557..999479e12 100644
--- a/src/main/ui/static/dashboard/templates/partner_dashboard.html
+++ b/src/main/ui/static/dashboard/templates/partner_dashboard.html
@@ -299,11 +299,11 @@
{{time_range}}
- {{avgOrderAndCustomer.old_customers.toFixed(0)||0}}
+ {{avgOrderAndCustomer.old_customers.toFixed(0)||0}}
Avg Old Customers
- {{avgOrderAndCustomer.new_customers.toFixed(0)||0}}
+ {{avgOrderAndCustomer.new_customers.toFixed(0)||0}}
Avg New Customers
@@ -334,7 +334,7 @@
-->
-
+
diff --git a/src/main/ui/static/payment/partner/partner-manage.js b/src/main/ui/static/payment/partner/partner-manage.js
index 4474a573b..6df1ad0f9 100644
--- a/src/main/ui/static/payment/partner/partner-manage.js
+++ b/src/main/ui/static/payment/partner/partner-manage.js
@@ -381,6 +381,10 @@ define(['angular', 'decimal', 'static/commons/commons', 'uiBootstrap', 'uiRouter
return;
}
}
+ if (!$scope.partner.logo_url) {
+ alert("Logo is necessary!");
+ return;
+ }
if ($scope.partner.referrer_id) {
$scope.referrers.forEach(function (e) {
if ($scope.partner.referrer_id == e.org_id) {
diff --git a/src/main/ui/static/payment/partner/templates/add_partner.html b/src/main/ui/static/payment/partner/templates/add_partner.html
index eaeb79dd6..9dbb2a3fd 100644
--- a/src/main/ui/static/payment/partner/templates/add_partner.html
+++ b/src/main/ui/static/payment/partner/templates/add_partner.html
@@ -116,7 +116,7 @@