Time Clock & Punch Editor - Custom Navigation Flow: Uses Employee Entities not Users

Try reading the topic i liked to… it shows you.
If its same issue you need to add two registry values for .net

read topic. added 2 keys and still same issue. is there a import file for punch editor?


No I did not make an import file. But you can view the raw configuration file data and make your own by copy paste.

i did start the tutorial.i am stuck at the widget custom entity screen setup. i am using create ticket by default, so i can’t access the entity screens, only my navigation screen.what am i doing wrong? any help?

how to calculate pay rate per day instead of hours?

I know this is an old thread, but where does the report.php come from for this script? TimeTrex doesn’t have this file in the json scripts directory so I assume it’s custom? Or maybe something has changed.

var u = 'http://localhost:8085/api/json/report.php?user='+name;
var data = web.Download(u);
var result = JSON.parse(data);
var userid = result.id;

I built it myself. There is api documentation included on their forum. I used the API with some samples for inspiration and built it. It took me a while I had to figure out a few workarounds due to Sambapos limitations at the time.

Ok, I thought that may be the case.

I’ve been going through that api all morning for a few hours trying to make my own, but I don’t really know php well, so it’s trial and error.

It doesn’t seem like it would be hard, I think I just don’t have the syntax correct.

hello someone could help me in how to remove the this timeclock I tried to remove the mapping of all the rules that contain “TC” however I can not use the pos button
after that if I remove the option to allow custom navigation the pos button works fine but I do not want to have the samba default screen
greetings from Peru

Delete the POS automation Command then go to Settings Program Settings and click the maintenance then Create Default Navigation buttons. It should work ok. Delete the rule for Automation Command Executed for POS.

Never install something your not sure about. Good practice is to backup database before so you can revert.

1 Like

thank you kendash I really like your work and the flow you have created the only thing I need for the timelock to work for me is to return to the navigation screen after (the order is sent to the kitchen, after pressing close button , pressing print bill button and pay the ticket)
I was researching every action and rule that you created and I found that the action i need to add is " tc: navigate module" so I added this action to close ticket and print bill rule and it works fine it returns to navigation screen however I can not get it working when I pay a ticket after clicking a cash or crefit card button
ive tried to add this action to “ticket payment check rule” but did not work i dont know what rule i need to modify to get the expected result maybe you could give some help
Muchas Gracias =)

1 Like

Can you share a ZIP from your setting?

I am no longer using this so I do not have this config any more. I am using 7Shifts, www.7shifts.com, and an integration I wrote for SambaPOS

Not sure I understand your not using samba time clock anymore? So I have to paid for an other program for keep tracking of the time sheet?

He changed to use 7shifts as it offers a better solution.
SambaPOS is after all a POS not a wages software.
Yes it is possible to do a basic time clock within samba, you can make your own or as you have tried, use the tutorials on forum (which work), however if you are unable to achive what tutorial shows perhaps you either need to seek a reseller to do for you or go for an ‘active’ solution.
Jesse moved to a better soluton to use a 3rd party and intergrate samba as a punch clock. If you dont like that then your welcome to go back and follow the tutorials.

7shifts is free for less than 10 employees. It is totally worth the money though. It has saved me almost 20% on payroll.

1 Like

Ok thanks i Will take a look … and they make week salary To? And other question I’ve been looking and searching for around 3 hours for a inventory report printer template … I have one … look good on viewer but when I print I just have the inventory item And the unit … no quantity…

And do you use accounting systems of samba or you using other systems to

So i just pass a lot of time to read on the forum , my point is, i need somting like a punch card, for my employees sign after ther week … i dont do my accounting , i send every thing to my accountant and hes making the paid and the slips…taxes etc

This is beta and was not complete but it does work. Backup your database first and import this db tools file then go to configuration tasks and execute timeclock task. timeclock