Add payment method cheque enum

This commit is contained in:
2026-09-18 11:54:01 +05:30
parent 1f6d63a0b3
commit 4d7b8d8a56
2 changed files with 7 additions and 1 deletions
+3 -1
View File
@@ -22,7 +22,9 @@ namespace Distribution.Models
public enum PaymentStatus { Pending, PartiallyPaid, Paid } 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 } public enum DeliveryTaskStatus { Pending, Delivered, PartiallyDelivered, Failed }
+4
View File
@@ -10,7 +10,11 @@ namespace Distribution.Models
public decimal Amount { get; set; } public decimal Amount { get; set; }
public PaymentMethod Method { 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 DateTime CollectedAt { get; set; }
public Guid CollectedBy { get; set; } public Guid CollectedBy { get; set; }
public Guid? RecordedBy { get; set; }
} }
} }