Beispiel #1
0
 private static InvoiceReportDetails GetSummary(InvoiceProductMaster IPM, ProductDescriptionMaster PDM, SubLookupMaster SLM)
 {
     return(new InvoiceReportDetails()
     {
         InvoiceNo = IPM.InvoiceNo,
         Description = PDM.ProductId + " - " + PDM.Title + " " + PDM.PosterDimensions + " [" + SLM.SubLookupName + "]",
         Quantity = IPM.Quantity,
         UnitPrice = IPM.UnitPrice,
         NetSale = IPM.NetSale,
         CGST = IPM.Cgst,
         SGST = IPM.Sgst,
         IGST = IPM.Igst,
         ShippingUnitPrice = IPM.ShippingUnitPrice,
         ShippingNetSale = IPM.ShippingNetSale,
         ShippingCGST = IPM.ShippingCgst,
         ShippingSGST = IPM.ShippingSgst,
         ShippingIGST = IPM.ShippingIgst,
         ShippingTotal = IPM.ShippingTotal,
         Rate = IPM.Rate,
         SettlementAmount = IPM.SettlementAmount,
         DifferenceAmount = (IPM.Total - IPM.SettlementAmount),
         CGSTPerc = IPM.Cgstperc,
         SGSTPerc = IPM.Sgstperc,
         IGSTPerc = IPM.Igstperc
     });
 }
 public void Update(ProductDescriptionMaster productDescriptionMaster)
 {
     throw new NotImplementedException();
 }