Subversion Repositories SmartDukaan

Rev

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

Rev 33128 Rev 33131
Line 341... Line 341...
341
 
341
 
342
        if (updateRetailerRequest.isFofo()) {
342
        if (updateRetailerRequest.isFofo()) {
343
            FofoStore fofoStore = this.createFofoStoreCodeByRetailerId(retailer.getId(), updateRetailerRequest.getDistrictName(), retailerAddress.getState(), updateRetailerRequest);
343
            FofoStore fofoStore = this.createFofoStoreCodeByRetailerId(retailer.getId(), updateRetailerRequest.getDistrictName(), retailerAddress.getState(), updateRetailerRequest);
344
            map.put("fofoStore", fofoStore);
344
            map.put("fofoStore", fofoStore);
345
            fofoStore.setActive(updateRetailerRequest.isActive());
345
            fofoStore.setActive(updateRetailerRequest.isActive());
-
 
346
            List<AST> astDetail = postOfficeService.getAreasAndTerritoriesByStateName(retailerAddress.getState());
-
 
347
            map.put("astDetail", astDetail);
346
        }
348
        }
347
 
349
 
348
        this.createPrivateDealUser(dtrUser, updateRetailerRequest.isFofo(), updateRetailerRequest.getGstNumber(), retailer, retailerAddress.getId());
350
        this.createPrivateDealUser(dtrUser, updateRetailerRequest.isFofo(), updateRetailerRequest.getGstNumber(), retailer, retailerAddress.getId());
349
        map.put("gstNumber", updateRetailerRequest.getGstNumber());
351
        map.put("gstNumber", updateRetailerRequest.getGstNumber());
350
        this.updateSaholicUser(retailer.getId(), retailerAddress.getId());
352
        this.updateSaholicUser(retailer.getId(), retailerAddress.getId());