This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
muadzmi02
/
allo
forked from
SwissLink/allo
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
get all wo with null status
hajar
Siti Hajar Ibrahim
5 years ago
parent
b45f673cd4
commit
9cfe34d4c2
1 changed files
with
1 additions
and
3 deletions
Unified View
Show Diff Stats
1
3
app/Http/Controllers/Controller.php
+ 1
- 3
app/Http/Controllers/Controller.php
View File
public function getDatabase()
public function getDatabase()
{
{
$wo = WorkOrder::where('wo','WO-15141')->first();
$wo->status = "Pending Contractor";
$wo->save();
$wo = WorkOrder::where('status','')->get();
return $wo;
return $wo;
}
}
Write
Preview
Loading…
Cancel
Save