Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
2133 Prikazi

I need a JavaScript example / method to reload point_of_sale if POS session state is closed.

For example, if (this.env.pos.pos_session.state == 'closed')

reload()

any help will be greatly appreciated.



Avatar
Opusti
Best Answer

Hi,


Try this 

if (this.env.pos.pos_session.state === 'closed') {

    window.location.reload();

}


Hope it helps


Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
0
avg. 23
3027
1
maj 25
8331
0
apr. 15
6575
0
nov. 23
38
1
nov. 23
1677