Gloria Food Tweaks

@emre I know you are busy but could I ask you to make one addition to your Gloria Food script? I need it to determine if Ticket is Paid or not by reading the Payment return from Gloria JSON and putting that in a custom status called Online Payment Values can be Paid or Unpaid… i just need to read that status in SambaPOS to insert Paid Online into my ticket template if a customer Paid online. I am accepting online payments so when tickets come in some of them will be paid already and i need to be able to print that on the tickets.

I am attempting to make the change myself but my weak js skills are eluding me.

I have already customized the script for my needs the last thing I needed was this change.