Added edit indication to workflow
This commit is contained in:
@@ -27,10 +27,15 @@ class BuildingFileController extends mfBaseController {
|
||||
$this->redirect("Building");
|
||||
}
|
||||
|
||||
$building_id = $buildingfile->order_id;
|
||||
$building_id = $buildingfile->building_id;
|
||||
|
||||
$buildingfile->file->delete();
|
||||
$buildingfile->delete();
|
||||
|
||||
if($this->request->from == "pipework") {
|
||||
$this->redirect("Pipework", "Index", false, "object=".$building_id);
|
||||
}
|
||||
|
||||
$this->redirect("Building", "edit", ["id" => $building_id]);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user