public function areastorelist(Request $request)
 {
     if (\Request::ajax()) {
         $areas = $request->areas;
         $type = $request->type;
         $report_type = 1;
         if (is_null($type) || $type != 'assortment') {
             $report_type = 2;
         }
         if ($report_type == 2) {
             $data['selection'] = StoreInventories::select('store_id', 'store_name')->whereIn('area', $areas)->orderBy('store_name')->lists('store_name', 'store_id');
         } else {
             $data['selection'] = AssortmentInventories::select('store_id', 'store_name')->whereIn('area', $areas)->orderBy('store_name')->lists('store_name', 'store_id');
         }
         return \Response::json($data, 200);
     }
 }