Added order image and description upload
This commit is contained in:
@@ -15,6 +15,15 @@
|
||||
<h2>@Model.Name</h2>
|
||||
<p class="text-muted">@Localizer.Get("Code"): <strong>@Model.OrderCode</strong></p>
|
||||
<p>@Localizer.Get("CreatedBy"): <strong>@Model.CreatorName</strong></p>
|
||||
<p>@Localizer.Get("CreatedOn"): @Model.CreatedAt.ToString("g")</p>
|
||||
@if (!string.IsNullOrEmpty(Model.ImagePath))
|
||||
{
|
||||
<img src="@Model.ImagePath" alt="Order Image" class="img-fluid mb-3" style="max-height: 300px; object-fit: cover;">
|
||||
}
|
||||
@if (!string.IsNullOrEmpty(Model.AdditionalInfo))
|
||||
{
|
||||
<p class="border rounded p-3" style="white-space: pre-wrap;">@Model.AdditionalInfo</p>
|
||||
}
|
||||
<p>@Localizer.Get("Status"): <span class="badge @(Model.IsClosed ? "bg-danger" : "bg-success")">@(Model.IsClosed ? Localizer.Get("Closed") : Localizer.Get("Open"))</span></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user