ui and bug fixers 29/09
This commit is contained in:
@@ -23,6 +23,12 @@ public class BranchConfig
|
||||
/// single-branch already).</summary>
|
||||
public bool WarehouseBranchingEnabled { get; set; } = true;
|
||||
|
||||
/// <summary>Independent sub-toggle for Purchase Orders. On: each PO belongs to one branch,
|
||||
/// non-admins only see their own branch's POs, and line warehouses must be in that branch.
|
||||
/// Off: POs form one shared pool across branches (kept on the default branch, visible to
|
||||
/// everyone, any warehouse allowed). Meaningless when <see cref="BranchingEnabled"/> is off.</summary>
|
||||
public bool PurchaseOrderBranchingEnabled { get; set; } = true;
|
||||
|
||||
public DateTime? UpdatedAt { get; set; }
|
||||
|
||||
public int? UpdatedBy { get; set; }
|
||||
|
||||
@@ -31,6 +31,14 @@ public class User
|
||||
/// </summary>
|
||||
public string? Email { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Set when an admin creates the account with an issued (temporary) password
|
||||
/// (<c>UserManagementService.CreateAsync</c>); surfaced via <c>GET /auth/me</c> so the
|
||||
/// frontend forces a password change on first login. Cleared by
|
||||
/// <c>POST /auth/change-password</c>.
|
||||
/// </summary>
|
||||
public bool MustChangePassword { get; set; }
|
||||
|
||||
/// <summary>Local shadow <see cref="Role"/> assignment; null until an admin assigns one.</summary>
|
||||
public int? RoleId { get; set; }
|
||||
public Role? Role { get; set; }
|
||||
|
||||
@@ -14,6 +14,8 @@ public class Vendor
|
||||
public string Name { get; set; } = string.Empty;
|
||||
public string? Terms { get; set; }
|
||||
public string? TaxReg { get; set; }
|
||||
public string? Address { get; set; }
|
||||
public string? Phone { get; set; }
|
||||
public string Currency { get; set; } = "LKR";
|
||||
public EntityStatus Status { get; set; } = EntityStatus.Active;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user