@using Microsoft.Web.Mvc.Html
@{
    ViewBag.Title = "Inventory Distribution Report";
}

<div ng-controller="DistributionReportController as vm">
    <h1 class="page-header">
        <i class="fa fa-file-o"></i> @ViewBag.Title
    </h1>
    <div class="row hidden-print">
        <div class="col-md-9">
            <div class="panel panel-default">
                <div class="panel-body">
                    <date-range-query query-fn="vm.loadData"></date-range-query>
                </div>
            </div>
        </div>
    </div>
    <div class="row" ng-show="vm.distributionData.length">
        <div class="col-md-12">
            <distribution-report distribution-data="vm.distributionData"></distribution-report>
        </div>
    </div>
</div>
