# Daily/Weekly/Monthly Cleaning

**URL:** <https://forum.sambapos.com/t/daily-weekly-monthly-cleaning/20184>\
**Category:** V5 Question\
**Created:** [June 6, 2019, 2:54pm UTC](https://forum.sambapos.com/t/daily-weekly-monthly-cleaning/20184 "2019-06-06T14:54:45Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![GreatShakesBar](https://forum.sambapos.com/user_avatar/forum.sambapos.com/greatshakesbar/32/50947_2.png) [@GreatShakesBar](https://forum.sambapos.com/u/GreatShakesBar)\
**Post date:** [June 6, 2019, 2:54pm UTC](https://forum.sambapos.com/t/daily-weekly-monthly-cleaning/20184/1 "2019-06-06T14:54:45Z")

</div>

Im trying to set up a cleaning schedule on the till.

I wanted it to work a bit like the tables in terms of colour change. you click a cleaning job and then itll use the ask question action to show the job thats needing doing. Itll ask wether the job has been complete. Itll show a yes or no. If the job has been complete itll turn the button green and then put the user name of the person who completed the job on the button. If the job hasnt been completed then itll stay red.

I thought this would be easy, but its actually proving to be a bit of a pain.

I could use the automation command and get it all working, but the colour change I wouldnt havea clue. Is this possible with AMC?

Matt

---

<div class="post-metadata">

**Author:** ![JTRTech](https://forum.sambapos.com/user_avatar/forum.sambapos.com/jtrtech/32/21270_2.png) [@JTRTech](https://forum.sambapos.com/u/JTRTech)\
**Post date:** [June 6, 2019, 2:56pm UTC](https://forum.sambapos.com/t/daily-weekly-monthly-cleaning/20184/2 "2019-06-06T14:56:56Z")

</div>

Think tasks would be a better route than entities.  
Could recycle the tasks I guess by adding a range into formatting so it changes back to red once 7 days has passed or something.

---

<div class="post-metadata">

**Author:** ![GreatShakesBar](https://forum.sambapos.com/user_avatar/forum.sambapos.com/greatshakesbar/32/50947_2.png) [@GreatShakesBar](https://forum.sambapos.com/u/GreatShakesBar)\
**Post date:** [June 6, 2019, 2:58pm UTC](https://forum.sambapos.com/t/daily-weekly-monthly-cleaning/20184/3 "2019-06-06T14:58:42Z")

</div>

this sounds good. Can you add tasks as a button then? ive nevergotten into tasks

---

<div class="post-metadata">

**Author:** ![GreatShakesBar](https://forum.sambapos.com/user_avatar/forum.sambapos.com/greatshakesbar/32/50947_2.png) [@GreatShakesBar](https://forum.sambapos.com/u/GreatShakesBar)\
**Post date:** [June 6, 2019, 3:01pm UTC](https://forum.sambapos.com/t/daily-weekly-monthly-cleaning/20184/4 "2019-06-06T15:01:30Z")

</div>

Just swatting up

> [@\[Task Widget Tutorial\] 1. Creating a to-do list](https://forum.sambapos.com/t/task-widget-tutorial-1-creating-a-to-do-list/7433):
>
> :running: You need to install at least 5.1.51 version ##What is a Task? If you’re using SambaPOS for a while you’ve probably wondered how you can use Task feature. A Task is a general purpose to-do like informational data that is useful to manage things we need to keep track of. We need to create a Task Type for each specific use case. For example if we need to create a todo list and another list to track utility bills we can create separate task types to separate these lists. Task Widgets u…

---

<div class="post-metadata">

**Author:** ![Jesse](https://forum.sambapos.com/user_avatar/forum.sambapos.com/jesse/32/61493_2.png) [@Jesse](https://forum.sambapos.com/u/Jesse)\
**Post date:** [June 6, 2019, 3:46pm UTC](https://forum.sambapos.com/t/daily-weekly-monthly-cleaning/20184/5 "2019-06-06T15:46:50Z")

</div>

I’m thinking using.tasks be better.

---

<div class="post-metadata">

**Author:** ![GreatShakesBar](https://forum.sambapos.com/user_avatar/forum.sambapos.com/greatshakesbar/32/50947_2.png) [@GreatShakesBar](https://forum.sambapos.com/u/GreatShakesBar)\
**Post date:** [June 6, 2019, 3:47pm UTC](https://forum.sambapos.com/t/daily-weekly-monthly-cleaning/20184/6 "2019-06-06T15:47:58Z")

</div>

i was just swatting up and my laptop battery died whilst on charge… uh oh.

I closed it and let it charge for a while and will get back to being a swat

---

<div class="post-metadata">

**Author:** ![GreatShakesBar](https://forum.sambapos.com/user_avatar/forum.sambapos.com/greatshakesbar/32/50947_2.png) [@GreatShakesBar](https://forum.sambapos.com/u/GreatShakesBar)\
**Post date:** [June 6, 2019, 4:06pm UTC](https://forum.sambapos.com/t/daily-weekly-monthly-cleaning/20184/7 "2019-06-06T16:06:04Z")

</div>

I cant see how to add tasks without manually adding them in.

I went back to task types and added fields but they dont show?

Edit

Ive swatted up as much as I can see ont eh site but still no clue.

I already have an entity type with all the entities of all of the jobs to be done. Can these be listed in the task lister?

---

<div class="post-metadata">

**Author:** ![GreatShakesBar](https://forum.sambapos.com/user_avatar/forum.sambapos.com/greatshakesbar/32/50947_2.png) [@GreatShakesBar](https://forum.sambapos.com/u/GreatShakesBar)\
**Post date:** [June 7, 2019, 9:42pm UTC](https://forum.sambapos.com/t/daily-weekly-monthly-cleaning/20184/8 "2019-06-07T21:42:20Z")

</div>

Yeah, I’m not getting this.

Is there any more tutorials anywhere? It’s pretty limited

---

<div class="post-metadata">

**Author:** ![gsreddy](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/g/e9c0ed/32.png) [@gsreddy](https://forum.sambapos.com/u/gsreddy)\
**Post date:** [June 8, 2019, 11:12pm UTC](https://forum.sambapos.com/t/daily-weekly-monthly-cleaning/20184/9 "2019-06-08T23:12:21Z")

</div>

I Have a cleaning schedule with triggers it will fire printing kitchen and front for cleaning as well daily checklist when open work period and closed for closing checkups , even I added a staff name to sign make sure that done. this works great even you logout of samba.  
You may setup when payment processed rule something suits you

---

<div class="post-metadata">

**Author:** ![GreatShakesBar](https://forum.sambapos.com/user_avatar/forum.sambapos.com/greatshakesbar/32/50947_2.png) [@GreatShakesBar](https://forum.sambapos.com/u/GreatShakesBar)\
**Post date:** [June 9, 2019, 9:13am UTC](https://forum.sambapos.com/t/daily-weekly-monthly-cleaning/20184/10 "2019-06-09T09:13:50Z")

</div>

I could do that, but I’m trying to make something that’s a little more complex

I can pretty much do it how I want but want the buttons to change colour. This seems only possible with tasks.

I just cant get my head around it

---

<div class="post-metadata">

**Author:** ![JTRTech](https://forum.sambapos.com/user_avatar/forum.sambapos.com/jtrtech/32/21270_2.png) [@JTRTech](https://forum.sambapos.com/u/JTRTech)\
**Post date:** [June 9, 2019, 9:17am UTC](https://forum.sambapos.com/t/daily-weekly-monthly-cleaning/20184/11 "2019-06-09T09:17:17Z")

</div>

Using panel colour in button format should allow colour change on any expression using turary.

---

<div class="post-metadata">

**Author:** ![GreatShakesBar](https://forum.sambapos.com/user_avatar/forum.sambapos.com/greatshakesbar/32/50947_2.png) [@GreatShakesBar](https://forum.sambapos.com/u/GreatShakesBar)\
**Post date:** [June 9, 2019, 9:23am UTC](https://forum.sambapos.com/t/daily-weekly-monthly-cleaning/20184/12 "2019-06-09T09:23:09Z")

</div>

I can get the colour change in the tasks, I’m just confused on how to list them without adding them in manually.

If the job is completed and then work period closed-opened they’re gone

---

<div class="post-metadata">

**Author:** ![JTRTech](https://forum.sambapos.com/user_avatar/forum.sambapos.com/jtrtech/32/21270_2.png) [@JTRTech](https://forum.sambapos.com/u/JTRTech)\
**Post date:** [June 9, 2019, 9:31am UTC](https://forum.sambapos.com/t/daily-weekly-monthly-cleaning/20184/13 "2019-06-09T09:31:50Z")

</div>

That’s using widget presumeably?

---

<div class="post-metadata">

**Author:** ![GreatShakesBar](https://forum.sambapos.com/user_avatar/forum.sambapos.com/greatshakesbar/32/50947_2.png) [@GreatShakesBar](https://forum.sambapos.com/u/GreatShakesBar)\
**Post date:** [June 9, 2019, 9:32am UTC](https://forum.sambapos.com/t/daily-weekly-monthly-cleaning/20184/14 "2019-06-09T09:32:20Z")

</div>

Yeah task lister widget

---

<div class="post-metadata">

**Author:** ![GreatShakesBar](https://forum.sambapos.com/user_avatar/forum.sambapos.com/greatshakesbar/32/50947_2.png) [@GreatShakesBar](https://forum.sambapos.com/u/GreatShakesBar)\
**Post date:** [June 9, 2019, 9:51am UTC](https://forum.sambapos.com/t/daily-weekly-monthly-cleaning/20184/15 "2019-06-09T09:51:20Z")

</div>

![task3](https://forum.sambapos.com/uploads/default/original/3X/2/3/23f167844100f3bcd974c32cc369632e7b53cc48.png) ![task1](https://forum.sambapos.com/uploads/default/original/3X/5/3/530fc53d29ba0cf4dc2ba9cd31fca401741a7eb8.png)  
 ![2019-06-09](https://forum.sambapos.com/uploads/default/original/3X/5/a/5a44629a88faf81c4d54315f1be74c707d5e6069.png)

Am i doing something wrong?

---

<div class="post-metadata">

**Author:** ![JTRTech](https://forum.sambapos.com/user_avatar/forum.sambapos.com/jtrtech/32/21270_2.png) [@JTRTech](https://forum.sambapos.com/u/JTRTech)\
**Post date:** [June 9, 2019, 10:19am UTC](https://forum.sambapos.com/t/daily-weekly-monthly-cleaning/20184/16 "2019-06-09T10:19:04Z")

</div>

There has to be some form of search/filter field?

---

<div class="post-metadata">

**Author:** ![GreatShakesBar](https://forum.sambapos.com/user_avatar/forum.sambapos.com/greatshakesbar/32/50947_2.png) [@GreatShakesBar](https://forum.sambapos.com/u/GreatShakesBar)\
**Post date:** [June 9, 2019, 10:39am UTC](https://forum.sambapos.com/t/daily-weekly-monthly-cleaning/20184/17 "2019-06-09T10:39:14Z")

</div>

There was a field to add tasks but I removed it as I thought maybe they could be added another way?

---

<div class="post-metadata">

**Author:** ![GreatShakesBar](https://forum.sambapos.com/user_avatar/forum.sambapos.com/greatshakesbar/32/50947_2.png) [@GreatShakesBar](https://forum.sambapos.com/u/GreatShakesBar)\
**Post date:** [June 9, 2019, 10:56am UTC](https://forum.sambapos.com/t/daily-weekly-monthly-cleaning/20184/18 "2019-06-09T10:56:56Z")

</div>

Just snapped charger port off my laptop (loose and wiggly) so just gonna solder it back on and get back on it.

Edit

Right laptop fixed, wire snapped off the power plug in laptop! Whole blimmin motherboard removal 😡😡

---

<div class="post-metadata">

**Author:** ![GreatShakesBar](https://forum.sambapos.com/user_avatar/forum.sambapos.com/greatshakesbar/32/50947_2.png) [@GreatShakesBar](https://forum.sambapos.com/u/GreatShakesBar)\
**Post date:** [June 9, 2019, 11:39am UTC](https://forum.sambapos.com/t/daily-weekly-monthly-cleaning/20184/19 "2019-06-09T11:39:12Z")

</div>

Ok, so.

Ive made it so I can add tasks, how do i then make sure theyre kept even when complete and workperiod started again?

---

<div class="post-metadata">

**Author:** ![GreatShakesBar](https://forum.sambapos.com/user_avatar/forum.sambapos.com/greatshakesbar/32/50947_2.png) [@GreatShakesBar](https://forum.sambapos.com/u/GreatShakesBar)\
**Post date:** [June 9, 2019, 11:57am UTC](https://forum.sambapos.com/t/daily-weekly-monthly-cleaning/20184/20 "2019-06-09T11:57:43Z")

</div>

im completely stuck, there is no wiki on it… its greyed out on the wiki page

Here is what I have so far, if someone would be so kind to guide me along that would be appreciated.

I want someone to be able to press the task and then description for it to give an ask question popup to give a description of the job. The complete bit works, but I want it to put the name of the user that completed it within that box if its possible?

They need to reset Daily/Weekly/Monthly depending on the Entity screen (I have 3 set up which are opened from an ask question popup)

Any help would be appreciated, ive been fiddling for 3 days now and it isnt sinking in

Matt

[Next page](https://forum.sambapos.com/t/daily-weekly-monthly-cleaning/20184.md?page=2)
