Blacklist
This commit is contained in:
@@ -9,6 +9,7 @@ use App\Gadai;
|
||||
use App\Lelong;
|
||||
use App\Cawangan;
|
||||
use App\Poskod;
|
||||
use App\Blacklist;
|
||||
use Illuminate\Http\Request;
|
||||
|
||||
use Carbon\Carbon;
|
||||
@@ -703,4 +704,11 @@ class CustomerController extends Controller
|
||||
}
|
||||
return response()->json(number_format($jumlahBakiLelong,2));
|
||||
}
|
||||
|
||||
public function blacklistCustomer(Request $request){
|
||||
|
||||
$blacklist = Blacklist::where('nokp',$request->nokp)->first();
|
||||
|
||||
return response()->json($blacklist);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user