Skip to content

Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.

1.1 KB
Raw Blame
@model PaymentSettingsModel
@{
    ViewBag.Title = Loc["Admin.Configuration.Payment.Settings"];
    Layout = Constants.LayoutStore;
}
<form asp-area="@Constants.AreaStore" asp-controller="Payment" asp-action="Settings" method="post">

    <div asp-validation-summary="All"></div>

    @* the payment switches in two columns, Save as the one primary action *@
    <admin-page sticky title="@Loc["Admin.Configuration.Payment.Settings"]" icon="bi-sliders">
        <page-actions>
            <button class="btn btn-primary" type="submit" name="save">
                <i class="bi bi-check-lg"></i> @Loc["Admin.Common.Save"]
            </button>
        </page-actions>

        <admin-card>
            <div class="grand-fields grand-fields--2col">
                <admin-field asp-for="AllowRePostingPayments"/>
                <admin-field asp-for="SkipPaymentIfOnlyOne"/>
                <admin-field asp-for="ShowPaymentIfCartIsZero"/>
                <admin-field asp-for="ShowPaymentDescriptions"/>
                <admin-field asp-for="SkipPaymentInfo"/>
            </div>
        </admin-card>
    </admin-page>
</form>