Distribution report
This commit is contained in:
@@ -119,11 +119,8 @@ namespace InventoryTraker.Web.Controllers
|
||||
TransactionType = TransactionType.Distributed,
|
||||
RemovedQuantity = quantityForm.Quantity,
|
||||
CurrentQuantity = inventory.Quantity,
|
||||
Memo =
|
||||
string.IsNullOrEmpty(form.Memo)
|
||||
? $"{form.Memo} | "
|
||||
: ""
|
||||
+ $"Distributed to {form.Destination}",
|
||||
Destination = form.Destination,
|
||||
Memo = form.Memo,
|
||||
Timestamp = DateTime.Now,
|
||||
TransactionDate = form.DistributedDate
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user