So I made the interactive start/stop workperiod button, but some how it bug the vavigation screen.
Now here are my settings for this Automated Command:
Problems:
- Have to hit the button several times before it ends the work period.
- The navigation menu is changed after the workperiod is closed.
Button Code:
[='{SETTING:ISCURRENTWORKPERIODOPEN}'=='TRUE' ? '<block 25,20,25,20 Green>' : '<block 25,20,25,20 Red>']WERKPERIODE IS<linebreak/><b>[=('{SETTING:ISCURRENTWORKPERIODOPEN}'=='TRUE' ? 'OPEN' : 'AFGESLOTEN')]</b><linebreak/><linebreak/>[=TN('{REPORT TICKET COUNT:(TS.Status=Unpaid)}')>0 ? 'Kan niet afsluiten met<linebreak/>with ' + TN('{REPORT TICKET COUNT:(TS.Status=Unpaid)}') + ' open bonnen<linebreak/><linebreak/>Klik hier om naar de<linebreak/>open bonnen te kijken' : 'Werk periode <linebreak/>' + ('{SETTING:ISCURRENTWORKPERIODOPEN}'=='TRUE' ? 'afsluiten' : 'openen') + '?<linebreak/>Klik hier!']</block>
