예제 #1
0
 decimal getTotalPriceBrutto()
 {
     try
     {
         return(InvoiceItems.Sum(p => p.TotalPriceBrutto));
     }
     catch (Exception)
     {
         return(0);
     }
 }
예제 #2
0
 decimal getTotalVATValue()
 {
     try
     {
         return(InvoiceItems.Sum(p => p.TotalVATValue));
     }
     catch (Exception)
     {
         return(0);
     }
 }
예제 #3
0
 decimal getTotalNettPrice()
 {
     try
     {
         return(InvoiceItems.Sum(p => p.TotalPrice));
     }
     catch (Exception)
     {
         return(0);
     }
 }
예제 #4
0
 decimal getTotalValueBrutto()
 {
     return(InvoiceItems.Sum(p => p.ValueBrutto));
 }
예제 #5
0
 decimal getTotalVatValue()
 {
     return(InvoiceItems.Sum(p => p.VATValue));
 }