This commit is contained in:
2026-09-29 17:07:16 +05:30
parent ef4e0e0873
commit 89c0c17be7
5 changed files with 424 additions and 222 deletions
@@ -14,6 +14,7 @@ public class ShopPOService(
{
private static ShopPOResponse ToResponse(Models.ShopPO p, Dictionary<Guid, (string Name, string Role)>? users = null) =>
new(p.Id, p.FK_StoreId, p.Store?.StoreName ?? string.Empty,
p.Store?.StoreAddress, p.Store?.ContactNumber,
p.RaisedById, p.InvoiceId, p.TotalAmount, p.Status,
p.ConfirmedAt, p.ConfirmedBy, p.FulfilledAt,
p.Items.Where(i => i.IsActive).Select(i =>