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.
C# aspnet-corecsharpdockerdotnetecommerceecommerce-platformmongodbmulti-storemulti-vendornosqlonline-shopshoppingcart
@model CustomerNotesModel
@inject IPageHeadBuilder pagebuilder
@{
Layout = "_TwoColumns";
//title
pagebuilder.AddTitleParts(Loc["Title.Notes"]);
}
@section left
{
@await Component.InvokeAsync("CustomerNavigation", new { selectedTabId = AccountNavigationEnum.Notes })
}
<div class="page account-page auction-list-page ps-lg-3 pt-3 pt-lg-0">
<h1 class="h2 generalTitle">@Loc["Account.CustomerNotes"]</h1>
@if (Model.CustomerNoteList.Any())
{
foreach (var item in Model.CustomerNoteList)
{
<div class="card mb-3">
<div class="card-header">
<h5 class="d-inline-flex">
@item.Title
</h5>
<div class="d-inline-flex align-items-center w-100">
<small class="text-muted me-2">@Loc["Account.CustomerNotes.Createdate"]:</small>
<i class="b-icon bi bi-calendar2-check text-info mx-2" aria-hidden="true"></i>
<small class="text-muted">@item.CreatedOn</small>
</div>
</div>
<div class="card-body">
@item.Note
</div>
<div class="card-footer">
@if (!string.IsNullOrEmpty(item.DownloadId))
{
<div class="d-inline-flex">
<span class="mb-2">
<span class="col-form-label">@Loc["Account.CustomerNotes.Attachment"]:</span>
<a class="mx-2" href="@Url.RouteUrl("GetCustomerNoteFile", new { customerNoteId = item.NoteId })">@Loc["Customer.Notes.Download"]</a>
</span>
</div>
}
</div>
</div>
}
}
else
{
<div class="no-data alert alert-info mt-3">
@Loc["Account.CustomerNotes.NoExists"]
</div>
}
</div>