some use case , you want keep sale as default, don't want active by default. You can add this code to end of this file yourtheme/functions.php
function custom_keep_sale_setting($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_keep_sale_setting',20,1);
If you want hire the switch save sale on logout popup, you can add this css to admin/pos/setting/pos layout setting / custom css
.keep-sale-option{
display: none!important;
}Done. Let REFESH + LOGOUT + LOGIN Pos again to see the effect.
No comments:
Post a Comment