@using InventoryTraker.Web.Helpers
@using InventoryTraker.Web.Models
@model dynamic
@{
ViewBag.Title = "Inventory";
}
@(Html.Angular().GridFor
(c => c.All())
.Title("Transactions")
.Columns(config =>
{
config.Add(x => x.Name);
config.Add(x => x.Memo);
config.Add(x => x.TransactionDate, "Transaction Date", "date: 'MM/dd/yyyy'");
config.Add(x => x.AddedQuantity, "Add Qty");
config.Add(x => x.RemovedQuantity, "Remove Qty");
config.Add(x => x.CurrentQuantity);
}))