Projects (GanjooRazor -> DiwanRazor, GanjoorService.sln -> DiwanService.sln), files, folders, classes, namespaces, settings, API routes (/api/diwan) and DB tables (Diwan*). External addresses (ganjoor.net, github.com/ganjoor) unchanged. Migrations renamed consistently (no pending model changes); requires a fresh database. Upstream RUNNING_LOCALLY/SEMANTIC_SEARCH docs archived unmodified under docs/. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
37 lines
837 B
Plaintext
37 lines
837 B
Plaintext
@page
|
|
@model DiwanRazor.Areas.Admin.Pages.ExpenseEditModel
|
|
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
|
|
@{
|
|
Layout = "_AdminLayout";
|
|
ViewData["Title"] = "ویرایش هزینه";
|
|
}
|
|
|
|
<h1>@ViewData["Title"]</h1>
|
|
<p>@Model.LastMessage</p>
|
|
|
|
@if (Model.Expense != null)
|
|
{
|
|
<form method="post">
|
|
@Html.AntiForgeryToken()
|
|
|
|
<table>
|
|
<tr>
|
|
<td>تاریخ:</td>
|
|
<td><input type="date" asp-for="Expense.Date" /> </td>
|
|
</tr>
|
|
<tr>
|
|
<td>شرح:</td>
|
|
<td><input size="50" asp-for="Expense.Description" /> </td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2">
|
|
<input type="submit" value="ویرایش" />
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</form>
|
|
}
|
|
|
|
|