@@ -46,7 +46,7 @@ class ProductScheduleModel extends BaseModel
];
public function store(){
- return (new StoreInfoModel())->find($this->store_id)->name;
+ return (new StoreInfoModel())->find($this->store_id)?(new StoreInfoModel())->find($this->store_id)->name:$this->store_id;
}