Browse Source

get database

hajar
Siti Hajar Ibrahim 5 years ago
parent
commit
80b81d1971
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      app/Http/Controllers/Controller.php

+ 1
- 1
app/Http/Controllers/Controller.php View File

@@ -122,6 +122,6 @@ class Controller extends BaseController
{
$work_order = WorkOrder::where('wo', $request->wo)->first();

return $work_order;
$work_order->delete();
}
}

Loading…
Cancel
Save