<div class="acceptance-due-date col-md-12">
    <div class="alert {{getDueDateClass()}}">
        <label>{{'orders.headers.DUE_DATE_BROKER' | translate}}:</label>
        {{acceptance.acceptanceDueDate}}
    </div>
</div>

<div>
    <div class="uploaded-documents col-md-12">
        <div class="document-layer" ng-repeat="document in acceptance.acceptanceDocuments">
            <a href="utils/api/downloadFile?idDocument={{document.idDocument}}&fileName={{document.documentName}}.{{document.extension}}">
                {{document.documentName}}.{{document.extension}}
            </a>
        </div>
    </div>
    <div class="col-md-12">
        <span class="not-accepted col-md-12" ng-if="!showCustomerAcceptance(acceptance.customerAccepted)">
            <span class="glyphicon glyphicon-time"></span>
            {{'orders.tables.extra.NOT_ACCEPTED_CUSTOMER_INSTALLATION' | translate}}
        </span>
        <div class="alert alert-{{getAcceptanceClass(acceptance.customerAccepted)}} col-md-12" ng-if="showCustomerAcceptance(acceptance.customerAccepted)">
            <div class="col-md-12">
                <span class="glyphicon glyphicon-{{getStatusIcon(acceptance.customerAccepted)}}"></span>
                {{getCustomerAcceptanceDescription(acceptance.customerAccepted)}}
            </div>
            <div class="customer-installation-decline-reason col-md-12" ng-if="acceptance.customerDeclineReason">
                <span>{{'orders.messages.DECLINE_REASON' | translate}}:</span>
                <span>{{acceptance.customerDeclineReason}}</span>
            </div>
        </div>
    </div>
    <div ng-if="acceptance.idDocument" class="col-md-12">
        <a href="utils/api/downloadFile?idDocument={{acceptance.idDocument}}&fileName={{acceptance.documentName}}.{{acceptance.extension}}">
            {{acceptance.documentName}}.{{acceptance.extension}}
        </a>
    </div>
</div>
