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.

991 B
Raw Blame
@model GiftVoucherModel

<div asp-validation-summary="All"></div>
<input asp-for="Id" type="hidden"/>
@if (Model.AvailableStores.Count <= 1)
{
    <input asp-for="StoreId" type="hidden"/>
}
<admin-tabstrip name="giftvoucher-edit">
    <items>
        <tabstrip-item text="@Loc["Admin.GiftVouchers.Info"]" tab-index="0">
            <content>
                <div>
                    <partial name="Partials/CreateOrUpdate.TabInfo" model="Model"/>
                </div>
            </content>
        </tabstrip-item>
        @if (!string.IsNullOrEmpty(Model.Id))
        {
            <tabstrip-item text="@Loc["Admin.GiftVouchers.History"]" tab-index="1">
                <content>
                    <div>
                        <partial name="Partials/CreateOrUpdate.TabHistory" model="Model"/>
                    </div>
                </content>
            </tabstrip-item>
        }
        <partial name="Partials/WidgetZone.Tabs" model="Model"/>
    </items>
</admin-tabstrip>