M3 Integration fixes
This commit is contained in:
@@ -21,7 +21,7 @@ class UserControlController extends Controller
|
||||
$connection = config('m3.connection', 'pgsql');
|
||||
$profile = null;
|
||||
if (Schema::connection($connection)->hasTable('icm428m')) {
|
||||
$profile = DB::connection($connection)->table('icm428m')->where('R428US', strtoupper(m3_user()))->first();
|
||||
$profile = DB::connection($connection)->table('icm428m')->where('R428US', strtoupper(m3User()))->first();
|
||||
}
|
||||
$co = $profile->R428CO ?? '';
|
||||
$whs = $profile->R428WH ?? '';
|
||||
|
||||
Reference in New Issue
Block a user