<div ng-controller="CerrarBovedaController">
    <h3>Cerrar Boveda</h3>

    <alert ng-repeat="alert in alerts" type="{{alert.type}}" close="closeAlert($index)">
        <span ng-bind-html="alert.msg"></span>
    </alert>

    <div class="row">
        <div class="col-sm-6">
            <div ng-grid="gridOptionsOld" style="border: 1px solid rgb(212,212,212); width: 100%; height: 450px;"></div>
            <div class="ngFooterPanel ng-scope" style="border: 1px solid rgb(212,212,212); width: 100%; height: 55px;">
                <div class="ngTotalSelectContainer">
                    <div class="ngFooterTotalItems ngNoMultiSelect">
                        <span class="ngLabel ng-binding">Total: {{boveda.moneda.simbolo}}{{getTotalOld()}}</span>
                    </div>
                </div>
            </div>
        </div>
        <div class="col-sm-6">
            <div ng-grid="gridOptionsNew" style="border: 1px solid rgb(212,212,212); width: 100%; height: 450px;"></div>
            <div class="ngFooterPanel ng-scope" style="border: 1px solid rgb(212,212,212); width: 100%; height: 55px;">
                <div class="ngTotalSelectContainer">
                    <div class="ngFooterTotalItems ngNoMultiSelect">
                        <span class="ngLabel ng-binding">Total: {{boveda.moneda.simbolo}}{{getTotalNew() }}</span>
                    </div>
                </div>
            </div>
        </div>
    </div>

    </br>

    <button type="button" ng-click="cerrarBoveda()" ladda="control.inProcess" data-style="expand-right" class="btn btn-primary">Cerrar</button>
    <button type="button" ng-click="cancelar()" class="btn btn-default">Cancelar</button>
</div>