<div class="col-md-12" ng-controller="FinancialActivityMappingsController">
    <ul class="breadcrumb">
        <li><a href="#/accounting">{{'label.anchor.accounting' | translate}}</a></li>
        <li class="active">{{'label.anchor.financialactivity.accountmappings' | translate}}</li>
    </ul>
    <div class="pull-right">
        <a href="#/addfinancialmapping" class="btn btn-primary" has-permission='CREATE_FINANCIALACTIVITYACCOUNT'>
            <i class="icon-plus icon-white"></i>{{'label.button.define.new.financial.mapping' | translate}}</a>
    </div>
    <table class="table">
        <thead>
        <tr class="graybg">
            <th>{{'label.heading.financial.activity.type' | translate}}</th>
            <th>{{'label.heading.financial.activity.account.name' | translate}}</th>
        </tr>
        </thead>
        <tbody>
        <tr class="pointer-main" ng-repeat="mapping in mappings">
            <td class="pointer" data-ng-click="routeTo(mapping.id)">{{mapping.financialActivityData.name | translate }}</td>
            <td class="pointer" data-ng-click="routeTo(mapping.id)">{{mapping.glAccountData.name}}({{mapping.glAccountData.glCode}})</td>
        </tr>
        </tbody>
    </table>
</div>