<div class="col-md-2">

    <div id="undo-step-{{step.idOrder}}-{{step.idProcess}}"
         ng-if="isNextButtonVisible(step.status)"
         class="order-step-next btn btn-info"
         ng-click="showHideNextDialog({idProcess: process.idProcess, action: 'undo'})">
         {{'orders.buttons.UNDO_STEP' | translate}}

         <div id="dialog-undo-confirm-{{process.idProcess}}"
              dialog
              ng-if="isUndoDialogVisible[process.idProcess]"
              on-confirmation="undoStep"
              on-close="showHideNextDialog"
              is-modal="true"
              has-buttons="true"
              parameters="{idOrder: ordersInfo.id, idProcessStep: step.idProcessStep, idProcess: step.idProcess, action: 'undo'}"
              title="{{'orders.headers.UNDO_STEP_CONFIRMATION' | translate}}">
           <p><span class="glyphicon glyphicon-warning-sign"></span>{{'orders.messages.UNDO_STEP_CONFIRMATION' | translate}}?</p>
         </div>
    </div>

    <div id="go-to-next-step-{{step.idOrder}}-{{step.idProcess}}"
         ng-disabled="isExtraActionOpen[step.idOrder+'-'+step.idProcess]"
         ng-if="isNextButtonVisible(step.status)"
         class="order-step-next btn btn-success"
         ng-click="showHideNextDialog({idOrder: ordersInfo.id, idProcessStep: step.idProcessStep, idProcess: step.idProcess, action: 'next'})">
         {{'orders.buttons.NEXT_STEP' | translate}}

         <div id="dialog-next-confirm-{{process.idProcess}}"
              dialog
              ng-if="isNextDialogVisible[process.idProcess]"
              on-confirmation="goToNextStep"
              on-close="showHideNextDialog"
              is-modal="true"
              has-buttons="true"
              parameters="{idOrder: ordersInfo.id, idProcessStep: step.idProcessStep, idProcess: step.idProcess, action: 'next'}"
              title="{{'orders.headers.NEXT_STEP_CONFIRMATION' | translate}}">
           <p><span class="glyphicon glyphicon-warning-sign"></span>{{'orders.messages.NEXT_STEP_CONFIRMATION' | translate}}?</p>
         </div>
    </div>

</div>
