@switch (invoice.invoiceType)
{
case(InvoiceType.Bidding):
break;
case (InvoiceType.Sale):
@* *@
break;
case (InvoiceType.BackFrmSale):
@* *@
break;
case (InvoiceType.Repair):
@* *@
break;
@* case (InvoiceType.Cancellation):
break; *@
}
@if (InvoiceID == 0 || InvoiceID == null ? false : true )
{
@if (!invoice.IsDeleted)
{
@if (InvoiceID == 0 || InvoiceID == null)
{
}
else
{
@* *@
}
}
@if (invoice.invoiceType != InvoiceType.Bidding)
{
}
@if (invoice.BillReference.HasValue)
{
@{
string Prefence = "InvoiceDetails/" + invoice.BillReference.Value.ToString();
}
}