Fixes #3047 - Add Staffs count to table and more

* Fixes #3047 by adding staffs to the table
* In Staff Form Center is added to the table
This commit is contained in:
Palash Bauri 2018-11-10 16:39:50 +05:30 committed by ShruthiRajaram
parent b906d79dda
commit 1110c2d86e

View File

@ -124,18 +124,11 @@
<td>{{ 'label.heading.externalid' | translate }}</td> <td>{{ 'label.heading.externalid' | translate }}</td>
<td>{{office.externalId}}</td> <td>{{office.externalId}}</td>
</tr> </tr>
<tr>
<td>{{ 'label.heading.staff' | translate }}</td>
<td>{{staffs.length}}</td>
</tr>
</table> </table>
<div class="row">
<div class="col-sm-5 col-md-5">
<ng-summary title="# {{ 'label.heading.staff' | translate }}">
</ng-summary>
</div>
<div class="col-sm-5 col-md-5">
<ng-summary title="">
<h1 class="center">{{staffs.length}}</h1>
</ng-summary>
</div>
</div>
</div> </div>
<div ng-show="staff"> <div ng-show="staff">
<br/> <br/>
@ -160,18 +153,11 @@
<td>{{ 'label.heading.office' | translate }}</td> <td>{{ 'label.heading.office' | translate }}</td>
<td>{{staff.officeName}}</td> <td>{{staff.officeName}}</td>
</tr> </tr>
<tr>
<td>{{ 'label.heading.center' | translate }}</td>
<td>{{centers.length}}</td>
</tr>
</table> </table>
<div class="row" ng-show="centers.length">
<div class="col-sm-5 col-md-5">
<ng-summary title="# {{ 'label.heading.center' | translate }}">
</ng-summary>
</div>
<div class="col-sm-5 col-md-5">
<ng-summary title="">
<h1 class="center">{{centers.length}}</h1>
</ng-summary>
</div>
</div>
</div> </div>
<div ng-show="center"> <div ng-show="center">
<br/> <br/>