---

CollapseMetaTable: yes
Groceries: ["🍶 6 bottle(s) Coke 0","🍿  whole Snacks","🧈 2 packet(s) Beurre","🫒  bottle(s) Olive oil","🍺  bottle(s) Beers","🥯  packet(s) Bagels","🍯  jar(s) Bonne Maman","🍌  whole Bananas","🧀  packet(s) Fromage rape","🥩  packet(s) Cured meat","🍐 4 whole Fruit","🍝  packet(s) Pasta","🌶️  bottle(s) Tabasco"]
Health: ["🚿 1 whole shower gel","🧴  whole shampoo","🪥  whole toothbrush","🦷  whole toothpaste","👂 1 whole earbuds","🪒  whole razor blades (mach3)","🍦  whole shaving cream","🧻 1 whole loo rolls","🦨  whole deo"]
Household: ["👔  whole Washing gel","🧻  whole Kitchen towel","🧽 2 whole Sponge","👕  bottle(s) Softener","🍽️  packet(s) Dishwasher tablets", "🧂 1 bag(s) Dishwasher salt","🚰  bottle(s) Dishwasher rinsing aid"]

---

parent:: [[@Life Organisation|Life Orga]]

---

&emsp;

```button
name Save
type command
action Save current file
id Save
```
^button-ShoppingListSave

&emsp;

# Shopping list

&emsp;

```ad-abstract
title: Summary
collapse: open
Shopping list management.
```

&emsp;

```toc
style: number
```

&emsp;

---

&emsp;

### Groceries

&emsp;

```dataviewjs
dv.view("00.01 Admin/dv-views/print_shoppingitems", { items: dv.current().Groceries})
```

&emsp;

---

&emsp;

### Health

&emsp;

```dataviewjs
dv.view("00.01 Admin/dv-views/print_shoppingitems", { items: dv.current().Health})
```

&emsp;

---

&emsp;

### Household

&emsp;

```dataviewjs
dv.view("00.01 Admin/dv-views/print_shoppingitems", { items: dv.current().Household})
```

&emsp;

### Buttons

&emsp;

#### Reset

&emsp;

```dataviewjs
const {shoppingFunc} = customJS
shoppingFunc.resetList({ app: app, dv: dv, that:this, theme: "to0", listOfIt: "Groceries" }) 
```

&emsp;

```dataviewjs
const {shoppingFunc} = customJS
shoppingFunc.resetList({ app: app, dv: dv, that:this, theme: "to0", listOfIt: "Health" })
```

&emsp;

```dataviewjs
const {shoppingFunc} = customJS
shoppingFunc.resetList({ app: app, dv: dv, that:this, theme: "to0", listOfIt: "Household" }) 
```

&emsp;
&emsp;