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