Skip to Content
Menú
This question has been flagged
1 Respondre
1558 Vistes

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
Descartar
Best Answer

Hi,


Try this 

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

    window.location.reload();

}


Hope it helps


Avatar
Descartar
Related Posts Respostes Vistes Activitat
0
d’ag. 23
2140
1
de maig 25
7725
0
d’abr. 15
5931
0
de nov. 23
38
1
de nov. 23
1106