<div class="overlay-area" ng-click="closeTarget('#confirmOverPayment')"></div>
<div class="content-area popup-3" style="width: 360px">
    <div class="title">
        <div class="layout-fixed">
            <div>Confirmation</div>
            <div class="w50px clear">
                <button class="popup-close-button bg-transparent pd0-i biger-3-time right" type="button" ng-click="closeTarget('#confirmOverPayment')"></button>
            </div>
        </div>
    </div>
    <div class="content">
        <div class="content-inner">
            <ion-scroll class="scroll-area" direction="y" has-bouncing="false" overflow-scroll="false">
                Invoice total is ({{totalend}}$) payment entered is ({{payment_sum_amount}}$). In Store Credit of ({{payment_sum_amount - totalend | number : 2}}$) will be applied to the client's account.
            </ion-scroll>
        </div>
    </div>
    <div class="buttons">
        <div class="layout-fixed h40px pdLR10">
            <div class="full-h">
                <button type="button" class="button-form-field-1 position-left darkgray full" ng-click="noConfirmOverPayment()">
                    No Confirmation
                </button>
            </div>
            <div class="full-h">
                <button type="button" class="button-form-field-1 position-right full" ng-click="closeTarget('#confirmOverPayment');createBraintree(paymenthistories,2)">
                    Confirmed with Client
                </button>
            </div>
        </div>
    </div>
</div>
