<commit_before>@using Humanizer
@model AnlabMvc.Models.Order.OrderResultsModel

@{
    ViewData["Title"] = "Results for #" + Model.OrderReviewModel.Order.RequestNum;
}
@section ActionButtons
{
    <p>
        @if (Model.ShowCreditCardPayment)
        {
            <form action="@Model.CyberSourceUrl" method="post" autocomplete="off" style="margin-right: 3px">
                @foreach (var pair in Model.PaymentDictionary)
                {
                    <input type="hidden" name="@pair.Key" value="@pair.Value"/>
                }
                <input type="hidden" name="signature" value="@ViewBag.Signature"/>
                <button type="submit" class="btn btn-primary" aria-hidden="true"><i class="fa fa-credit-card" aria-hidden="true"></i> @(String.Format("{0:C}", Model.OrderReviewModel.OrderDetails.GrandTotal)) Pay Now</button>
            </form>
            <a class="btn" href="#">
                <i class="fa fa-money" aria-hidden="true"></i> Pay Another Way
            </a>
        }
        else
        {
            if (!Model.OrderReviewModel.Order.Paid)
            {
                <form asp-controller="Results" asp-action="ConfirmPayment" method="post" autocomplete="off" style="margin-right: 3px">
                    @Html.AntiForgeryToken()
                    <input type="hidden" name="id" value="@Model.OrderReviewModel.Order.ShareIdentifier"/>
                    <button type="submit" class="btn btn-primary" aria-hidden="true"><i class="fa fa-money" aria-hidden="true"></i> Confirm Payment</button>
                </form>
                 <a class="btn" href="#">
                     <i class="fa fa-money" aria-hidden="true"></i> Update Account And Confirm
                 </a>
             }
        }
        @if (Model.OrderReviewModel.Order.Paid)
        {
            <a class="btn btn-small" asp-action="Download" asp-route-id="@Model.OrderReviewModel.Order.ShareIdentifier">
                <i class="fa fa-download" aria-hidden="true"></i> Download
            </a>
        }
    </p>
}

    
<div class="col">
@Html.Partial("_OrderDetails", Model.OrderReviewModel)

</div>
@section AdditionalStyles
{
    @{ await Html.RenderPartialAsync("_DataTableStylePartial"); }
}

@section Scripts
{
    @{ await Html.RenderPartialAsync("_DataTableScriptsPartial"); }

    <script type="text/javascript">
        $(function() {
            $("#table").dataTable();
        });
    </script>

    @{ await Html.RenderPartialAsync("_ShowdownScriptsPartial"); }

}
<commit_msg>No pay another way at this point.<commit_after>@using Humanizer
@model AnlabMvc.Models.Order.OrderResultsModel

@{
    ViewData["Title"] = "Results for #" + Model.OrderReviewModel.Order.RequestNum;
}
@section ActionButtons
{
    <p>
        @if (Model.ShowCreditCardPayment)
        {
            <form action="@Model.CyberSourceUrl" method="post" autocomplete="off" style="margin-right: 3px">
                @foreach (var pair in Model.PaymentDictionary)
                {
                    <input type="hidden" name="@pair.Key" value="@pair.Value"/>
                }
                <input type="hidden" name="signature" value="@ViewBag.Signature"/>
                <button type="submit" class="btn btn-primary" aria-hidden="true"><i class="fa fa-credit-card" aria-hidden="true"></i> @(String.Format("{0:C}", Model.OrderReviewModel.OrderDetails.GrandTotal)) Pay Now</button>
            </form>
        }
        else
        {
            if (!Model.OrderReviewModel.Order.Paid)
            {
                <form asp-controller="Results" asp-action="ConfirmPayment" method="post" autocomplete="off" style="margin-right: 3px">
                    @Html.AntiForgeryToken()
                    <input type="hidden" name="id" value="@Model.OrderReviewModel.Order.ShareIdentifier"/>
                    <button type="submit" class="btn btn-primary" aria-hidden="true"><i class="fa fa-money" aria-hidden="true"></i> Confirm Payment</button>
                </form>
                 <a class="btn" href="#">
                     <i class="fa fa-money" aria-hidden="true"></i> Update Account And Confirm
                 </a>
             }
        }
        @if (Model.OrderReviewModel.Order.Paid)
        {
            <a class="btn btn-small" asp-action="Download" asp-route-id="@Model.OrderReviewModel.Order.ShareIdentifier">
                <i class="fa fa-download" aria-hidden="true"></i> Download
            </a>
        }
    </p>
}

    
<div class="col">
@Html.Partial("_OrderDetails", Model.OrderReviewModel)

</div>
@section AdditionalStyles
{
    @{ await Html.RenderPartialAsync("_DataTableStylePartial"); }
}

@section Scripts
{
    @{ await Html.RenderPartialAsync("_DataTableScriptsPartial"); }

    <script type="text/javascript">
        $(function() {
            $("#table").dataTable();
        });
    </script>

    @{ await Html.RenderPartialAsync("_ShowdownScriptsPartial"); }

}

{'fraction_non_alphanumeric': 0.15406446381512265, 'fraction_numerical': 0.001216298398540442, 'mean_word_length': 2.3180901143241424, 'pattern_counts': {'":': 0, '<': 65, '<?xml version=': 0, '>': 65, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4720425', 'n_tokens_mistral': 1441, 'n_tokens_neox': 1371, 'n_words': 251}