Browse Source

get database

hajar
Siti Hajar Ibrahim 5 years ago
parent
commit
8c9b892672
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      app/Http/Controllers/Controller.php

+ 3
- 0
app/Http/Controllers/Controller.php View File



$subscriber = Subscriber::where('_id',$work_order->_id)->first(); $subscriber = Subscriber::where('_id',$work_order->_id)->first();


$subscriber->unit_no = "8, LORONG 1";
$subscriber->save();

return $subscriber; return $subscriber;
} }
} }

Loading…
Cancel
Save