public ShowDocumentController(IGenericDocumentRepository genericDocumentRepository, IOrderRepository orderRepository, IDispatchNoteRepository dispatchNoteRepository, IInventoryReceivedNoteRepository inventoryReceivedNoteRepository, IInvoiceRepository invoiceRepository, IReturnsNoteRepository returnsNoteRepository, IReceiptRepository receiptRepository, IInventoryAdjustmentNoteRepository inventoryAdjustmentNoteRepository, ICreditNoteRepository creditNoteRepository, IDisbursementNoteRepository disbursementNoteRepository, IPaymentNoteRepository paymentNoteRepository, ICommodityPurchaseRepository commodityPurchaseRepository, IInventoryTransferNoteRepository inventoryTransferNoteRepository)
 {
     _genericDocumentRepository = genericDocumentRepository;
     _orderRepository = orderRepository;
     _dispatchNoteRepository = dispatchNoteRepository;
     _inventoryReceivedNoteRepository = inventoryReceivedNoteRepository;
     _invoiceRepository = invoiceRepository;
     _returnsNoteRepository = returnsNoteRepository;
     _receiptRepository = receiptRepository;
     _inventoryAdjustmentNoteRepository = inventoryAdjustmentNoteRepository;
     _creditNoteRepository = creditNoteRepository;
     _disbursementNoteRepository = disbursementNoteRepository;
     _paymentNoteRepository = paymentNoteRepository;
     _commodityPurchaseRepository = commodityPurchaseRepository;
     _inventoryTransferNoteRepository = inventoryTransferNoteRepository;
 }
Esempio n. 2
0
        public EntityUsage(List<Order> salesmanOrders, ITargetRepository targetRepository, IInventoryRepository inventoryRepository, IOrderRepository orderRepository, 
            IInvoiceRepository invoiceRepository, IReceiptRepository receiptRepository, ICreditNoteRepository creditNoteRepository,
            IDispatchNoteRepository dispatchNoteRepository, ICostCentreRepository costCentreRepository, ICommodityOwnerRepository commodityOwnerRepository, ICommodityProducerRepository commodityProducerRepository, ICommodityPurchaseRepository commodityPurchaseNoteRepository)
        {
            _dispatchNoteRepository = dispatchNoteRepository;
            _salesmanOrders = salesmanOrders;
            _targetRepository = targetRepository;
            _inventoryRepository = inventoryRepository;
            _orderRepository = orderRepository;
            _invoiceRepository = invoiceRepository;
            _receiptRepository = receiptRepository;
            _creditNoteRepository = creditNoteRepository;
            _costCentreRepository = costCentreRepository;
            _commodityOwnerRepository = commodityOwnerRepository;
            _commodityProducerRepository = commodityProducerRepository;
            _commodityPurchaseNoteRepository = commodityPurchaseNoteRepository;

            OrderPaymentInfos = new List<InvoicePaymentInfo>();
        }
Esempio n. 3
0
 public GetDocumentReference(IReceiptRepository receiptService, IInvoiceRepository invoiceService, ICostCentreRepository costCentreService, IDispatchNoteRepository dispatchNoteService, IDisbursementNoteRepository disbursementNoteService, IInventoryTransferNoteRepository inventoryTransferNoteService, ICreditNoteRepository creditNoteService, IOrderRepository orderService, IReturnsNoteRepository returnsNoteService, ICommodityPurchaseRepository commodityPurchaseRepository, ICommodityReceptionRepository commodityReceptionRepository, ICommodityStorageRepository commodityStorageRepository, ISettingsRepository settingsRepository, ICommodityWarehouseStorageRepository commodityWarehouseStorageRepository, ICommodityReleaseRepository commodityReleaseRepository)
 {
     _receiptService = receiptService;
     _invoiceService = invoiceService;
     _costCentreService = costCentreService;
     
     _dispatchNoteService = dispatchNoteService;
     _disbursementNoteService = disbursementNoteService;
     _inventoryTransferNoteService = inventoryTransferNoteService;
     _creditNoteService = creditNoteService;
     _orderService = orderService;
     _returnsNoteService = returnsNoteService;
     _commodityPurchaseRepository = commodityPurchaseRepository;
     _commodityReceptionRepository = commodityReceptionRepository;
     _commodityStorageRepository = commodityStorageRepository;
     _settingsRepository = settingsRepository;
     _commodityWarehouseStorageRepository = commodityWarehouseStorageRepository;
     _commodityReleaseRepository = commodityReleaseRepository;
 }