Cleanup inline styles view client,group,center screens

This commit is contained in:
Madhukar 2014-04-03 19:53:55 +05:30
parent e78e310d18
commit a09d404447
8 changed files with 185 additions and 182 deletions

View File

@ -3,6 +3,7 @@
ViewCenterController: function (scope, routeParams, route, location, resourceFactory, $modal) {
scope.center = [];
scope.staffData = {};
scope.formData = {};
resourceFactory.centerResource.get({centerId: routeParams.id, associations: 'groupMembers,collectionMeetingCalendar'}, function (data) {
scope.center = data;
scope.staffData.staffId = data.staffId;
@ -72,6 +73,14 @@
scope.centerdatatables = data;
});
scope.viewDataTable = function (registeredTableName,data){
var locationURI = "/viewdatatableentry/"+registeredTableName+"/"+scope.center.id+"/";
if (scope.datatabledetails.isMultirow) {
locationURI = locationURI + data.row[0];
};
location.path(locationURI);
};
scope.dataTableChange = function (datatable) {
resourceFactory.DataTablesResource.getTableDetails({datatablename: datatable.registeredTableName, entityId: routeParams.id, genericResultSet: 'true'}, function (data) {
scope.datatabledetails = data;

View File

@ -6,6 +6,7 @@
scope.buttons = [];
scope.clientdocuments = [];
scope.staffData = {};
scope.formData = {};
scope.openLoan = true;
scope.openSaving = true;
scope.routeToLoan = function (id) {
@ -27,7 +28,7 @@
});
}
var clientStatus = new mifosX.models.ClientStatus()
var clientStatus = new mifosX.models.ClientStatus();
if (clientStatus.statusKnown(data.status.value)) {
scope.buttons = clientStatus.getStatus(data.status.value);
@ -242,6 +243,14 @@
});
};
scope.viewDataTable = function (registeredTableName,data){
var locationURI = "/viewdatatableentry/"+registeredTableName+"/"+scope.client.id+"/";
if (scope.datatabledetails.isMultirow) {
locationURI = locationURI + data.row[0];
};
location.path(locationURI);
};
scope.downloadDocument = function (documentId) {
resourceFactory.clientDocumentsResource.get({clientId: routeParams.id, documentId: documentId}, '', function (data) {
scope.clientdocuments.splice(index, 1);

View File

@ -3,6 +3,7 @@
ViewGroupController: function (scope, routeParams, route, location, resourceFactory, dateFilter, $modal) {
scope.group = [];
scope.template = [];
scope.formData = {};
scope.choice = 0;
scope.staffData = {};
scope.openLoan = true;
@ -75,6 +76,13 @@
route.reload();
});
};
scope.viewDataTable = function (registeredTableName,data){
var locationURI = "/viewdatatableentry/"+registeredTableName+"/"+scope.group.id+"/";
if (scope.datatabledetails.isMultirow) {
locationURI = locationURI + data.row[0];
};
location.path(locationURI);
};
scope.saveNote = function () {
resourceFactory.groupResource.save({groupId: routeParams.id, anotherresource: 'notes'}, this.formData, function (data) {
var today = new Date();

View File

@ -10,17 +10,18 @@
delete scope.loginCredentials.password;
};
/*This logic is no longer required as enter button is binded with text field for submit.
$('#pwd').keypress(function (e) {
if (e.which == 13) {
scope.login();
}
});
});*/
$('#repeatPassword').keypress(function (e) {
/*$('#repeatPassword').keypress(function (e) {
if (e.which == 13) {
scope.updatePassword();
}
});
});*/
scope.$on("UserAuthenticationFailureEvent", function (data) {
scope.authenticationFailed = true;

View File

@ -239,7 +239,12 @@ td.graybg {
hr.marginbottom {
margin-bottom: 8px;
}
.marginbottom0 {
margin-bottom: 0px;
}
.overflowhidden{
overflow: hidden;
}
.primarydiv {
background-color: #0f82f5;
*background-color: #0072e6;
@ -1129,6 +1134,9 @@ input#search:-ms-input-placeholder {
.modalwidth600{
width: 600px;
}
.width450px{
width: 450px;
}
.displayinlineblock{
display: inline-block;
}
@ -1156,3 +1164,10 @@ body * { visibility: hidden; }
#printcontent * { visibility: visible; }
#printcontent { position: absolute; top: 100px; left: 100px; width: 160%;height: 100%;}
}
.boldlabel{
font-size: 20px;
margin-left: 15px;
}
.marginleftn7px{
margin-left: -7px;
}

View File

@ -24,7 +24,7 @@
</ul>
</div>
<div>
<tabset style="margin-bottom: 0;">
<tabset>
<tab heading="{{ 'label.heading.general' | translate }}">
<div>
<div class="col-md-12 primarydiv" data-ng-hide="center.status.value == 'Closed'">
@ -111,8 +111,7 @@
<td><span class="padded-td">{{center.collectionMeetingCalendar.nextTenRecurringDates[0] | DateFormat}}&nbsp;
<a href="#/editcalendar/centers/{{center.id}}/{{center.collectionMeetingCalendar.id}}"
ng-show="center.collectionMeetingCalendar" has-permission='UPDATE_MEETING'><i class="icon-edit icon-white"></i></a>
<span style="margin-left:-7px"
data-ng-hide="center.collectionMeetingCalendar.nextTenRecurringDates[0]">{{ 'label.unassigned' | translate }}</span></span>
<span class="marginleftn7px" data-ng-hide="center.collectionMeetingCalendar.nextTenRecurringDates[0]">{{ 'label.unassigned' | translate }}</span></span>
</td>
</tr>
<tr data-ng-show="center.collectionMeetingCalendar.humanReadable">
@ -166,8 +165,8 @@
<br/>
<div data-ng-show="accounts.savingsAccounts">
<div class="span gray-head" style="margin-left:0%">
<span style="margin-left: 10px;font-size:20px">
<div class="span gray-head">
<span class="boldlabel">
<strong>{{'label.heading.savingsaccoverview' | translate }}</strong>
</span>
</div>
@ -206,23 +205,23 @@
'label.button.attendance' | translate }}</a>
</div>
<table class="table width100">
<thead>
<th>{{'label.heading.name' | translate}}</th>
<th>{{'label.heading.office' | translate}}</th>
<th>{{ 'label.heading.status' | translate }}</th>
</thead>
<tbody>
<tr class="pointer-main" ng-repeat="group in center.groupMembers">
<td class="pointer" data-ng-click="routeToGroup(group.id)">{{group.name}}</td>
<td class="pointer" data-ng-click="routeToGroup(group.id)">{{group.officeName}}</td>
<td class="pointer" data-ng-click="routeToGroup(group.id)"><i
class="icon-stop {{group.status.code | StatusLookup}}"></i>{{group.status.value}}
</td>
</tr>
</tbody>
</table>
</div>
<table class="table" width="100%">
<thead>
<th>{{'label.heading.name' | translate}}</th>
<th>{{'label.heading.office' | translate}}</th>
<th>{{ 'label.heading.status' | translate }}</th>
</thead>
<tbody>
<tr class="pointer-main" ng-repeat="group in center.groupMembers">
<td class="pointer" data-ng-click="routeToGroup(group.id)">{{group.name}}</td>
<td class="pointer" data-ng-click="routeToGroup(group.id)">{{group.officeName}}</td>
<td class="pointer" data-ng-click="routeToGroup(group.id)"><i
class="icon-stop {{group.status.code | StatusLookup}}"></i>{{group.status.value}}
</td>
</tr>
</tbody>
</table>
</tab>
<tab heading="{{ 'label.heading.notes' | translate }}" has-permission='READ_GROUPNOTE'>
<br/>
@ -272,22 +271,14 @@
<th ng-repeat="column in datatabledetails.columnHeaders">{{column.columnName}}</th>
</thead>
<tbody>
<tr ng-repeat="data in datatabledetails.data">
<td ng-repeat="row in data.row">
<span ng-show="$index == 0">
<a href="#/viewdatatableentry/{{centerdatatable.registeredTableName}}/{{center.id}}/{{data.row[0]}}"
ng-show="datatabledetails.isMultirow">{{row}}</a>
<a href="#/viewdatatableentry/{{centerdatatable.registeredTableName}}/{{center.id}}/"
ng-hide="datatabledetails.isMultirow">{{row}}</a>
</span>
<span ng-hide="$index == 0">{{row}}</span>
</td>
</tr>
<tr class="pointer-main" ng-repeat="data in datatabledetails.data">
<td ng-repeat="row in data.row track by $index" class="pointer" ng-click="viewDataTable(centerdatatable.registeredTableName,data)">{{row}}</td>
</tr>
</tbody>
</table>
<table class="table table-bordered" data-ng-show="!datatabledetails.isMultirow" style="width: 450px">
<table class="table table-bordered width450px" data-ng-show="!datatabledetails.isMultirow">
<tr ng-repeat="value in singleRow">
<td class="graybg" style="font-weight: bold">{{value.key}}</td>
<td class="graybg table-font-nav">{{value.key}}</td>
<td><span class="padded-td">{{value.value}}</span></td>
</tr>
</table>

View File

@ -23,7 +23,7 @@
</li>
</ul>
<div>
<tabset style="margin-bottom: 0;overflow: hidden">
<tabset class="overflowhidden marginbottom0">
<tab heading="{{'label.heading.general' | translate}}">
<div class="col-md-12 col-sm-12">
<div class="row primarydiv">
@ -139,7 +139,7 @@
<td>
<span class="padded-td" data-ng-hide="client.groups">{{ 'label.unassigned' | translate }}</span>
<span class="padded-td" ng-repeat="group in client.groups">
<a style="color: #555555" href="#/viewgroup/{{group.id}}">{{group.name}}</a>&nbsp;<span
<a class="list-group-item-text" href="#/viewgroup/{{group.id}}">{{group.name}}</a>&nbsp;<span
data-ng-hide="client.groups">{{ 'label.unassigned' | translate }}</span><span
ng-show="!$last">|</span>
</span>
@ -158,7 +158,7 @@
</div>
<div class="col-sm-5 col-md-5">
<table class="table paddedsummary table-striped" width="100%">
<table class="width100 table paddedsummary table-striped">
<thead>
<tr class="graybg">
<th colspan="2">{{ 'label.heading.performancehistory' | translate }}</th>
@ -189,54 +189,36 @@
</div>
<div class="row">
<div class="pull-right">
<span data-ng-show="clientAccounts.loanAccounts">
<button data-ng-show="openLoan" type="button" class="btn-primary btn btn-sm"
data-ng-click="setLoan()">{{ 'label.button.viewclosedloans' | translate }}
</button>
<button data-ng-show="!openLoan" type="button" class="btn-primary btn btn-sm"
data-ng-click="setLoan()">{{ 'label.button.viewactiveloans' | translate }}
</button>
</span>
<span data-ng-show="clientAccounts.savingsAccounts">
<button data-ng-show="openSaving" type="button" data-ng-click="setSaving()"
class="btn-primary btn btn-sm">{{ 'label.button.viewclosedsavings' | translate }}
</button>
<button data-ng-show="!openSaving" type="button" data-ng-click="setSaving()"
class="btn-primary btn btn-sm">{{ 'label.button.viewactivesavings' | translate }}
</button>
</span>
<span data-ng-show="clientAccounts.loanAccounts">
<button data-ng-show="openLoan" type="button" class="btn-primary btn btn-sm" data-ng-click="setLoan()">{{ 'label.button.viewclosedloans' | translate }}
</button>
<button data-ng-show="!openLoan" type="button" class="btn-primary btn btn-sm" data-ng-click="setLoan()">{{ 'label.button.viewactiveloans' | translate }}
</button>
</span>
</div>
<div data-ng-show="clientAccounts.loanAccounts">
<div class="span gray-head" style="margin-left:0%">
<span style="margin-left: 10px;font-size:20px">
<div class="span gray-head">
<span class="boldlabel">
<strong>{{ 'label.heading.loanaccoverview' | translate }}</strong>
</span>
</div>
<br/>
<table class="table" data-ng-show="openLoan">
<tr class="graybg">
<th style="width: 250px">{{'label.heading.loanaccount' | translate}}</th>
<th style="width: 150px">{{'label.heading.accnum' | translate}}</th>
<th style="width: 200px">{{'label.heading.type' | translate}}</th>
<th>{{'label.heading.loanaccount' | translate}}</th>
<th>{{'label.heading.accnum' | translate}}</th>
<th>{{'label.heading.type' | translate}}</th>
<th>{{'label.heading.status' | translate}}</th>
</tr>
<tr class="pointer-main"
ng-repeat="loanaccount in clientAccounts.loanAccounts | orderBy:'id':true | filter:isLoanNotClosed">
<td class="pointer" data-ng-click="routeToLoan(loanaccount.id)">
{{loanaccount.productName}}
</td>
<td class="pointer" data-ng-click="routeToLoan(loanaccount.id)">
{{loanaccount.accountNo}}
</td>
<td class="pointer" data-ng-click="routeToLoan(loanaccount.id)">{{loanaccount.productName}}</td>
<td class="pointer" data-ng-click="routeToLoan(loanaccount.id)">{{loanaccount.accountNo}}</td>
<td class="pointer" data-ng-click="routeToLoan(loanaccount.id)">{{loanaccount.loanType.value}}</td>
<td class="pointer" data-ng-click="routeToLoan(loanaccount.id)"><i ng-hide="loanaccount.inArrears"
class="icon-stop {{loanaccount.status.code | StatusLookup}}"></i>
<i ng-show="loanaccount.inArrears"
class="icon-stop {{loanaccount.status.code | StatusLookup}}overdue"></i>&nbsp;&nbsp;{{loanaccount.status.value}}
<td class="pointer" data-ng-click="routeToLoan(loanaccount.id)">
<i ng-hide="loanaccount.inArrears" class="icon-stop {{loanaccount.status.code | StatusLookup}}"></i>
<i ng-show="loanaccount.inArrears" class="icon-stop {{loanaccount.status.code | StatusLookup}}overdue"></i>&nbsp;&nbsp;
{{loanaccount.status.value}}
</td>
</tr>
</table>
@ -263,17 +245,27 @@
</table>
</div>
<div data-ng-show="clientAccounts.savingsAccounts">
<div class="span gray-head" style="margin-left:0%">
<span style="margin-left: 10px;font-size:20px">
<strong>{{'label.heading.savingsaccoverview' | translate }}</strong>
</span>
<div class="pull-right">
<span data-ng-show="clientAccounts.savingsAccounts">
<button data-ng-show="openSaving" type="button" data-ng-click="setSaving()" class="btn-primary btn btn-sm">
{{ 'label.button.viewclosedsavings' | translate }}
</button>
<button data-ng-show="!openSaving" type="button" data-ng-click="setSaving()" class="btn-primary btn btn-sm">
{{ 'label.button.viewactivesavings' | translate }}
</button>
</span>
</div>
<div class="span gray-head">
<span class="boldlabel">
<strong>{{'label.heading.savingsaccoverview' | translate }}</strong>
</span>
</div>
<br/>
<table class="table" data-ng-show="openSaving">
<tr class="graybg">
<th style="width: 250px">{{'label.heading.savingaccount' | translate}}</th>
<th style="width: 150px">{{'label.heading.accnum' | translate}}</th>
<th style="width: 200px">{{'label.heading.balance' | translate}}</th>
<th>{{'label.heading.savingaccount' | translate}}</th>
<th>{{'label.heading.accnum' | translate}}</th>
<th>{{'label.heading.balance' | translate}}</th>
<th>{{'label.heading.status' | translate}}</th>
</tr>
<tr class="pointer-main"
@ -351,8 +343,8 @@
</tab>
<tab heading="{{'label.heading.documents' | translate}}" select="getClientDocuments()" has-permission='READ_DOCUMENT'>
<div class="pull-right">
<a href="#/addclientdocument/{{client.id}}" class="btn btn-primary" has-permission='CREATE_DOCUMENT'><i class="icon-plus icon-white"></i>{{'label.button.upload'
| translate}}</a>
<a href="#/addclientdocument/{{client.id}}" class="btn btn-primary" has-permission='CREATE_DOCUMENT'><i class="icon-plus icon-white"></i>
{{'label.button.upload' | translate}}</a>
</div>
<br>
<table class="table" ng-show="clientdocuments.length > 0">
@ -398,22 +390,14 @@
<th ng-repeat="column in datatabledetails.columnHeaders">{{column.columnName}}</th>
</thead>
<tbody>
<tr ng-repeat="data in datatabledetails.data">
<td ng-repeat="row in data.row">
<span ng-show="$index == 0">
<a href="#/viewdatatableentry/{{clientdatatable.registeredTableName}}/{{client.id}}/{{data.row[0]}}"
ng-show="datatabledetails.isMultirow">{{row}}</a>
<a href="#/viewdatatableentry/{{clientdatatable.registeredTableName}}/{{client.id}}/"
ng-hide="datatabledetails.isMultirow">{{row}}</a>
</span>
<span ng-hide="$index == 0">{{row}}</span>
</td>
</tr>
<tr class="pointer-main" ng-repeat="data in datatabledetails.data">
<td class="pointer" ng-repeat="row in data.row track by $index" ng-click="viewDataTable(clientdatatable.registeredTableName,data)">{{row}}</td>
</tr>
</tbody>
</table>
<table class="table table-bordered" data-ng-show="!datatabledetails.isMultirow" style="width: 450px">
<table class="table table-bordered width450px" data-ng-show="!datatabledetails.isMultirow">
<tr ng-repeat="value in singleRow">
<td class="graybg" style="font-weight: bold">{{value.key}}</td>
<td class="graybg table-font-nav">{{value.key}}</td>
<td><span class="padded-td">{{value.value}}</span></td>
</tr>
</table>

View File

@ -28,7 +28,7 @@
</ul>
</div>
<div>
<tabset style="margin-bottom: 0;">
<tabset>
<tab heading="{{ 'label.heading.general' | translate }}">
<div class="col-sm-12 col-md-12">
<div class="row primarydiv">
@ -129,8 +129,7 @@
<td><span class="padded-td">{{group.collectionMeetingCalendar.nextTenRecurringDates[0] | DateFormat}}&nbsp;
<a href="#/editcalendar/groups/{{group.id}}/{{group.collectionMeetingCalendar.id}}"
ng-show="group.collectionMeetingCalendar"><i class="icon-edit icon-white"></i></a>
<span style="margin-left:-7px"
data-ng-hide="group.collectionMeetingCalendar.nextTenRecurringDates[0]">{{ 'label.unassigned' | translate }}</span> </span>
<span class="marginleftn7px" data-ng-hide="group.collectionMeetingCalendar.nextTenRecurringDates[0]">{{ 'label.unassigned' | translate }}</span></span>
</td>
</tr>
<tr data-ng-show="group.collectionMeetingCalendar.humanReadable">
@ -139,7 +138,7 @@
</tr>
<tr data-ng-show="group.centerName">
<td class="table-bold">{{ 'label.heading.center' | translate }}</td>
<td><span class="padded-td"><a style="color: #555555" href="#/viewcenter/{{group.centerId}}">{{group.centerName}}</a></span>
<td><span class="padded-td"><a class="list-group-item-text" href="#/viewcenter/{{group.centerId}}">{{group.centerName}}</a></span>
</td>
</tr>
<tr data-ng-show="group.status.value=='Closed'">
@ -206,8 +205,8 @@
</span>
</div>
<div data-ng-show="groupAccounts.loanAccounts">
<div class="span gray-head" style="margin-left:0%">
<span style="margin-left: 10px;font-size:20px">
<div class="span gray-head">
<span class="boldlabel">
<strong>{{ 'label.heading.loanaccoverview' | translate }}</strong>
</span>
</div>
@ -215,9 +214,9 @@
<table class="table" data-ng-show="openLoan">
<thead>
<tr class="graybg">
<th style="width: 250px">{{ 'label.heading.products' | translate }}</th>
<th style="width: 150px">{{'label.heading.accnum' | translate}}</th>
<th style="width: 150px">{{'label.heading.type' | translate}}</th>
<th>{{ 'label.heading.products' | translate }}</th>
<th>{{'label.heading.accnum' | translate}}</th>
<th>{{'label.heading.type' | translate}}</th>
<th>{{ 'label.heading.status' | translate }}</th>
</tr>
</thead>
@ -238,9 +237,9 @@
<table class="table" data-ng-show="!openLoan">
<thead>
<tr class="graybg">
<th style="width: 250px">{{ 'label.heading.products' | translate }}</th>
<th style="width: 150px">{{'label.heading.accnum' | translate}}</th>
<th style="width: 150px">{{'label.heading.type' | translate}}</th>
<th>{{ 'label.heading.products' | translate }}</th>
<th>{{'label.heading.accnum' | translate}}</th>
<th>{{'label.heading.type' | translate}}</th>
<th>{{ 'label.heading.status' | translate }}</th>
</tr>
</thead>
@ -258,8 +257,8 @@
</table>
</div>
<div data-ng-show="groupAccounts.savingsAccounts">
<div class="span gray-head" style="margin-left:0%">
<span style="margin-left: 10px;font-size:20px">
<div class="span gray-head">
<span class="boldlabel">
<strong>{{'label.heading.savingsaccoverview' | translate }}</strong>
</span>
</div>
@ -267,9 +266,9 @@
<table class="table" data-ng-show="openSaving">
<thead>
<tr class="graybg">
<th style="width: 250px">{{ 'label.heading.products' | translate }}</th>
<th style="width: 150px">{{ 'label.heading.accnum' | translate }}</th>
<th style="width: 150px">{{ 'label.heading.balance' | translate }}</th>
<th>{{ 'label.heading.products' | translate }}</th>
<th>{{ 'label.heading.accnum' | translate }}</th>
<th>{{ 'label.heading.balance' | translate }}</th>
<th>{{ 'label.heading.status' | translate }}</th>
</tr>
</thead>
@ -289,8 +288,8 @@
<table class="table" data-ng-show="!openSaving">
<thead>
<tr class="graybg">
<th style="width: 250px">{{ 'label.heading.products' | translate }}</th>
<th style="width: 150px">{{ 'label.heading.accnum' | translate }}</th>
<th>{{ 'label.heading.products' | translate }}</th>
<th>{{ 'label.heading.accnum' | translate }}</th>
<th>{{ 'label.heading.status' | translate }}</th>
</tr>
</thead>
@ -312,35 +311,31 @@
<tab heading="{{ 'label.heading.members' | translate }}">
<div class="col-sm-12 col-md-12">
<div class="row primarydiv" data-ng-hide="group.status.value == 'Closed'">
<a href="#/addmember?groupId={{group.id}}&officeId={{group.officeId}}" class="btn btn-primary pull-right" has-permission='CREATE_CLIENT'><i
class="icon-plus-sign-alt icon-white"></i>{{ 'label.button.add' | translate }}</a>
<a href="#/membermanage/{{group.id}}?managecode=2" class="btn btn-primary pull-right" has-permission='DISASSOCIATECLIENTS_GROUP'>{{
'label.button.disassociatemember' | translate }}</a>
<a href="#/membermanage/{{group.id}}?managecode=1" class="btn btn-primary pull-right" has-permission='ASSOCIATECLIENTS_GROUP'>{{
'label.button.associatemember' | translate }}</a>
<a href="#/groupattendance?groupId={{group.id}}&calendarId={{group.collectionMeetingCalendar.id}}" has-permission='SAVEORUPDATEATTENDANCE_MEETING'
data-ng-show="group.collectionMeetingCalendar" class="btn btn-primary pull-right">{{
'label.button.attendance' | translate }}</a>
<a href="#/transferclients/{{group.id}}" class="btn btn-primary pull-right" has-permission='TRANSFERCLIENTS_GROUP'>{{
'label.button.transferclients' | translate }}</a>
<a href="#/addmember?groupId={{group.id}}&officeId={{group.officeId}}" class="btn btn-primary pull-right" has-permission='CREATE_CLIENT'>
<i class="icon-plus-sign-alt icon-white"></i>{{ 'label.button.add' | translate }}</a>
<a href="#/membermanage/{{group.id}}?managecode=2" class="btn btn-primary pull-right" has-permission='DISASSOCIATECLIENTS_GROUP'>{{'label.button.disassociatemember' | translate }}</a>
<a href="#/membermanage/{{group.id}}?managecode=1" class="btn btn-primary pull-right" has-permission='ASSOCIATECLIENTS_GROUP'>{{'label.button.associatemember' | translate }}</a>
<a href="#/groupattendance?groupId={{group.id}}&calendarId={{group.collectionMeetingCalendar.id}}" has-permission='SAVEORUPDATEATTENDANCE_MEETING'
data-ng-show="group.collectionMeetingCalendar" class="btn btn-primary pull-right">{{'label.button.attendance' | translate }}</a>
<a href="#/transferclients/{{group.id}}" class="btn btn-primary pull-right" has-permission='TRANSFERCLIENTS_GROUP'>{{'label.button.transferclients' | translate }}</a>
</div>
<table class="table width100">
<thead>
<th>{{'label.heading.accnum' | translate}}</th>
<th>{{'label.heading.name' | translate}}</th>
<th>{{ 'label.heading.status' | translate }}</th>
</thead>
<tbody>
<tr class="pointer-main" ng-repeat="member in group.clientMembers">
<td class="pointer" data-ng-click="routeToMem(member.id)">{{member.accountNo}}</td>
<td class="pointer" data-ng-click="routeToMem(member.id)">{{member.displayName}}</td>
<td class="pointer" data-ng-click="routeToMem(member.id)"><i
class="icon-stop {{member.status.code | StatusLookup}}"></i>{{member.status.value}}
</td>
</tr>
</tbody>
</table>
</div>
<table class="table" width="100%">
<thead>
<th>{{'label.heading.accnum' | translate}}</th>
<th>{{'label.heading.name' | translate}}</th>
<th>{{ 'label.heading.status' | translate }}</th>
</thead>
<tbody>
<tr class="pointer-main" ng-repeat="member in group.clientMembers">
<td class="pointer" data-ng-click="routeToMem(member.id)">{{member.accountNo}}</td>
<td class="pointer" data-ng-click="routeToMem(member.id)">{{member.displayName}}</td>
<td class="pointer" data-ng-click="routeToMem(member.id)"><i
class="icon-stop {{member.status.code | StatusLookup}}"></i>{{member.status.value}}
</td>
</tr>
</tbody>
</table>
</tab>
<tab heading="{{ 'label.heading.notes' | translate }}" has-permission='READ_GROUPNOTE'>
<br/>
@ -380,29 +375,29 @@
<a href="#/addrole/{{group.id}}" has-permission='ASSIGNROLE_GROUP' class="btn btn-primary pull-right"><i
class="icon-plus-sign-alt icon-white"></i>{{ 'label.button.add' | translate }}</a>
</div>
<table class="table ">
<thead>
<tr>
<th>{{ 'label.heading.role' | translate }}</th>
<th>{{ 'label.heading.name' | translate }}</th>
<th>{{ 'label.heading.clientid' | translate }}</th>
<th></th>
</tr>
</thead>
<tbody>
<tr ng-repeat="grouprole in group.groupRoles">
<td>{{grouprole.role.name}}</td>
<td><a href="#viewclient/{{member.id}}">{{grouprole.clientName}}</a></td>
<td>{{grouprole.clientId}}</td>
<td>
<button type="button" class="btn btn-primary" data-ng-hide="group.status.value == 'Closed'" has-permission='UNASSIGNROLE_GROUP'
data-ng-click="delrole(grouprole.id)">{{ 'label.button.unassign' | translate }}
</button>
</td>
</tr>
</tbody>
</table>
</div>
<table class="table ">
<thead>
<tr>
<th>{{ 'label.heading.role' | translate }}</th>
<th>{{ 'label.heading.name' | translate }}</th>
<th>{{ 'label.heading.clientid' | translate }}</th>
<th></th>
</tr>
</thead>
<tbody>
<tr ng-repeat="grouprole in group.groupRoles">
<td>{{grouprole.role.name}}</td>
<td><a href="#viewclient/{{member.id}}">{{grouprole.clientName}}</a></td>
<td>{{grouprole.clientId}}</td>
<td>
<button type="button" class="btn btn-primary" data-ng-hide="group.status.value == 'Closed'" has-permission='UNASSIGNROLE_GROUP'
data-ng-click="delrole(grouprole.id)">{{ 'label.button.unassign' | translate }}
</button>
</td>
</tr>
</tbody>
</table>
</tab>
<tab heading="{{groupdatatable.registeredTableName}}" ng-repeat="groupdatatable in groupdatatables" has-permission='READ_DATATABLE'
select="dataTableChange(groupdatatable)">
@ -412,8 +407,7 @@
| translate}}</a>
<span ng-show="!datatabledetails.isData || datatabledetails.isMultirow" class="pull-right ">
<a href="#/makedatatableentry/{{groupdatatable.registeredTableName}}/{{group.id}}" has-permission='CREATE_DATATABLE'
class="btn btn-primary"><i class="icon-plus icon-white"></i>{{'label.button.add' |
translate}}</a>
class="btn btn-primary"><i class="icon-plus icon-white"></i>{{'label.button.add' | translate}}</a>
</span></br>
<div ng-show="datatabledetails.isData">
<table class="table" data-ng-show="datatabledetails.isMultirow">
@ -421,22 +415,14 @@
<th ng-repeat="column in datatabledetails.columnHeaders">{{column.columnName}}</th>
</thead>
<tbody>
<tr ng-repeat="data in datatabledetails.data">
<td ng-repeat="row in data.row">
<span ng-show="$index == 0">
<a href="#/viewdatatableentry/{{groupdatatable.registeredTableName}}/{{group.id}}/{{data.row[0]}}"
ng-show="datatabledetails.isMultirow">{{row}}</a>
<a href="#/viewdatatableentry/{{groupdatatable.registeredTableName}}/{{group.id}}/"
ng-hide="datatabledetails.isMultirow">{{row}}</a>
</span>
<span ng-hide="$index == 0">{{row}}</span>
</td>
</tr>
<tr class="pointer-main" ng-repeat="data in datatabledetails.data">
<td ng-repeat="row in data.row track by $index" class="pointer" ng-click="viewDataTable(groupdatatable.registeredTableName,data)">{{row}}</td>
</tr>
</tbody>
</table>
<table class="table table-bordered" data-ng-show="!datatabledetails.isMultirow" style="width: 450px">
<table class="table table-bordered width450px" data-ng-show="!datatabledetails.isMultirow">
<tr ng-repeat="value in singleRow">
<td class="graybg" style="font-weight: bold">{{value.key}}</td>
<td class="graybg table-font-nav">{{value.key}}</td>
<td><span class="padded-td">{{value.value}}</span></td>
</tr>
</table>