@if (InvoiceID == 0 || InvoiceID == null ? false : true)
{
@if (!(!invoice.IsDeleted && invoice.invoiceType != InvoiceType.Bidding && SendInvoice) && !string.IsNullOrEmpty(invoice.inno))
{
}
@if (invoice.BillReference.HasValue)
{
@{
string Prefence = "InvoiceDetails/" + invoice.BillReference.Value.ToString();
}
}