@model PowderCoating.Application.DTOs.Accounting.EditExpenseDto @* Note: ReceiptFilePath is carried via hidden field to detect existing receipt *@ @{ ViewData["Title"] = "Edit Expense"; ViewData["PageIcon"] = "bi-pencil-square"; ViewData["PageHelpTitle"] = "Edit Expense"; ViewData["PageHelpContent"] = "All fields are editable. Uploading a new receipt replaces the existing one. To remove a receipt without replacing it, use the Delete Receipt button on the Details page."; }
@Html.AntiForgeryToken()
$
@if (!string.IsNullOrEmpty(Model.ReceiptFilePath)) {
Receipt attached View
Upload a new file below to replace the existing receipt.
}
Image or PDF, up to 10 MB.
Receipt preview
Cancel
@section Scripts { @{await Html.RenderPartialAsync("_ValidationScriptsPartial");} }