Refine admin login flow and verification harness
TaxBaik CI/CD / build-and-deploy (push) Successful in 2m21s

This commit is contained in:
2026-07-07 14:38:30 +09:00
parent b7cb442937
commit 35842b6765
60 changed files with 1043 additions and 495 deletions
@@ -147,7 +147,7 @@ else
private MudForm? form;
private bool isEditMode;
private Contract? selectedContract;
private ContractForm contractForm = new();
private ContractFormModel contractForm = new();
private RenderFragment ContractSkeleton => builder =>
{
@@ -198,7 +198,7 @@ else
{
selectedContract = null;
isEditMode = false;
contractForm = new ContractForm
contractForm = new ContractFormModel
{
ClientId = clients.FirstOrDefault()?.Id,
StartDate = DateTime.Today
@@ -210,7 +210,7 @@ else
if (contract == null) return;
selectedContract = contract;
isEditMode = true;
contractForm = new ContractForm
contractForm = new ContractFormModel
{
ClientId = contract.ClientId,
ContractNumber = contract.ContractNumber,
@@ -292,12 +292,4 @@ else
? client.Name
: $"Client #{client.Id}";
private class ContractForm
{
public int? ClientId { get; set; }
public string ContractNumber { get; set; } = "";
public string ServiceType { get; set; } = "";
public DateTime? StartDate { get; set; }
public decimal? MonthlyFee { get; set; }
}
}