You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

126 lines
1.8 KiB

---
Alias: ["Shopping list"]
Tag: ["Groceries"]
Date: 2021-10-25
DocType: "Groceries"
Hierarchy: "NonRoot"
TimeStamp:
location:
CollapseMetaTable: Yes
Groceries:
- 🍶 6 bottle(s) Coke 0
- 🍿 1 whole Snacks
- 🧈 0 packet(s) Beurre
- 🫒 0 bottle(s) Olive oil
- 🍺 0 bottle(s) Beers
- 🥯 0 packet(s) Bagels
- 🍯 1 jar(s) Bonne Maman
- 🍌 6 whole Bananas
- 🧀 0 packet(s) Fromage rape
- 🥩 0 packet(s) Cured meat
- 🍐 6 whole Fruit
- 🍝 2 packet(s) Pasta
- 🌶️ 1 bottle(s) Tabasco
Health:
- 🚿 1 whole shower gel
- 🧴 1 whole shampoo
- 🪥 1 whole toothbrush
- 🦷 1 whole toothpaste
- 👂 1 whole earbuds
- 🪒 1 whole razor blades (mach3)
- 🍦 1 whole shaving cream
- 🧻 1 whole loo rolls
- 🦨 1 whole deo
Household:
- 👔 1 whole Washing gel
- 🧻 1 whole Kitchen towel
- 🧽 1 whole Sponge
- 👕 1 whole Softener
- 🍽️ 1 whole Dishwasher tablets
- 🧂 1 whole Dishwasher salt
- 🚰 1 whole Dishwasher rinsing aid
---
Parent::
---
 
```button
name Save
type command
action Save current file
id Save
```
^button-ShoppinglistNSave
 
```dataviewjs
const {shoppingFunc} = customJS
shoppingFunc.getItems2Change({app: app, dv: dv, luxon: luxon, that:this, theme: "to0"})
```
# Shopping list
 
```ad-abstract
title: Summary
collapse: open
Shopping list management.
```
 
```toc
style: number
```
 
---
 
### Groceries
 
```dataviewjs
dv.view("00.01 Admin/dv-views/print_shoppingitems", {items: dv.current().Groceries})
```
 
---
 
### Health
 
```dataviewjs
dv.view("00.01 Admin/dv-views/print_shoppingitems", {items: dv.current().Health})
```
 
---
 
### Household
 
```dataviewjs
dv.view("00.01 Admin/dv-views/print_shoppingitems", {items: dv.current().Household})
```