| Line 36... |
Line 36... |
| 36 |
import com.spice.profitmandi.common.model.CustomRetailer;
|
36 |
import com.spice.profitmandi.common.model.CustomRetailer;
|
| 37 |
import com.spice.profitmandi.common.model.PdfModel;
|
37 |
import com.spice.profitmandi.common.model.PdfModel;
|
| 38 |
import com.spice.profitmandi.common.model.ProfitMandiConstants;
|
38 |
import com.spice.profitmandi.common.model.ProfitMandiConstants;
|
| 39 |
import com.spice.profitmandi.common.util.PdfUtils;
|
39 |
import com.spice.profitmandi.common.util.PdfUtils;
|
| 40 |
import com.spice.profitmandi.common.util.StringUtils;
|
40 |
import com.spice.profitmandi.common.util.StringUtils;
|
| 41 |
import com.spice.profitmandi.dao.entity.Address;
|
41 |
import com.spice.profitmandi.dao.entity.catalog.Item;
|
| 42 |
import com.spice.profitmandi.dao.entity.CurrentInventorySnapshot;
|
42 |
import com.spice.profitmandi.dao.entity.dtr.Retailer;
|
| 43 |
import com.spice.profitmandi.dao.entity.Customer;
|
43 |
import com.spice.profitmandi.dao.entity.dtr.User;
|
| 44 |
import com.spice.profitmandi.dao.entity.CustomerAddress;
|
44 |
import com.spice.profitmandi.dao.entity.fofo.CurrentInventorySnapshot;
|
| 45 |
import com.spice.profitmandi.dao.entity.FofoLineItem;
|
45 |
import com.spice.profitmandi.dao.entity.fofo.Customer;
|
| 46 |
import com.spice.profitmandi.dao.entity.FofoLineItemSerialNumber;
|
46 |
import com.spice.profitmandi.dao.entity.fofo.CustomerAddress;
|
| 47 |
import com.spice.profitmandi.dao.entity.FofoOrder;
|
47 |
import com.spice.profitmandi.dao.entity.fofo.FofoLineItem;
|
| 48 |
import com.spice.profitmandi.dao.entity.InventoryItem;
|
48 |
import com.spice.profitmandi.dao.entity.fofo.FofoLineItemSerialNumber;
|
| 49 |
import com.spice.profitmandi.dao.entity.InvoiceNumberGenerationSequence;
|
49 |
import com.spice.profitmandi.dao.entity.fofo.FofoOrder;
|
| 50 |
import com.spice.profitmandi.dao.entity.Item;
|
50 |
import com.spice.profitmandi.dao.entity.fofo.InventoryItem;
|
| 51 |
import com.spice.profitmandi.dao.entity.LineItem;
|
51 |
import com.spice.profitmandi.dao.entity.fofo.InvoiceNumberGenerationSequence;
|
| 52 |
import com.spice.profitmandi.dao.entity.Order;
|
52 |
import com.spice.profitmandi.dao.entity.fofo.PaymentOption;
|
| 53 |
import com.spice.profitmandi.dao.entity.PaymentOption;
|
53 |
import com.spice.profitmandi.dao.entity.fofo.ScanRecord;
|
| 54 |
import com.spice.profitmandi.dao.entity.Retailer;
|
54 |
import com.spice.profitmandi.dao.entity.transaction.LineItem;
|
| 55 |
import com.spice.profitmandi.dao.entity.ScanRecord;
|
55 |
import com.spice.profitmandi.dao.entity.transaction.Order;
|
| 56 |
import com.spice.profitmandi.dao.entity.User;
|
56 |
import com.spice.profitmandi.dao.entity.user.Address;
|
| 57 |
import com.spice.profitmandi.dao.enumuration.ScanType;
|
57 |
import com.spice.profitmandi.dao.enumuration.fofo.ScanType;
|
| 58 |
import com.spice.profitmandi.dao.repository.AddressRepository;
|
58 |
import com.spice.profitmandi.dao.repository.dtr.RetailerRegisteredAddressRepository;
|
| 59 |
import com.spice.profitmandi.dao.repository.CurrentInventorySnapshotRepository;
|
59 |
import com.spice.profitmandi.dao.repository.dtr.RetailerRepository;
|
| 60 |
import com.spice.profitmandi.dao.repository.CustomerAddressRepository;
|
60 |
import com.spice.profitmandi.dao.repository.dtr.UserAccountRepository;
|
| 61 |
import com.spice.profitmandi.dao.repository.CustomerRepository;
|
61 |
import com.spice.profitmandi.dao.repository.dtr.UserRepository;
|
| 62 |
import com.spice.profitmandi.dao.repository.FofoLineItemRepository;
|
62 |
import com.spice.profitmandi.dao.repository.fofo.CurrentInventorySnapshotRepository;
|
| 63 |
import com.spice.profitmandi.dao.repository.FofoLineItemSerialNumberRepository;
|
63 |
import com.spice.profitmandi.dao.repository.fofo.CustomerAddressRepository;
|
| 64 |
import com.spice.profitmandi.dao.repository.FofoOrderRepository;
|
64 |
import com.spice.profitmandi.dao.repository.fofo.CustomerRepository;
|
| 65 |
import com.spice.profitmandi.dao.repository.InventoryItemRepository;
|
65 |
import com.spice.profitmandi.dao.repository.fofo.FofoLineItemRepository;
|
| 66 |
import com.spice.profitmandi.dao.repository.InvoiceNumberGenerationSequenceRepository;
|
66 |
import com.spice.profitmandi.dao.repository.fofo.FofoLineItemSerialNumberRepository;
|
| 67 |
import com.spice.profitmandi.dao.repository.OrderRepository;
|
67 |
import com.spice.profitmandi.dao.repository.fofo.FofoOrderRepository;
|
| 68 |
import com.spice.profitmandi.dao.repository.PaymentOptionRepository;
|
68 |
import com.spice.profitmandi.dao.repository.fofo.InventoryItemRepository;
|
| 69 |
import com.spice.profitmandi.dao.repository.RetailerRegisteredAddressRepository;
|
69 |
import com.spice.profitmandi.dao.repository.fofo.InvoiceNumberGenerationSequenceRepository;
|
| 70 |
import com.spice.profitmandi.dao.repository.RetailerRepository;
|
70 |
import com.spice.profitmandi.dao.repository.fofo.PaymentOptionRepository;
|
| 71 |
import com.spice.profitmandi.dao.repository.ScanRecordRepository;
|
71 |
import com.spice.profitmandi.dao.repository.fofo.ScanRecordRepository;
|
| 72 |
import com.spice.profitmandi.dao.repository.UserAccountRepository;
|
72 |
import com.spice.profitmandi.dao.repository.transaction.OrderRepository;
|
| 73 |
import com.spice.profitmandi.dao.repository.UserRepository;
|
73 |
import com.spice.profitmandi.dao.repository.user.AddressRepository;
|
| 74 |
import com.spice.profitmandi.web.model.FofoDetails;
|
74 |
import com.spice.profitmandi.web.model.FofoDetails;
|
| 75 |
import com.spice.profitmandi.web.request.CreateOrderRequest;
|
75 |
import com.spice.profitmandi.web.request.CreateOrderRequest;
|
| 76 |
import com.spice.profitmandi.web.request.CustomPaymentOption;
|
76 |
import com.spice.profitmandi.web.request.CustomPaymentOption;
|
| 77 |
import com.spice.profitmandi.web.response.ItemIdQuantityAvailability;
|
77 |
import com.spice.profitmandi.web.response.ItemIdQuantityAvailability;
|
| 78 |
import com.spice.profitmandi.web.response.Quantity;
|
78 |
import com.spice.profitmandi.web.response.Quantity;
|