InventoryType from XML
Transaction updates
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
@using InventoryTraker.Web.Helpers
|
||||
@using InventoryTraker.Web.Models
|
||||
@model dynamic
|
||||
|
||||
@{
|
||||
ViewBag.Title = "Inventory";
|
||||
}
|
||||
|
||||
<div ng-controller="InventoryListController as vm">
|
||||
<h1 class="page-header">
|
||||
Transactions
|
||||
</h1>
|
||||
<div class="pull-right">
|
||||
@*<a class="btn btn-default" href="" ng-click="vm.add()"><i class="fa fa-plus-circle"></i> Arrival</a>
|
||||
<a class="btn btn-default" href="" ng-click="vm.distribute()"><i class="fa fa-share-square"></i> Distribute</a>*@
|
||||
</div>
|
||||
|
||||
@(Html.Angular().GridFor<TransactionController>(c => c.All())
|
||||
.Title("Transactions")
|
||||
.Columns<TransactionViewModel>(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);
|
||||
}))
|
||||
</div>
|
||||
Reference in New Issue
Block a user