Update query to include partial norujukan sag match
This commit is contained in:
@@ -483,6 +483,10 @@ class TebusController extends Controller
|
||||
$wakil = Wakil::on($cawangan['mysql'])
|
||||
->orderBy('nowakil','desc')
|
||||
->first();
|
||||
|
||||
if(!$wakil){
|
||||
return response(0);
|
||||
}
|
||||
|
||||
if($wakil['nowakil'])
|
||||
return response($wakil['nowakil']);
|
||||
|
||||
Reference in New Issue
Block a user