Looking for help?
Alway keep offline order when logout
function custom_pos_clear_desk_after_checkout($session_response_data){
$session_response_data['setting']['pos_default_clear_sale_data'] = 'no';
return $session_response_data;
}
add_filter('op_get_login_cashdrawer_data','custom_pos_clear_desk_after_checkout',11,1);