<div ng-if="bid.isUsed !== 1">
    <div ng-click="showBidRemoveDialog(bid.idBid)" class="remove-bid-btn btn btn-danger">
        {{ 'bids.buttons.REMOVE' | translate }}
    </div>
</div>

<div ng-if="isRemoveDialogVisible[bid.idBid]" ng-controller="removeBidCtrl">
    <div id="dialog-remove-bid-{{bid.idBid}}"
         dialog
         is-modal="true"
         has-buttons="true"
         on-confirmation="removeBid"
         on-close="closeRemoveDialog"
         parameters="{bid, getBids}"
         buttons-names="{confirmation: 'Yes', cancel: 'Cancel'}"
         title="{{'bids.headers.REMOVE_BID' | translate}}">
         {{'bids.labels.REMOVE_BID_LABEL' | translate}} {{bid.bidNumber}}?
    </div>
</div>
