mirror of
https://github.com/Sea-Haven-Industries/proposal-system.git
synced 2026-10-03 12:43:17 +00:00
- Removed admin-only restriction on PDF download endpoints - Added GET pdf/versions endpoint returning all generated PDFs - Download PDF button on detail page for Approved/Sent/Revised proposals - PDF Versions card shows all revisions with individual download buttons - Dev-mode support for GetPdfRevision endpoint - Status timeline stepper now uses STATUS_LABELS (fixes "InReview" display) - PDF Lambda improvements for local generation
33 lines
676 B
C#
33 lines
676 B
C#
namespace ProposalSystem.Domain.Entities;
|
|
|
|
public enum AuditAction
|
|
{
|
|
Submit,
|
|
Edit,
|
|
Approve,
|
|
Download,
|
|
Regenerate,
|
|
Revise,
|
|
AssignAdmin,
|
|
EditLineItem,
|
|
EditScope,
|
|
GeneratePDF,
|
|
MarkSent,
|
|
CreateRevision,
|
|
UpdateRole,
|
|
ReturnToReview
|
|
}
|
|
|
|
public class AuditLog
|
|
{
|
|
public Guid Id { get; set; }
|
|
public Guid? ProposalId { get; set; }
|
|
public Guid UserId { get; set; }
|
|
public AuditAction Action { get; set; }
|
|
public string? Details { get; set; }
|
|
public DateTime Timestamp { get; set; }
|
|
public string? IpAddress { get; set; }
|
|
|
|
public Proposal? Proposal { get; set; }
|
|
public User? User { get; set; }
|
|
}
|