added new logout button and fixed pdf viewing
This commit is contained in:
@@ -680,6 +680,11 @@ class WarehouseShippingNoteController extends TTCrud {
|
||||
return;
|
||||
}
|
||||
|
||||
if (strpos($_SERVER['REMOTE_ADDR'], '172.18') === 0) {
|
||||
self::returnJson([]);
|
||||
return;
|
||||
}
|
||||
|
||||
$calendars = CalendarModel::getAll();
|
||||
|
||||
// loop through all calendars and find the one with user_id as the worker's id
|
||||
|
||||
Reference in New Issue
Block a user