master
yuan 7 years ago
parent 7c8188466c
commit c76c1f3a63

@ -21,7 +21,7 @@ define(['angular', 'angularSanitize', 'angularAnimate', 'angularMessages', 'uiRo
$scope.loadCurrentUser = function () {
$http.get('/global/userstatus/current_partner').then(function (resp) {
$rootScope.currentUser = resp.data;
if ((resp.data.client.approve_result == 2 || resp.data.client.approve_result == 3) && resp.data.client.source == 4) {
/* if ((resp.data.client.approve_result == 2 || resp.data.client.approve_result == 3) && resp.data.client.source == 4) {
if (resp.data.wechat_openid == null) {
$scope.newPartnerGuide(resp.data);
} else {
@ -32,7 +32,7 @@ define(['angular', 'angularSanitize', 'angularAnimate', 'angularMessages', 'uiRo
});
}
}
}*/
if ($rootScope.currentUser.is_password_expired) {
commonDialog.confirm({
title: 'Change Password!',

@ -911,7 +911,13 @@ define(['angular','decimal', 'uiRouter', 'uiBootstrap', 'angularEcharts'], funct
controller: 'unSettledAmountHistoryDialogCtrl'
})
};
$scope.contactCustomerService = function () {
$uibModal.open({
templateUrl: 'static/dashboard/templates/dashboard_service_support.html',
controller: 'contactCustomerServiceDialogCtrl',
size: 'sm'
})
};
$scope.getClearingTransactions = function (client_id, detailId) {
clearingDetailService.clientClearingDetail(client_id, detailId, true)
};
@ -950,6 +956,11 @@ define(['angular','decimal', 'uiRouter', 'uiBootstrap', 'angularEcharts'], funct
})
}
}]);
app.controller('contactCustomerServiceDialogCtrl', ['$scope', '$http', function ($scope, $http) {
}]);
app.filter('abs', function () {
return function (value) {
return Math.abs(value);

@ -198,6 +198,9 @@
.start_email{
font-size: 15px;
}
.text-gray{
color: grey !important;
}
</style>
<section class="content-header">
@ -223,7 +226,7 @@
<div class="col-sm-12">
<div class="panel panel-default" ng-if="source == 4 && approve_result != 1">
<div class="panel-heading">
<h3 class="panel-title"><em>Tips:</em> Started with RoyalPay</h3>
<h3 class="panel-title"><em><small>Tips:</small></em> Started with RoyalPay</h3>
</div>
<div class="panel-body">
<div class="start_item col-sm-6 col-xs-12">
@ -232,10 +235,9 @@
<i class="fa fa-dot-circle-o" ng-if="!mail_confirm"></i>
</div>
<div class="start_text">
<p><a href="" class="text-primary" role="button" title="Send"
ng-click="checkEmail(mail_confirm)">
<span class="text-info">&nbsp;Verify your email address <em>{{currentUser.client.contact_email}}</em></span>
<i class="fa fa-paper-plane-o"></i>
<p><a href="" class="text-primary" role="button" title="Send">
<span ng-class="{'text-gray':mail_confirm,'text-primary':!mail_confirm}">&nbsp;Verify your email address <em>{{currentUser.client.contact_email}}</em></span>
<i class="fa fa-paper-plane-o" ng-if="!mail_confirm" ng-click="checkEmail(mail_confirm)"></i>
</a>
</p>
</div>
@ -248,12 +250,12 @@
</div>
<div class="start_text">
<p ng-if="!commitPartnerInfo">&nbsp;
<a href="" class="text-primary" ui-sref="basic.payment_info_edit">
<a href="" ui-sref="basic.payment_info_edit" ng-class="{'text-gray':commitPartnerInfo,'text-primary':!commitPartnerInfo}">
Complete your company information
</a>
</p>
<p ng-if="commitPartnerInfo">&nbsp;
<a href="" class="text-primary" ui-sref="basic">
<a href="" ng-class="{'text-gray':commitPartnerInfo,'text-primary':!commitPartnerInfo}" ui-sref="basic">
Complete your company information
</a>
</p>
@ -266,7 +268,7 @@
</div>
<div class="start_text">
<p>&nbsp;
<a href="" class="text-primary" ui-sref="basic.compliance_files">
<a href="" ng-class="{'text-gray':toCommitFiles,'text-primary':!toCommitFiles}" ui-sref="basic.compliance_files">
Submit materials required for compliance audits
</a>
</p>
@ -286,7 +288,8 @@
</div>
</div>
<div class="col-sm-12">
<small style="color: grey">在账户完成认证审核之前,所有进行的交易不会进行清算,若有疑问,请联系我们的<a href="">客服!</a></small>
<small style="color: grey">As soon as you create a RoyalPay account, you can use all of RoyalPay's features, including accepting payments from customers.
But before you activate your account, RoyalPay will not execute settlement.Therefore, it is recommended that you submit your compliance materials as soon as possible, and our compliance department will notify you when the audit is completed. If you have any questions, you can contact our<a href="" ng-click="contactCustomerService()"> customer service!</a>.</small>
</div>
</div>
</div>

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

Loading…
Cancel
Save