Light invoice model, to be used in list views and search results
Inheritance: DineroEntity
 public static string InvoiceToPrintableString(SalesVoucherReadListModel invoice)
 {
     return string.Format("{0} {3} '{4}'- {1} - {2:C} - {5}",
         invoice.Description, invoice.Date, invoice.TotalInclVat, invoice.Number, invoice.Status, invoice.ContactName);
 }
 public static string CreditNoteToPrintableString(SalesVoucherReadListModel CreditNote)
 {
     return string.Format("{0} [VoucherNumber: {3}] '{4}'- {1} - {2} - {5}",
         CreditNote.Description, CreditNote.Date, CreditNote.TotalInclVat.ToString("C"), CreditNote.Number, CreditNote.Status, CreditNote.ContactName);
 }
 public static string CreditNoteToPrintableString(SalesVoucherReadListModel salesVoucher)
 {
     return string.Format(" {6} - '{0}' [VoucherNumber: {3}] '{4}'- {1} - {2} - {5}",
         salesVoucher.Description, salesVoucher.Date, salesVoucher.TotalInclVat.ToString("C"), salesVoucher.Number, salesVoucher.Status, salesVoucher.ContactName, salesVoucher.Type);
 }