Subversion Repositories SmartDukaan

Rev

Rev 24917 | Rev 25714 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 24917 Rev 24995
Line 7... Line 7...
7
import java.util.Set;
7
import java.util.Set;
8
 
8
 
9
import org.springframework.stereotype.Service;
9
import org.springframework.stereotype.Service;
10
 
10
 
11
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
11
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
-
 
12
import com.spice.profitmandi.common.model.BrandStockPrice;
12
import com.spice.profitmandi.common.model.CustomCurrentInventorySnapshot;
13
import com.spice.profitmandi.common.model.CustomCurrentInventorySnapshot;
13
import com.spice.profitmandi.common.model.InventoryItemAgingModel;
14
import com.spice.profitmandi.common.model.InventoryItemAgingModel;
14
import com.spice.profitmandi.common.model.MapWrapper;
15
import com.spice.profitmandi.common.model.MapWrapper;
15
import com.spice.profitmandi.dao.entity.fofo.CustomerReturnItem;
16
import com.spice.profitmandi.dao.entity.fofo.CustomerReturnItem;
16
import com.spice.profitmandi.dao.entity.fofo.DebitNote;
17
import com.spice.profitmandi.dao.entity.fofo.DebitNote;
Line 41... Line 42...
41
	public List<InventoryItemAgingModel> getItemAgingByInterval(int fofoId, List<Integer> intervals) throws ProfitMandiBusinessException;
42
	public List<InventoryItemAgingModel> getItemAgingByInterval(int fofoId, List<Integer> intervals) throws ProfitMandiBusinessException;
42
	public Map<String, Object> getPaginatedItemAgingByInterval(int fofoId, List<Integer> intervals, String searchContent, int offset, int limit) throws ProfitMandiBusinessException;
43
	public Map<String, Object> getPaginatedItemAgingByInterval(int fofoId, List<Integer> intervals, String searchContent, int offset, int limit) throws ProfitMandiBusinessException;
43
	public Map<String, Object> addToCart(String cartJson, int fofoId) throws ProfitMandiBusinessException;
44
	public Map<String, Object> addToCart(String cartJson, int fofoId) throws ProfitMandiBusinessException;
44
	public Map<String, Object> validateCart(String cartJson, int fofoId) throws ProfitMandiBusinessException;
45
	public Map<String, Object> validateCart(String cartJson, int fofoId) throws ProfitMandiBusinessException;
45
	public void saleReturnInventoryItem(CustomerReturnItem customerReturnItem) throws ProfitMandiBusinessException;
46
	public void saleReturnInventoryItem(CustomerReturnItem customerReturnItem) throws ProfitMandiBusinessException;
-
 
47
	public Map<String, BrandStockPrice> getBrandWiseStockValue(int fofoId);
46
	public void returnInventory(PurchaseReturnItem purchaseReturnItem); 
48
	public void returnInventory(PurchaseReturnItem purchaseReturnItem); 
47
	//public void returnInventoryItems(List<InventoryItem> inventoryItems, DebitNote debitNote);
49
	//public void returnInventoryItems(List<InventoryItem> inventoryItems, DebitNote debitNote);
48
	public void returnItems(DebitNote debitNote) throws Exception;
50
	public void returnItems(DebitNote debitNote) throws Exception;
49
	public List<ItemQuantity> getPartnerStockOnDate(LocalDate stockDate);
51
	public List<ItemQuantity> getPartnerStockOnDate(LocalDate stockDate);
50
	float getTotalAmountInStock(int fofoId);
52
	float getTotalAmountInStock(int fofoId);