Skip to content
This repository was archived by the owner on Mar 21, 2025. It is now read-only.

Commit 2254664

Browse files
committed
Merge pull request #195 from mifoscontributer/testing
Fixing group issues
2 parents 3a7ab13 + 50e55d1 commit 2254664

File tree

5 files changed

+14
-11
lines changed

5 files changed

+14
-11
lines changed

app/scripts/controllers/groups/CreateGroupController.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
scope.data = {};
77
scope.choice = 0;
88
scope.first = {};
9-
scope.first.date = new Date();
109
resourceFactory.groupTemplateResource.get(function(data) {
1110
scope.offices = data.officeOptions;
1211
scope.staffs = data.staffOptions;

app/scripts/controllers/loanAccount/ViewLoanDetailsController.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -248,10 +248,6 @@
248248

249249
};
250250

251-
scope.unassignLoanOfficer = function () {
252-
253-
};
254-
255251
}
256252
});
257253
mifosX.ng.application.controller('ViewLoanDetailsController', ['$scope', '$routeParams', 'ResourceFactory', '$location', '$route', mifosX.controllers.ViewLoanDetailsController]).run(function($log) {

app/views/accounting/view_transactions.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
<form ng-controller="ViewTransactionController">
2+
<div>
3+
<ul class="breadcrumb">
4+
<li><a href="#/accounting">{{'link.accounting' | translate}}</a> <span class="divider">/</span></li>
5+
<li class="active">{{'label.view.transaction' | translate}}</li>
6+
</ul>
7+
</div>
28
<div class="row alert-block span" >
39
<h3>{{ 'label.journalentry.transaction.number' | translate }}&nbsp;<b>{{transactionNumber}}</b></h3>
410
<div class="pull-right">

app/views/clients/viewclient.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ <h3>
6464
<tr>
6565
<td>{{ 'label.memberof' | translate }}</td>
6666
<td>
67-
<span ng-repeat="group in client.groups" > {{group.name}} |&nbsp;</span>
67+
<span ng-repeat="group in client.groups" > <a href="#/viewgroup/{{group.id}}">{{group.name}}</a> |&nbsp;</span>
6868
</td>
6969
</tr>
7070
</table>

app/views/groups/editgroup.html

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,13 @@
2222
<input type="text" id="externalid" ng-model="formData.externalId">
2323
</div>
2424
</div>
25-
<div class="control-group">
26-
<label class="control-label">{{'label.form.activationdate' | translate}}</label>
27-
<div class="controls">
28-
<input type="text" datepicker-pop="dd MMMM yyyy" ng-model="first.date" is-open="opened" min="minDate" max="'2020-06-22'" date-disabled="disabled(date, mode)" required late-Validate />
29-
</div>
25+
<div ng-hide="editGroup.status.value == 'Pending'">
26+
<div class="control-group">
27+
<label class="control-label">{{'label.form.activationdate' | translate}}</label>
28+
<div class="controls">
29+
<input type="text" datepicker-pop="dd MMMM yyyy" ng-model="first.date" is-open="opened" min="minDate" max="'2020-06-22'" date-disabled="disabled(date, mode)" required late-Validate />
30+
</div>
31+
</div>
3032
</div>
3133
<div class="offset">
3234
<a href="#/viewgroup/{{editGroup.id}}" class="btn">{{'label.cancel' | translate}}</a>

0 commit comments

Comments
 (0)