@using OSS.Models @model OSS.Models.GetBillViewModel @{ /**/ Layout = "~/Views/Shared/_Layout.cshtml"; bool hideInvoiceGrid = false; if (ViewBag.HideInvoiceGrid != null) { bool.TryParse(ViewBag.HideInvoiceGrid.ToString(), out hideInvoiceGrid); } }