@using PantheonRA.BackOffice.Enums

<input type="hidden" id="cancelLoc" value="@Loc.Cancel" />
<input type="hidden" id="deleteLoc" value="@Loc.Delete" />
<input type="hidden" id="closeLoc" value="@Loc.Close" />

<div class="modal inmodal fade modal-z-index-3000" id="stockErrorModal" tabindex="-1" role="dialog" aria-hidden="true" data-keyboard="false" data-backdrop="static">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-body">
                <div class="iris-title m-b-sm">
                    <div class="row">
                        <div class="col-xs-11 padding-right-none">
                            <strong><span id="stockErrorModalTitle"></span></strong>
                        </div>
                        <div class="col-xs-1 pull-right">
                            <i class="fa fa-times clickable-icon m-l-xs" data-dismiss="modal" title="@Loc.Close"></i>
                        </div>
                    </div>
                </div>
                <span id="stockErrorModalMsg"></span>
                <div class="well well-sm well-bg clickable-icon m-t-sm m-b-sm hidden" data-dismiss="modal" id="stockErrorDocument">
                    <div class="row">
                        <div class="col-xs-2">
                            <div class="icon-arrow-right"></div>
                        </div>
                        <div class="col-xs-10 well-text-margin">
                            <strong>@Loc.Document</strong>
                            <p class="no-margins">@Loc.OpenDocumentCheckAndFixData</p>
                        </div>
                    </div>
                </div>
                <div class="well well-sm well-bg clickable-icon m-t-sm m-b-sm" data-dismiss="modal" id="stockErrorStockCard" onclick="openStockCardForIdent()">
                    <div class="row">
                        <div class="col-xs-2">
                            <div class="icon-arrow-right"></div>
                        </div>
                        <div class="col-xs-10 well-text-margin">
                            <strong>@Loc.StockCard</strong>
                            <p class="no-margins">@Loc.OpenStockCardForIdent</p>
                        </div>
                    </div>
                </div>
                <div class="well well-sm well-bg clickable-icon m-t-sm m-b-sm" data-dismiss="modal" id="continueStockError">
                    <div class="row">
                        <div class="col-xs-2">
                            <div class="icon-arrow-right"></div>
                        </div>
                        <div class="col-xs-10 well-text-margin">
                            <strong>@Loc.Continue</strong>
                            <p class="no-margins">@Loc.ContinueWithWork</p>
                        </div>
                    </div>
                </div>
                <div class="well well-sm well-bg clickable-icon m-b-sm" id="stockErrorHelpClick">
                    <div class="row">
                        <div class="col-xs-2">
                            <div class="icon-arrow-right"></div>
                        </div>
                        <div class="col-xs-10 well-text-margin">
                            <strong>@Loc.ViewInstructions</strong>
                            <p class="no-margins">@Loc.ViewInstructionsDescription</p>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>