|
@@ -766,7 +766,7 @@ class destination_delivery {
|
|
|
if(!empty($serial_no)){
|
|
if(!empty($serial_no)){
|
|
|
common::checkedActionLegal($serial_no,$operate);
|
|
common::checkedActionLegal($serial_no,$operate);
|
|
|
}else{
|
|
}else{
|
|
|
- if(!_isApexLogin()){
|
|
|
|
|
|
|
+ if(_isApexLogin()){
|
|
|
$data = array("msg" =>"Employees cannot create booking");
|
|
$data = array("msg" =>"Employees cannot create booking");
|
|
|
common::echo_json_encode(200,$data);
|
|
common::echo_json_encode(200,$data);
|
|
|
exit();
|
|
exit();
|