community-app/app/views/accounting/accounts_closure.html
Anwesh Nayak 89974697aa
fix #2777 : scroll to top feature implemented (#2873)
* scroll to top feature

* small fix

* unwanted commits removed

* unwanted commits removed2

* unwanted commits removed3
2021-03-06 00:54:31 +05:30

57 lines
2.7 KiB
HTML

<div id="viewlptop"></div>
<div class="content-container">
<ul class="breadcrumb">
<li><a href="#/accounting">{{'label.anchor.accounting' | translate}}</a></li>
<li class="active">{{'label.anchor.accountsclosure' | translate}}</li>
</ul>
<div class="card" ng-controller="AccountingClosureController">
<div class="toolbar paddedtop paddedbottom">
<h4 class="col-md-8">{{ 'label.heading.accountingclosures' | translate }}</h4>
<div class="col-md-4">
<a href="#/createclosure" class="pull-right btn btn-primary" has-permission='CREATE_GLCLOSURE'><i class="fa fa-plus "></i>&nbsp;&nbsp;{{'label.button.createclosure' | translate}}</a>
</div>
</div>
<div class="content">
<div class="form-group">
<b>{{ 'label.input.filterclosuresbyoffice' | translate }}</b>
<div class="row">
<div class="col-md-6">
<select chosen="offices" id="officeId" ng-model="formData.officeId" class="form-control"
ng-options="office.id as office.name for office in offices" value="{{office.id}}">
<option class="displaynone" value="">{{'label.alloffice' | translate}}</option>
</select>
</div>
<div class="col-md-6">
<button class="btn btn-primary" ng-click="closedAccountingDetails(formData.officeId)">{{ 'label.button.save' | translate }}</button>
</div>
</div>
</div>
<table class="table">
<thead>
<tr class="graybg">
<th>{{ 'label.heading.office' | translate }}</th>
<th>{{ 'label.heading.accountingclosuredate' | translate }}</th>
<th>{{ 'label.heading.comments' | translate }}</th>
<th>{{ 'label.heading.closeaccountingcreatedby' | translate }}</th>
</tr>
</thead>
<tbody>
<tr class="pointer-main" ng-repeat="accountClosure in accountClosures">
<td class="pointer" data-ng-click="routeTo(accountClosure.id)">{{accountClosure.officeName}}</td>
<td class="pointer" data-ng-click="routeTo(accountClosure.id)">{{accountClosure.closingDate | DateFormat}}</td>
<td class="pointer" data-ng-click="routeTo(accountClosure.id)">{{accountClosure.comments}}</td>
<td class="pointer" data-ng-click="routeTo(accountClosure.id)">{{accountClosure.createdByUsername}}</td>
</tr>
</tbody>
<tr>
<td colspan="3">
</td>
<td class="pull-right">
<a ng-click="scrollto('viewlptop')"><i class="fa fa-upload"></i>{{'label.button.top' | translate}}</a>
</td>
</tr>
</table>
</div>
</div>