diff --git a/Distribution/Models/Enums.cs b/Distribution/Models/Enums.cs index b183fcc..2497221 100644 --- a/Distribution/Models/Enums.cs +++ b/Distribution/Models/Enums.cs @@ -22,7 +22,9 @@ namespace Distribution.Models public enum PaymentStatus { Pending, PartiallyPaid, Paid } - public enum PaymentMethod { Cash, Credit } + public enum PaymentMethod { Cash, Cheque, Credit } + + public enum EntryMode { RealTime, DayEndManual } public enum DeliveryTaskStatus { Pending, Delivered, PartiallyDelivered, Failed } diff --git a/Distribution/Models/Payment.cs b/Distribution/Models/Payment.cs index f466283..56f46cb 100644 --- a/Distribution/Models/Payment.cs +++ b/Distribution/Models/Payment.cs @@ -10,7 +10,11 @@ namespace Distribution.Models public decimal Amount { get; set; } public PaymentMethod Method { get; set; } + public EntryMode EntryMode { get; set; } = EntryMode.RealTime; + public string? ChequeNumber { get; set; } + public DateTime? ChequeDate { get; set; } public DateTime CollectedAt { get; set; } public Guid CollectedBy { get; set; } + public Guid? RecordedBy { get; set; } } }